07-20-2009 02:22 AM
Hi,
I added a step "call executable" in teststand.
I made a "Add.exe"[For adding two numbers]using labview.(Input is given by a simple numeric control and output is given to a numeric indicator in "Add.exe".)
I browsed "Add.exe" in the "Call executable" step of teststand.
How can I automate "Add.exe" using the step "Call executable" in teststand.
Automate means
1.Could you please tell whether we can given inputs[To "Add.exe"] using any step\variable in teststand.
2.Whether we can varify the out put of 'Add.exe" is correct or not by using any step\variable in teststand.
Thanks.
07-21-2009 03:45 AM
Hi,
it is not that simple to give inputs to an exe.
try using a dll instead of that. it is much more simple.
07-21-2009 03:53 AM
Hi,
I tried using dll.
But I also want to know whether it is possible[If "yes" how] for a simple exe.
[1.Whether possible to given input through teststand.
2.Whether possible to check the output is correct or not through teststand].
Please replay.
Thanks.
07-21-2009 04:03 AM
1. As far as i know it is not possible to give input to an exe in the same manner you give an input to dll or a labview VI.
2. This you can do through the 'pass fail test' steps.
07-21-2009 04:15 AM
Hi,
1.Select the step "Call executable".
2.In step settings pane select the tab "Call executable".
Could you please explain what is the use of the field "Argument expression" in the "call executable" tab.
Thanks.
07-21-2009 06:27 AM
The field is for passing arguements to the exe. You need to write a LabVIEW VI that will accept arguements for use as variables. I don't have LabVIEW here right now but if I remember correctly, one of the examples explains how to do make the modifications.
And I agree, using an exe is not as easy as using a VI or dll.
07-22-2009 03:34 AM
Hi,
No need to do with Labview.
Could you please illustrate an example with a simple exe like calculator of windows.[By adding two numbers and check whether the output is correct or not].
Thanks.
07-22-2009 06:43 AM
07-22-2009 02:05 PM