ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sand Box has stopped working error when using System Exec.vi with wait until completion is true

I get the following error message in Windows 7 "Sand Box has stopped working" when using System Exec.vi with wait until completion set to true, if I set it to false there is no error message.

0 Kudos
Message 1 of 8
(3,328 Views)

Hello JJVerdi

 

Is this error related to the Cryengine sand box?? If you can you give us more info about your application??

 

Regards

 

Mart G

0 Kudos
Message 2 of 8
(3,313 Views)

Hi Mart,

 

The program downloads a hex file to a piece of equipment through an RS485 serial port. I did not write the program but if there is specific information you would need I can ask the software engineer.

 

Joe  

 

0 Kudos
Message 3 of 8
(3,304 Views)

Hi Mart,

 

This Sandbox has stopped working error message does not appear if I run the software standalone or if I call it using System Exec.vi with wait until completion set to false but I cannot get any feedback from the software if it passes or fails.

0 Kudos
Message 4 of 8
(3,293 Views)

Hello JJVerdi

 

mmm well System Exec.vi simulates a DOS command window, can you run the sandbox from the cmd window using the same commands without any errors? 

 

you may take a look to this KB, it may be related to your issue:

 

http://digital.ni.com/public.nsf/websearch/2393462BD57B854186256C4F007B706A?OpenDocument

 

Regards

 

Mart G

0 Kudos
Message 5 of 8
(3,285 Views)

Hi Mart,

 

The program works fine from the command line.

 

Joe

0 Kudos
Message 6 of 8
(3,279 Views)

Hi Mart,

 

I tried win16stub.exe and no luck.

 

Joe

0 Kudos
Message 7 of 8
(3,265 Views)

I don't think that KB is quite the issue you are dealing with.

 

Are you using an antivirus software that sandboxes applications? 

0 Kudos
Message 8 of 8
(3,252 Views)