NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand sequence load window in LabVIEW OI

Hi guys,

 

I'm trying to modify the simple OI from TestStand, and I succeeded in most cases. However, I'm stuck with one problem...

 

When I start a sequence (Press the Single Pass Button), the sequence takes some times to load (between 5 -20 sec for sequence of 500+ steps). I would like to have some feedback to the user when this loading is happening.

 

I tried some things, like intercepting the button pressed, but if I do this, the sequence won't launch anymore. My main problem is to catch the moment the button is pressed, as I already have an indication if the sequence is running. (I could stop on that event)

 

Has anyone a solution for this "cosmetic" problem?

 

Thanks a lot

 

Matthieu 

0 Kudos
Message 1 of 2
(3,212 Views)

Mathieu,

 

i hope that you are familiar with the concept of UI Messages. Otherwise, you should definetly get familiar with it and, a fear, you have to change some things in your UI.

Nevertheless, TestStand sends an UI Message if starting an execution. The description of the UI Message states:

UIMsg_StartExecution–(Value: 10) TestStand sends this message when an execution begins. This message serves to notify the user interface to update its display accordingly.

You capture this message using a callback on the UIMessageEvent. This will inform you when the button "Single Pass" or "Test UUTs" has been hit.

Since you want to "turn off" something when the execution is running, you have to send a custom UI Message to inform your UI "that the execution is now executed". This should be a step in e.g. an override of the Process Setup-Callback....

 

hope this helps,

Norbert

 

PS: Maybe, it is more prudent to use UIMsg_StartFileExecution–(Value: 18) since the UIMsg_StartExecution is also generated for the frontend sequences namely LoginLogout..... 

Message Edited by Norbert B on 10-29-2009 07:28 AM
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(3,184 Views)