From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-18-2018 03:22 AM
In the report there is a possibility to turn data layer on/off in the View menu. Is there a possibility to do the same in DIAdem script? (DIAdem 2015)
I tried recording a macro, but it did not recognize this command.
Solved! Go to Solution.
09-18-2018 09:37 AM
Hi David,
There is a setting in the REPORT panel that causes it to only refresh the data layer when you click the refresh icon. There is no corresponding setting in the VIEW panel that I know of, but you can try the following 2 commands, which cause the data layer to refresh less often. It will still refresh when forced, for example, when a cursor is moved, etc.
View.AutoRefresh = FALSE UIAutoRefresh = FALSE
Brad Turpin
DIAdem Product Support Engineer
National Instruments
09-19-2018 12:48 AM
Sorry, I wanted to replicate the REPORT functionality of turning of the data layer. Is there a way to check/uncheck the 'data layer' in the REPORT panel using a script command?
09-20-2018 02:32 PM
Hi David,
The variable I can find in modern DIAdem versions is:
PicUpdateOnObjChange = 0
Assigning a value of 0 will only redraw the object that was changed, not all the objects on the same sheet as the object that was changed.
I'll check if Walter knows the data layer variable,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
09-21-2018 01:28 AM
Hi David,
Currently we don't have a script command for switching REPORT layers on or off. We will discuss in R&D whether we can support this in one of the next DIAdem versions.
Greetings
Walter
11-09-2018 09:56 AM
I would like to see this feature added. I have built a script that changes the colors of a group to be "no color" and "no markers" to get a similar effect.