NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

NI teststand stop question

Solved!
Go to solution

   I use teststand to make a auto testing system,and I want to teststand just run one time,but every time when I excute a sequence file ,it popup a  dialog that asked to enter UUT serial number,the testmodel which T used is   SequentialModel.Seq  .when I modify the SequentialModel.Seq,it does not popup the dialog aggin,but it will run until I break it by click the button.my question is:

 how can I rewrite  the SequentialModel.Seq,my sequencefile just run one time. thank you!

0 Kudos
Message 1 of 5
(3,873 Views)

Hi,

 

You need to use the Single Pass entry point as this does one run only then stops.

The Test UUT's entry point, which is what you seem to be using, is design to run in a loop allowing the user to enter a new serial number of a new UUT to be tested. Now you have stopped the dialog box from being displayed means you can no longer press the stop button which sets a boolean thus exiting the main test loop and finishing execution.

 

hope this helps

regards

RAy Farmer

Regards
Ray Farmer
Message 2 of 5
(3,867 Views)
It's not a good way ,When user using your system,He want to just click run and wait to result,
0 Kudos
Message 3 of 5
(3,864 Views)
Solution
Accepted by topic author sean_tan

Hi,

 

[how can I rewrite  the SequentialModel.Seq,my sequencefile just run one time. thank you]

 

I responsed to your question how to rewrite the SequentialModel for your sequencefile to run once.

I responsed by saying, "use the Single Pass" - this already does what your require - that is run once.

Single Pass does not display a dialogbox asking for a serial number and has no UUT loop therefore will not come back and ask for another serial number.

 

Are you using the Test UUT's entry point because you require the user to enter a serial number?

 

Regards

Ray Farmer

Regards
Ray Farmer
Message 4 of 5
(3,858 Views)
I know,thank you,the problem is solved perfectly
0 Kudos
Message 5 of 5
(3,830 Views)