Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 2: Memory Full - Opening .exe From LabView

Tags:

labview

I'm trying to open a .exe to program a PLC from LabVIEW. I have the .exe included in the project files, it's also included as a source file, so it gets installed within the install directory when installing this tool. The issue is sometimes when opening (and all the time when closing) I get the Error 2: Memory Full error.

enter image description here

Here is a snippet of the what I'm currently doing using the SystemExec.vi included with LabView:

enter image description here

And you can see here that I have the files included in the dependancies (sorry for lines, don't want to show certain .vis and certain file names for client sake):

enter image description here

Let me know if I'm doing something wrong or if there's a better way to launch an external .exe from LabView.

Thanks in advance!

like image 893
biggi_ Avatar asked Jun 15 '16 17:06

biggi_


Video Answer


1 Answers

Try changing your input string to "cmd /c fploader.exe"

Using the System Exec VI is not the same as typing a command into a command prompt; instead, it is like typing a command into the "Run..." window.

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

Edit: Here is how you could create the string command with the complete path of your exe: enter image description here

like image 175
RomCoo Avatar answered Sep 27 '22 16:09

RomCoo