10-05-2009 07:30 AM
I'm using LabVIEW 2009, and I've modified the Calling System Exec.vi (found in the \examples\comm). I added a tab and in that tab I call various openssl command-line calls. I was able to perform the "openssl dgst -sha1 file.txt" just fine, then it stopped working. Instead, now I get the dreaded Error 2 with possible reasons of (1) LabVIEW: Memory is full, or (2) NI-488: No Listeners on the GPIB.
Every so often, the call will work, but I have no explanation. These are some of the files. One is from the Tools:Profile:Performance and memory. The other is the VI and the error png. Any help would be appreciated.
10-05-2009 07:43 AM
10-05-2009 08:19 AM
10-05-2009 08:28 AM
To troubleshoot, try to host an OpenSSL session on your D:.
10-05-2009 09:27 AM
04-21-2011 10:17 AM
I too getting error code 2 now and don't have a way to fix this, LV2010. In my case, a file is FTPed from an instrument to the working PC, then sysexec gzip command is issued to unzip the file. Unziping fails and the indicator error cluster reports error 2. Below is a paste. I am using Windows XP also Vista. I worked fine in the paste now is consistent reporting error 2. Does anyone know how to work around this?
"
Error 2 occurred at System Exec.vi. Command was "gzip\gzip.exe -vdf data.ps.gz"
Possible reason(s):
LabVIEW: Memory is full.
=========================
NI-488: No Listeners on the GPIB.
"
04-21-2011 10:32 AM
OK I fix the problem myself. the sysexec commands needs the full path (not relative path) when issuing the command. It needs c:\gzip\gzip.exe... not gzip\gzip.exe...
![]()