Error 2: full memory - opening .exe from LabView

I am trying to open .exe for PLC programming from LabVIEW. I have a .exe included in the project files, it is also included as a source file, so it is installed in the installation directory when installing this tool. Sometimes the problem occurs when opening (and closing), I get Error 2: Memory Full error.

enter image description here

Here is a snippet of what I'm doing right now using SystemExec.vi included in LabView:

enter image description here

And you can see here that I have files included in the dependencies (sorry for the lines, do not want to show specific .vis and specific file names for the client):

enter image description here

Let me know if I am doing something wrong or if there is a better way to run an external .exe from LabView.

Thanks in advance!

+5
source share
1 answer

Try changing the input line to "cmd / c fploader.exe"

Using System Exec VI does not match entering a command on the command line; instead, it is like entering a command into the "Run ..." window.

See here: http://digital.ni.com/public.nsf/allkb/EA1600EBA422E97286256AA20073C616

Edit: this is how you could create a string command with the full path of your exe: enter image description here

+5
source

All Articles