06-04-2009 10:55 AM
Hello everybody,
I'm new on the TestStand forum and I have a question for my project.
I need to make a test sequence with several sub-steps: Barcode reading, Data reading, Data analysis etc... and all these steps in a "For" or "Do... while" loop under TestStand.
Before doing the loop, I want to create a "global HMI" step using labview, with on the front panel, the status of each sub-steps. I need to update the status of each sub-step after their execution.
The sequence TS is:
Step Action Labview: HMI.vi (display front panel when calling vi)
Loop for
{
Barcode reading
Data reading
Data analysis...
}
That's why I need to keep the front panel of "HMI.vi" always open to updated /display the status of each sub-step. (something like colors of a LED). I doner 't want to call the HMI.vi after each sub-step.
I understood it's a multi-threading process and the reference of HMI.vi should always be active during all the "for loop", but I don't how to keepthe reference.
Could you please kindly show me how to do it under TestStand (verstion 4.1) with LV (7.1).
Many thanks in advance,
06-04-2009 08:35 PM
06-05-2009 07:25 AM
Hello Jervin,
Thanks a lot for your time.
I tried the solution with:
Call Subsequence HMI with HMI.vi
While
{
Update HMI
My sub-steps
Simulate (time interval 0,015s)
}
End of sequence.
However, I don't really understand the expression "RunState.Thread.PostUIMessageEx (10200, Locals.Progress, "TestProcedure", Nothing, False)
Could anybody tell me what it means?
And how I could update more than one value on my HMI (for the status of each sub-step)? They should be "global variables", right?
Many thanks again for your help!
06-05-2009 07:45 AM