LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 2 occurred at System Exec.vi.

Solved!
Go to solution

Trying to copy a 4kB PRN file to a USB printer shared as LPT2.  The command "copy /B ggg.prn LPT2" works fine from a cmd prompt but gives Error 2 when wired to System Exec.vi.  It suggests memory is full but the sysexec call is literally the only thing in the VI.  I restarted the laptop (Win 7-32, LV 2011, 4GB Ram, Dell E6410) and re-ran the VI before starting anything else --same result.  Tried putting the command in a BAT file and calling that -- same result. The VI and the prn file are saved in the same directory.

 

 

0 Kudos
Message 1 of 2
(3,468 Views)
Solution
Accepted by topic author Zwired1
Message 2 of 2
(3,463 Views)