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-30-2005 02:48 AM - edited 09-30-2005 02:48 AM
However, the change only takes effect when TestStand is restarted, and does not show up in the StationOptions dialog (until a restart). Using the dialog, I can change the setting while stepping through a sequence, and it takes effect immediately, so there must be a way to do this from within a sequence.
How do I "refresh" TestStand's "copy" of the variable?
Thanks
(I am using TestStand 2.0.1.)
Message Edited by Jan0 on 09-30-2005 02:50 AM
09-30-2005 03:12 AM
OK, I have solved my immediate problem.
Shortly after posting the original message, I came across the Engine property, AlwaysGotoCleanupOnFailure, which seems to be identical to changing the station option manually (via the dialog).
My question still remains: How would I change this (or another) station option, if I didn't find a direct property or method to change it?
10-01-2005 03:51 PM
Jan,
What Version of TestStand are you using?
I assume you are using the TestStand API.
You can get a reference to the StaionOptions Object from the Engine.
Engine.StationOptions
Gets a reference to the StationOptions object.
Use the StationOptions object to set preferences for your TestStand station. Station option settings affect all sequence editor and operator interface sessions that you run on your computer.
Check TestStand Help.
Usin this reference you can access most of the options present in the station options dialog.
I hope this helps.
10-03-2005 02:48 AM