NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass a value from another application to Test Stand?

Hi,

 

I am new to TS.  I am trying to pass a value to TS, a value that return from application called EggPlant, I don't know how. 

If any one using the same application as me, please help.

 

Thx

0 Kudos
Message 1 of 8
(3,919 Views)

We would need more information to answer your question. Generally TestStand calls code modules (DLLs, VIs, ActiveX servers) and then receives values back when the module finishes execution.

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 8
(3,914 Views)

I am using Call Execute command to call another application (eggplant).  I know that eggplant return the value, but I don't know how to get that return value.

 

Thanks.

0 Kudos
Message 3 of 8
(3,911 Views)

If you're using a Call Executable step with a newer version of TestStand (2010) you can assign the Stdout return value from the executable to a variable by using the Standard Output/Error tab. I don't recall if it is possible to get Stdout in earlier versions.

CTA, CLA, MTFBWY
0 Kudos
Message 4 of 8
(3,909 Views)

we are using 4.2 version. Is this comparible?

0 Kudos
Message 5 of 8
(3,906 Views)

Do you have that tab when you click on a Call Executable step? If so, then you're good.

CTA, CLA, MTFBWY
0 Kudos
Message 6 of 8
(3,904 Views)

In the DOS window the ERROR LEVEL is 1 (when I run Call Executable).  However, in the TS Exit Code Failure Condition: "Set status to failed if exit code == 0" and the program ALWAYS exit.  Is there something that I need to set inorder to get the value.

 

Thx 

0 Kudos
Message 7 of 8
(3,902 Views)

continue from the previous question:

In the Call Executable cmd, there is a Standard Input tab (I read the value in from a file); how do I verify the value from the Standard Input is store in the correct parameter?

Like wise, if you can show me how to verify the value that return from Call Executable.

 

Thanks

0 Kudos
Message 8 of 8
(3,899 Views)