NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Expressionedit Control - Doesn't return to labview in edit of custom step.

I am using a custom step type for TestStand.  I have a Labview VI with an "TestStand UI ExpressionEdit Control" for the edit of the custom step type.  The VI is set to be dialog and it is Modal.  If I run this VI and use the ExpressionEdit Control, when I click done on the window this control pops up, it returns to TestStand and leaves my Labview VI (which is modal and a dialog box) sitting in the background.  I have to click back on Labview to get it to return.  I have tried lots of different things with changing modal to floating and/or changing the "Modal to active window" on the control.  Nothing seems to work.
 
Any ideas.
 
-kc
0 Kudos
Message 1 of 4
(3,326 Views)
You said that you currently setting the window to modal.  My guess is that you are currently setting the LabVIEW VI properties to make the VI modal.  This is correct, but you will also want to include the TestStand subVI's "Start Modal Dialog" and "End Modal Dialog" around your LabVIEW code in the edit VI.  Both of these VI's can be found under TestStand in the functions palette.  The "End Model Dialog" vi has an input called "VI originally open" if you wire a false to this terminal the front panel will close.

Message Edited by Dillon G on 09-27-2007 11:55 AM

0 Kudos
Message 2 of 4
(3,322 Views)

Hi,

Check out the modal example in the teststand\examples folder.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 3 of 4
(3,301 Views)
The suggestion is working perfectly thankyou.
0 Kudos
Message 4 of 4
(3,291 Views)