07-19-2006 11:37 AM
07-20-2006 03:33 PM
07-20-2006 03:55 PM
Hi Dweiland,
Thanks for the info! What I'm really trying to do is initiate 2 variables (An Excel filename & root directory = Strings) in a TestStand Sequence BEFORE the main sequence is run (if possible). I have all of the .vi files completed and everything works great! However, I want to use the separate OI I'm working on to specify different excel files before running any uuts,etc. I cant access local variables if TS isn't running (obviously 🙂 ), so I've been trying to send the strings to StationGlobals instead. The only other thing I can think of would be to write the filename to a text, then read it into TS one the UUT control button is preseed.
I'll look into the UIMessages you mentioned and go from there. If you have any further suggestions, please let me know!
Thanks Again,
BK
07-21-2006
02:37 PM
- last edited on
07-24-2025
12:18 PM
by
Content Cleaner
Hi Bk,
StationGlobals will most likely work. A couple of other thoughts - if the reason you want to do this before you MainSequence is because you need to use those variables within your MainSequence - you might want to consider doing this in either the Setup step group of your main sequence, or if that's not early enough - using Process Callbacks to set the variables before the MainSequence Callback is executed.
You can find out some more information at the following KB, as well as Chapter 10: Customizing Process Models and Callbacks within the TestStand Reference Manual.
http://digital.ni.com/public.nsf/websearch/E9BA6B7ABE026D7086256FD4005C0F7A?OpenDocument
Have a good one Bk!