ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

system exec - memory full error

Hello,

I am calling an executable (written in Dev C++)using the system exec VI. Frequently, it reports an error - Memory full , NI-488 detected no listeners. Currently, I try to get around this by exiting Labview, opening it again, and compiling the code again. Then, when I execute, it works correctly. However, the error seems to be occurring more and more often. I am using Labview 7.1 on Windows XP SP2. Does anybody have an idea how to fix this problem?

Thanks.
0 Kudos
Message 1 of 3
(3,485 Views)
This error normally occurs when trying to run a command prompt window specific command such as dir or set. To run these commands, execute the command prompt window first with the following command:

cmd /c

For example, to run the DOS command dir, use the following string as your command line input into System Exec.vi:

cmd /C dir C:

Hope this helps!

Kileen
Message 2 of 3
(3,459 Views)
Thanks Kileen. I called NI before you replied and they said the same thing. That does indeed work. Really do appreciate your help.

Gurudev
0 Kudos
Message 3 of 3
(3,435 Views)