LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When running System Exec.vi in Labview for linux, I get a non-zero return code.

I wrote a program in C that compiles and excutes normally from a linux shell. I used the System Exec.vi to excute the program from linux, and I get a return code of 139, and the program doesn't run. What does this mean?
0 Kudos
Message 1 of 2
(2,583 Views)
Hello,

I have two suggestions for you. First, try calling a shell file from System Exec, where that shell file simply calls your executable...see if that works. If not, then try running System Exec with any other executable and see if that works. If it does, your exe may have some permissions issues that don't allow it to be called from within another program.

I hope one of these suggestions helps with your problem. Good luck, and have a pleasant weekend.

Sincerely,
Darren N.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,583 Views)