rrojas Posted February 10, 2005 Report Share Posted February 10, 2005 All, I have a couple of VIs that I have converted into executables. These executables I am attempting to call from another VI using the System Exec.vi. Unfortunately, the calls work only some of the time on my XP machine. I get the following error (Error code 2): Possible reason(s): LabVIEW: Memory is full. --- NI-488: Write detected no listeners. Moreoever, here's a twist. I can place a File Dialog VI on the block diagram and feed the path it produces after I select my executable into the System Exec.vi and it seems to always work. Below I have an example of the two setups I use (the top setup, the File Dialog created path, always works; the bottom setup, constant path, sometimes works): So I'm left wondering, is there something about the path that I'm feeding System Exec that may cause it some problems?? I really have no idea and would appreciate any help. :headbang: Thanks. Quote Link to comment
didierj Posted February 10, 2005 Report Share Posted February 10, 2005 See this topic: labview and VisualC++6 --> do not break your path into root and file, but just feed the whole to the command line input. Dunno why, but should work better. Didier Quote Link to comment
proximableu Posted March 7, 2005 Report Share Posted March 7, 2005 Dont forget "command.com /C" before your command! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.