10-14-2016 09:25 AM
I am trying to run an executable from command line using system execute vi.The executable runs fine but i do not get the standard output string despite turning the Wait till completion field TRUE which has to make the system exec vi return an output string.I am running Labview 2012 on a win 10 machine and working in compatibilty mode .Can anyone suggest what may have gone wrong?
10-14-2016 09:34 AM
Well without seeing your code, we can only suggest things like "try it during a different moon phase".
10-14-2016 09:35 AM
Can you post your code or at least a screenshot?
10-14-2016 09:47 AM
Remember that there is Standard Error and Standard Output. I found a couple of command line programs that would return text as Standard Error, but when you run it in a normal terminal you aren't aware of this, you just see text. So when I care about the output I usually use the Concatenate String to merge the two outputs, not knowing which one that program will return.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-17-2016 05:20 AM
I have wired the command line leaving standard input terminal open.The standard output is connected to response string.
10-17-2016 05:29 AM
10-17-2016 05:33 AM
The concatenate returns the expected output.I was just wanting to know if there is a problem running system exec vi in compatibility mode.To me everything works fine except the system exec vi.Has anyone faced a problem running the system exec vi of LV 12.0 in win 10 yet?
10-17-2016 05:40 AM
10-17-2016 05:47 AM
That is what confuses me.It works on the cmd but does not do on system exec.Well the code gets executed (as seen when I keep cmd open) but does not return anything to system exec while it is supposed to .
10-17-2016 05:54 AM