NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enter the data to the labview code at run time while executing as a sequence in testatand

Hello
I am new to the Teststand.
I am using labview8.0 with teststand 3.1
I have developed some labview codemodules as vi's without using the teststand utility library pallete
 
Now i have to run them in teststand.
While executing them(as a sequence) in teststand,i need to enter the data to the labview code at run time.For this labview front panel should appear as GUI or popup (while executing).Is it possible to do this without using teststand pallete.
or i need to change the code with teststand pallete(i think it is difficult now to change the code)
 
Plz provide a solution to this problem
Also one more,how and where to use the 'pass by reference' option
 
Thanks and Regards
  Mudigondla
0 Kudos
Message 1 of 6
(3,604 Views)

Hi,

You dont have to use the teststand palatte, especially if you can pass all your inputs  and outputs via the connector pane of your VI.

Have a look at the manual, 'Using TestStand with LabVIEW', that should help you to specify a VI code module. Run through some of the examples. Also look at some of the examples in the teststand\examples folder.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,603 Views)

 

hi ray

i searched the examples given with the teststand.But all that vi's are only with the teststand pallete.so i doubted that the GUI will appear only if we use the teststand pallete.but i dont get the correct reason.

regards

mudigondla

0 Kudos
Message 3 of 6
(3,598 Views)

Hi,

The trouble with a lot of the examples, is they originated from TestStand 1& 2 and therefore have the legacy inputs and outputs. But there are a few new ones.

You Should beable the set the control, 'Show VI Front Panel When Called' in the Edit LabVIEW VI Call.

Providing you are not expecting to interact with the teststand engine during runtime, then you can pass all your data via the main VI's connector pane. See Chapter 2 of Using LabVIEW with TestStand.

If you do need to interact, then look at Chapter Appendix B - Using the TestStand ActiveX APIs in LabVIEW. Everything you need comes from the ActiveX Palette.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 6
(3,593 Views)

hi

plz suggest how to make "the data entered  to the labview vi's (i.e.,steps in the sequence) and the  resultant data from the steps" appear in the report generated.

suppose iam entering the array of bytes to one of the step and collecting array from some other step.i need the both the data printed on the final report generated.

regards

mudigondla

0 Kudos
Message 5 of 6
(3,565 Views)
Hey Mudigondla,

There are several different ways to include new results into the TestStand reports. Part of it depends on what type of report you are wanting to create. However, I have listed some links below that detail how reporting works in TestStand, and these documents also detail how to modify the report and add new results.  Hope this helps!

Understanding and Modifying Result Collection - this link has an example at the bottom that should be helpful

Report Generation Explained


Pat P.
Software Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,539 Views)