Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

CSR Graph is not displayed in Overview mode.
#1
CSR Graph is not displayed in Overview mode.
Problem:
CSR Graph is not displayed in Overview mode.


Summary
This happens for Resmed machines that don’t have a CSR chart in the Overview display range when OSCAR is opened when the display range is changed using arrow keys or the overview range combo box. This problem continues until OSCAR exits and re-opens.
Resmed AirSense 10 AutoSet from March 2015.


Code inspection showed that this problem may not occur for PB charts (intellipap_loader, and prs1_loader) , but has not been tested.
This problem occurs for all versions of OSCAR tested - v1.1.0-release, v1.1.1, v1.2.0, OSCAR v1.3.1, and OSCAR 1.3.5-alpha.0


Reproduce problem.
The problem was first encountered when I had a CSR event older than 3 months old, and the pinned CSR chart did not appear in the Overview mode. Using the custom range selection different condition were used to verify the problem. The problem occurred with v1.1.0 and other versions so the detail investigation was needed.


Software funcationality.
Overview is responsible for selecting a universal set of charts to be displayed, and then removes the chart if the display range for the chart is empty. This works for Zombie, BMI, and Weight charts. The removed charts are not the chart selection combo, so that the USER does not know about them.
The resmed loader, only creates EventList with a real CSR event. The lack of a CSR EventLists for the 1st opening of overview causes the problem. The other loader create an empty EventList when the are no PB events. The problem is solved with the Resmed Loader always creating a CSR EventList.


Changes.
There is a one line in the resmed loader that fixes the problem, and does not have any risk.
Attempting to solve the problem by any other mechanism would be risky.
The change is ready to deliver.


Any suggestion or thoughts or next steps?


LoudSnorer
LoudSnorer
Post Reply Post Reply
#2
RE: CSR Graph is not displayed in Overview mode.
Do you have any CSRs being reported in the Daily screen? If not, it won't be displayed until you do. On the other hand, if you do have them, and it isn't being displayed in the Overview, then look in the lower right of the Overview screen and make sure the CSR graph is checked. One other place to check. Look in the File > Preferences > Events and make sure the 3rd listing down, Cheyne Stokes Respiration, is checked in the Overview column.
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
RE: CSR Graph is not displayed in Overview mode.
If I understand it correctly, the problem occurs when you display an Overview chart for an interval that has no CSR spans..., and then change the interval to a span that does have one or more CSR spans. The new Overview display does not include the CSR spans.

The proposed solution is to always create an empty CSR event list. I'd like to think about the ramifications of that.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#4
RE: CSR Graph is not displayed in Overview mode.
You are correct. The overview display range does NOT reference any day that has CSR.
However, when the display range is set to include those days (ei everything), CSR is still not displayed in the overview.
LoudSnorer
Post Reply Post Reply
#5
RE: CSR Graph is not displayed in Overview mode.
(02-07-2022, 07:05 PM)pholynyk Wrote: If I understand it correctly, the problem occurs when you display an Overview chart for an interval that has no CSR spans..., and then change the interval to a span that does have one or more CSR spans. The new Overview display does not include the CSR spans.

The proposed solution is to always create an empty CSR event list. I'd like to think about the ramifications of that.

Other loaders, seem to  always use an PB event list and it will be empty when there are no  PB events. The intellipap_loader.cpp initializes the PB event list along with many other events, such as largeLeak, Snore,ClearAirway, etc...
LoudSnorer
Post Reply Post Reply
#6
RE: CSR Graph is not displayed in Overview mode.
Are you familiar with git? If so, you can create a fork of the repo, make your change in your fork, then propose a merge request that we can review. It sounds like you've tracked down the issue and know how to fix it.

See https://gitlab.com/pholy/OSCAR-code/-/bl...IBUTING.md for more details.
Post Reply Post Reply
#7
RE: CSR Graph is not displayed in Overview mode.
The solution is in LoadCSL. Instead of initialising the CSR variable to nullptr, call AddEventList(...); and then comment out the test for CSR further down.

Is this what you would propose?
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#8
RE: CSR Graph is not displayed in Overview mode.
The suggest solution does not solve the real issue that also impacts more than just CSR.


Problem
*CSR pinned on overview tab disappears on the first paint.

Cause
*Charts are automatically permanently disabled for charts that are initially empty
*This problem impacts any chart that is enabled in File => Preferences.

Details
*gGraph does not display layers (paint) when the layer is empty.
*gSummaryChart (layer) initializes empty to false and calculates empty during painting.
Causing empty charts to be permanently disabled.
*Once a chart has been displayed, it will always be displayed even if empty.

Solution
*Enabled painting charts when the DayRange is increased, triggering the empty flag to be recalculated
New non-empty charts will now be permanently displayed
*Overview maintains the largest DayRange used and list of empty charts.
*Overview receive these signals and calls recalculates when largest DayRange is increased.
*gSummaryChart implement recalculate method.
*gSummaryChart implement emit signal when empty flag changes.
*gGraphView implement emit signal when day range changes. (XBounds)

**** IMPORTANT MUST Rebuild makefiles.****
*Remove two Makefiles and execute qmake. (works for linux version).

Changes have been submitted.
LoudSnorer
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OSCAR Overview Line Graph Jan Flikweert 7 63 11 hours ago
Last Post: LoudSnorer
  Oscar question - flow rate graph not showing kkjacks 7 261 03-23-2024, 11:12 AM
Last Post: kkjacks
  Viatom/WellUE data is different than OSCAR displayed data GordK 3 326 02-23-2024, 04:48 PM
Last Post: GordK
  New software version doesn't view properly, wide screen mode? piratekitty 3 396 02-10-2024, 08:38 PM
Last Post: LoudSnorer
  Wrong Equipment Displayed During Oscar startup Aknakon 4 524 01-18-2024, 07:32 PM
Last Post: Crimson Nape
  OSCAR 1.5 , permissive mode vs. clinical mode JCW888 8 1,230 12-06-2023, 09:03 AM
Last Post: PappaJoe
  Adding charts to Overview? bstabens 1 437 11-24-2023, 08:32 AM
Last Post: pholynyk


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.