05-18-2016 04:17 PM
Does anyone know if it is possible to write to STDOUT from a Labview EXE when run from a Windows console? I don't mean calling an external EXE from within my Labview code using System Exec.vi and getting the stdout from the external exe returned to Labview but rather running my Labview EXE as a console application in itself and have the Labview application output a final Pass/Fail result to the stdout of the console.
I found this post which gives a way to accept command line arguments but I have not found a clear cut method to write to stdout...
http://digital.ni.com/public.nsf/allkb/17C3AD70493CE0208625666A00763364
I found this thread out on the LAVAG.org site but unfortunately I forgot my password to my account and my account was under an old email address that I no longer have access to in order to reset it. I tried creating a new account but it is not allowing me to register a new account. There seems to be a solution to it on the 2nd page of the thread but due to the fact I can't login to the site I can't download the solution to try it out.
https://lavag.org/topic/11719-running-a-labview-exe-from-the-console/?page=2
aaronb
Solved! Go to Solution.
05-18-2016 04:25 PM - edited 05-18-2016 04:26 PM
I do not know what you are trying to do, but I found the file you mentioned on the LAVA forums and thought it might be helpful for you if I uploaded it here. This is not my code, this is from the poster smenjoulet on the LAVA forums.
05-19-2016 12:47 AM
No comment on the STDOUT issue, but I did start a thread on LAVA for the other issue - https://lavag.org/topic/19622-unregistered-users-cant-download-or-apparently-register/
05-19-2016 03:11 AM
05-19-2016 10:31 AM
Yea I sent a message to the LAVA forum admins about it. Weird...
05-19-2016 10:43 AM
Awesome blog write up mikeporter!