NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Why no "changed" symbol in StationGlobals when changing via Statement?

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(1,285 Views)
Solution
Accepted by topic author OnlyOne

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,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 4
(1,255 Views)

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.

Best Regards,
TK
Certified LabVIEW Architect (CLA)

Message 3 of 4
(1,254 Views)

It is recommended to call IncChangeCount before saving the file.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 4 of 4
(1,251 Views)