09-24-2008 10:39 AM
Does anyone know how to build a VI in LV8.6 that will allow a user to edit instrument settings without sending them when placed in a TestStand sequence and then execute them (send the command from the edit step) during the sequence run? Would I generate a command string within the VI and pass it to a specific type of variable in TestStand? If the VI is not actually running in edit mode, how to I get the string out....or is Or actually running in edit mode? I was thinking there must be some way for TestStand to know if it should store the results of the configuration or send them to the instrument based on the current state being edit mode or run in the test sequence. As per some previous suggestions, I am studying the IVI variables in TestStand, but was wondering if anyone has done this before and could provide some pointers.
Thanks,
Skidsteer
09-25-2008 12:55 AM
Hi Skidsteer,
I did this in my stepType written in C++.
ftp://ftp.ni.com/pub/branches/germany/vip_days_sessions/teststand_step_type-mtu-dodek.pdf
To dectect were i am, i have used the SequenceContext Object and checked if there is
Execution Object. If yes you are in a running sequnce, if not then you are in Editor.
By the way all you need is the SequnceContext in your VI
Hope this helps
Juergen