02-17-2009 10:31 AM
Hello,
I have a programming question. I am trying to pragmatically open a program through LabVIEW. That is all. I am using the system exec.vi, sending the name of the program to be opened in the command line, and the working directory. However, I get an error message saying
"Error 2 occurred at System Exec.vi. Command was "USDLCDServer_multiple"
Possible reason(s): LabVIEW: Memory is full NI-488: Write detected no listeners.
Please help. Thank you in advance. I attached the simple program I wrote.
02-17-2009 10:51 AM
02-17-2009 10:54 AM
Gerardo09 wrote:...
"Error 2 occurred at System Exec.vi. Command was "USDLCDServer_multiple"
Possible reason(s): LabVIEW: Memory is full NI-488: Write detected no listeners.
...
You will get that message if you do not pass a properly formed command line.
I suggest you first determine the proper syntax required to invoke your program from a DOS prompt and then try it with the sysyexec.
Note: File specs that include a space should be enclosed in quotes since the space is seen as a delimiter.
Ben
02-17-2009 11:18 AM
02-17-2009 01:07 PM
Venky,
can you please save that vi u wrote for LV 8.0. I cannot open it in 8.6 as you wrote. THANK YOU VERY MUCH.
Gerardo.
02-17-2009 01:12 PM
02-23-2009 08:58 AM
Hello Gerardo,
Were you able to get your VI working? Ben was right, it is an issue of passing commands with the correct syntax. Please let us know if you are still seeing the error.
Regards,
Anna K.