09-29-2011 09:14 AM
I am trying to set up a station global on the fly in test stand. The variable that I want to set up is a number. If it already exists I want to do nothing. I am trying to use the StationGlobals.NewSubproperty. These are the properties I am passing in StationGlobals.NewSubproperty("Test", PropValType_Number, False, "999999", PropOption_DoNothingIfExists) but it does not work. Any help would be appreciated.
Solved! Go to Solution.
09-29-2011 09:48 AM
It worked for me with the following:
StationGlobals.NewSubproperty("Test", PropValType_Number, False, "", 0x4)
Not sure what the 999999 you had is doing? Also, I used 0x4 instead of the Property Option. Seems more stable to me.
Hope this helps,
09-29-2011 10:27 AM
Thanks !!