04-23-2018 08:52 AM
Hello,
if i change the value of a variable direct in the StationGlobals by opening the StationGlobals then there is a * symbol in the Tab.
But if i do the same change with a Statement StationGlobals.testing = 1 then there is no *.
Why this?
Thanks
Solved! Go to Solution.
04-25-2018 09:01 AM
The * comes about when there is an IncChangeCount. I'm assuming that when you edit StationGlobals manually it adds that IncChangeCount to the file. However, doing it dynamically doesn't. Here is reference to the TestStand help with more information: https://zone.ni.com/reference/en-XX/help/370052R-01/tsapiref/reftopics/propertyobjectfile_incchangec...
Hope this helps,
04-25-2018 09:09 AM
Hi OnlyOne,
This is an expected behavior. Manual changes in Sequence Editor will display the *, programmatic changes will not. Both kinds of modifications will be saved when exiting the Sequence Editor.
04-25-2018 09:13 AM
It is recommended to call IncChangeCount before saving the file.