LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Output message in command prompt

I would like to run my LabVIEW EXE in command prompt.  After the execution of the EXE is done, I want it to output some speciific message in command prompt.  How do I do that?

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 4
(3,599 Views)
What exactly is it that you are trying to accomplish?

You can certainly call a LabVIEW-built executable from a command line, but the executable can not natively return something when it finishes.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(3,554 Views)

Try this VI, build an exe, and run it. The application will open another command window however. I could not figure out a way yet how to output values to the very same command prompt...

 

test1_BD.png

 

or maybe here you find a trick:

http://forums.ni.com/t5/LabVIEW/How-to-send-a-command-to-an-already-open-command-window/td-p/2101410

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

Can you write a batch file to run LabVIEW, and display a message when LabVIEW exits ?

This way you can display the message in the same DOS window.

 

 

George Zou
0 Kudos
Message 4 of 4
(3,497 Views)