11-17-2015 10:57 AM
Hello,
I have modified a UI in LV to run a testing sequence in Teststand. The sequence runs fine and the report gets made too but I am having a tough time getting some indicators on the UI to change depending on where the program is in the execution of this sequence file. If i am to run the program with the lightbulb I'll see that I get error 97 when I try to access the values which I wish to continuously query (err 97 means a previously used refnum was deleted). I'm guessing that the issue is that I haven't properly set up the "Sequence Context Refnum" or I simply am trying to query it at the wrong point in the LV execution.
Any help would be appreciated and thanks in advance!
Sebastian
11-17-2015 12:13 PM
11-17-2015 12:38 PM - edited 11-17-2015 12:47 PM
Sorry Dennis for not being clear. I am using the "simple UI" given as a user interface in the Teststand public docs linked here and I wanted to modify it such that an LED would light up on the front panel after each subsequence got executed in a sequence file that I always call.
In my sequence I have a set of local variables with their respective names being: Locals.Done_Gen_Test, Locals.Done_T2, Locals.Done_T3 and Locals.Done_MasterTest each representing their own subsequence. When each one of those subsequences is called those boolean values I just mentioned change to true (from their default false).
What I am wondering is can this be accomplished with the simple UI, how can I implement this/ what am I doing wrong?
Regards,
Sebastian Fiorini
11-17-2015 02:00 PM
11-17-2015 04:25 PM
Although you didnt say much if I followed a tutorial (loosely) on ui messages and was able to create events to solve exactly this, thanks so much den!