NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand simple UI using Labview

Solved!
Go to solution
Highlighted

Hello,

 

I am customizing the Teststand simple UI using Labview. I would like to replace the sequence files combo box command and the open sequence file button by a string ring (that contains the sequences names and their paths as value). I also want to run the sequence that is selected (using an value change event on the string ring).

 

I have not been able to do it, the UI always runs the sequences selected by the sequence file combo box. Can you please help me with this issue?

 

Thank you!

0 Kudos
Message 1 of 4
(311 Views)
Highlighted
Solution
Accepted by topic author Hind

Hello Hind

 

Maybe this snippet will help you to open the sequence file.

OpenSequenceFile.png

 

To start the sequence automatically you can use the 'DoClick' method for the entry point button.

DoClick.PNG

Best regards,

Chris

 

0 Kudos
Message 2 of 4
(260 Views)
Highlighted

Hello Hind

 

When modifying the way the TestStand UI works, particularly when not changing what the UI does but how it does it.  I have always found it easier to move the control(s) I don't want out of the viewable area (so the user can't see or interact with them) then I add my new control(s) in.  That way I don't break any UI code.  Then all I do is add code to make my new control(s) interact with the now hidden controls.

 

You end up with some hidden things but you get the benefit of all of the NI testing of the UI and also the code to interact with the hidden controls is usually quite simple (SetCtrlVal, DoClick etc.)

 

Steve

0 Kudos
Message 3 of 4
(256 Views)
Highlighted

Hello,

 

Thank you all for your support. In fact the event on my list control was working, I just forgot to close the sequencefile reference.

 

0 Kudos
Message 4 of 4
(182 Views)