03-14-2020 10:14 PM
Hi
I made a labview "hello.vi", using system exe.vi module. When I run , no result come out from standard out, Please help me to find out what I am wrong?In this program, I am using comand line to call python to execute "hello.py". it should print out "Hello World". Thanks
03-15-2020 07:25 AM
Make sure your Working Directory is set to the folder where your python script is. You might also want to look at the Standard Error output as I have seen functions only output there.
03-16-2020 07:19 PM
I have another VI name Sys_exe.vi, this one call another .exe file ( this exe file is created from sumofn.vi). When I run Sys_exe.vi it executed sunofn.vi but the standard output from Sys.exe is nothing. Please help me
03-16-2020 11:57 PM
I have a labview "hello1.vi", in this block diagram I am calling another vi by using command line. When I run this vi, standard output is nothing (it should come out"hello world". please help
03-17-2020 12:12 AM
Why do you think having a VI that puts text in a string indicator would cause that same string to be output to a command prompt when you call it using system exec?
03-17-2020 04:56 AM
I don't know if this solves it, but it do send a message to StdOut.
/Y
03-17-2020 08:17 AM
Do you know how to fix this VI? I have a project call Vi get the result from this VI call
03-17-2020 08:21 AM
LabVIEW is a graphical application which displays data in its window, it is not like an old school DOS program which outputs to the command prompt. That said, there seem to be some ways that appear to be a hack that can put data to a standard output DOS prompt. But you'll have to google for that. When I did, I had some hits, but I don't have the time or desire to test them out.
Before you do down this road too far, it is time to ask what are you REALLY trying to do? Funneling data out of a DOS prompt is so archaic, I'm sure there are much more modern methods to accomplish what your actual goal is.
03-17-2020 09:47 AM
If the point of the thread is to call a python script, there's a Call Python node. 🙂
/Y