NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Input and Output flow from executable to NI Teststand

Hi,

 

I have a *.exe file generated from Labview and which has inpu 'x' and 'y', output 'z'. I wanted to pass these inpyts 'x' and 'y' to teststand and get the output from 'z' when the executable is called.

 

Please provide me the solution for this.

 

Many Thanks

Haneef

0 Kudos
Message 1 of 4
(3,675 Views)

Hi Haneef,

 

You have to use the Call Executable Step Type and I think you will find an example in the TestStand Examples folder supplied with TestStand.

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,671 Views)

Hello Ray Farmer,

 

I have seen the examples, where in I found how to pass the inputs to the TestStand from the executables.

 

But my requirement is, I have a executable with one input button say 'OK'. I will use this executable in NI TestStand, the TestStand should not execute farther to next step until and unless 'OK' button has been made to invoke from the executable.

 

The intension here is to control the flow of execution using executable.

 

I guess you are clear with my doubt. Please try to help me as I am learner to this kind of scenarios.

 

Many Thanks

Haneef

0 Kudos
Message 3 of 4
(3,648 Views)

You could either use the return value, or stdout to pass back to testand's call executeable step type whether or not OK was pressed. Please look at the settings on the call executeable step type's panel and you will likely see what you need.

 

I would suggest that rather than using an executeable, that you instead call the LabVIEW VIs directly from TestStand as that way you will be able to pass data in and out more easily, but it is up to you.

 

Hope this helps,

-Doug

0 Kudos
Message 4 of 4
(3,634 Views)