Support Board
Date/Time: Fri, 29 Nov 2024 10:24:03 +0000
Post From: SetStudyVisibilityState flakiness?
[2023-02-18 23:36:23] |
User275839 - Posts: 61 |
Hello - Note: This is in SC v.2480, using the remote build facility to generate the study DLL. I have a simple ACSIL custom study that places a custom button in the control bar to let me toggle a study's visibility by clicking the button. I am finding that calls to SetStudyVisibilityState(int StudyID, int Visible) don't appear to stick. To test, I put a check using GetStudyVisibilityState() before and after the call to SetStudyVisibilityState to verify the visibility state of the study. Before state = 1 Call SetStudyVisibilityState with 'Visible = 0' After state = 0 However, the study is still shown on the chart, and the "hidden" checkbox for the study is unchecked. So, the ACSIL calls are reporting one thing, but the Sierra UI is showing the opposite. Is there something else I have to do to make the visibility toggle call take effect? Thank you! |