01-10-2011 11:57 PM
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
01-11-2011 01:07 AM
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.
01-11-2011 10:21 PM
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
01-12-2011 10:02 AM - edited 01-12-2011 10:04 AM
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