From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom User Interface - How to use native string control to trigger each test and pass serial number

Picture 1

1.png

 

Picture 2

2.png

 

This is the one Custom User Interface which I modify from one demo, now, what I want is don't show the message box (picture 2) , just use the string control ( show "11111111" & "22222222" on the picture 2) to check the serial number length and  trigger each test separately, and also pass each serial number to teststand variable, thanks!

0 Kudos
Message 1 of 7
(4,315 Views)

Not sure if I undarstand correctlly but if you don't whant to display your UUT Information widnow (picture 2), than you need to overwrite Pre Batch Callback (if you use Batch Model) in your sequence. Use your custom window (from picture 1). In sequence use Parameters.ModelData.TestSockets[Locals.Index].UUT.SerialNumber to store your serial number. Before you pass this data you could check it with, for instance, with Len() function in some Statement step. Batch Process Model will control each socket separately.

Michał Bieńkowski
CLA, CTA

Someone devote his time to help solve your problem? Appreciate it and give kudos. Problem solved? Accept as a solution so that others can find it faster in the future.
Make a contribution to the development of TestStand - vote on TestStand Idea Exchange.
0 Kudos
Message 2 of 7
(4,286 Views)

Yes, I don't want to show the picture 2, thanks for your suggestion, Is threre some demos to show the details for that? thanks!

0 Kudos
Message 3 of 7
(4,247 Views)

Check those examples:

http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/multiuut/

http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/process_model_preuut_postuu...

http://zone.ni.com/reference/en-XX/help/370052N-01/tsexamples/infotopics/process_model_prebatch_post...

Michał Bieńkowski
CLA, CTA

Someone devote his time to help solve your problem? Appreciate it and give kudos. Problem solved? Accept as a solution so that others can find it faster in the future.
Make a contribution to the development of TestStand - vote on TestStand Idea Exchange.
0 Kudos
Message 4 of 7
(4,243 Views)

Although I want to find a specific demo, but there are still some help, thank you all the same.

0 Kudos
Message 5 of 7
(4,222 Views)

Hi, from where did you get Teststand user interface Demo that you modified!

0 Kudos
Message 6 of 7
(3,083 Views)

Hello , I am trying to load and run  the Teststand sequence in LabVIEW Native Controls . Could you share the source code. Thanks 

0 Kudos
Message 7 of 7
(1,829 Views)