Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

SYS_EXEC to call another labview application

I have a standalone application that was built in lv61. The application brings up a interface and begins an initialization routine. I do not have access to the back diagrams. I would like to use the application in a larger program. When I call the application using a batch file and sys_exec, I get the error "Labview: memory full or NI-488: Write detected no Listeners".

Please advise
0 Kudos
Message 1 of 5
(4,046 Views)
towerhii,

Does this happen even if the System Exec.vi is the only VI on the block diagram? Are you using LabVIEW 6.1 to build your larger application? Can you provide a picture of what the System Ecex.vi section of code looks like? How much memory do you have in your system? What operating system are you using? How big is the executable you are calling? It sounds like you are calling a batch file which then calls the LabVIEW executable. Can you just call the LabVIEW executable directly?

Thank you for answering these questions to provide more information on this issue. Right now, I do not think I have enough information to answer your question well. I tried to do what you described (running a LabVIEW executable from the System Exec.vi in another VI, but I got
no errors).

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 5
(4,046 Views)
Randy,
When I put a sys_exec vi and wire it up to run notepad, everything works fine. I am using 6.1 to build my larger application. My system has 1.5 gb of
ram. I am using windoze2000. The exe I am calling is
775kb. I tried calling the exe directly, and I get the same error message. I do not know what version of labview the application was built using, However it is using the 25 runtime engine.
fyi...
0 Kudos
Message 3 of 5
(4,046 Views)
here is the exe i'm trying to run
0 Kudos
Message 4 of 5
(4,046 Views)
towerhii,

I ran your executable in LabVIEW 6.1 just as your picture described and I had no memory errors. I would suggest installing the LabVIEW 6.0.2 Run-time Engine on your system as well and see if that fixes your issue. Those are the two Run-time engines I have installed on my system as well as the VISA 2.6 Run-time engine.

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 5 of 5
(4,046 Views)