LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stack overflow in call system Exec.vi

Solved!
Go to solution

Hi,

 

I have on dos application which i am calling for specific task through command line input to system exec.vi .. problem i am geting is crash of dos application without finishing the task.. i checked with vi output and it says stack overflow.. then i run it manually by calling same command line in command prompt.. it run well throughout ..

 

Any suggestion to improve ? why any task which is geting executed in manul call in command prompt is geting crashed when calling through LabVIEW ?

 

Thanks

- HS

0 Kudos
Message 1 of 3
(2,416 Views)

Hello H S,

 

It seems some method calls in an executable cause the exe to crash. You may be able to resolve it by removing certain functions such as the clear console command in case it is part of your code which you used to create the exe.

 

You may want to take a look here.

 

Regards,

Navjodh

0 Kudos
Message 2 of 3
(2,400 Views)
Solution
Accepted by topic author H_SH

Hi Navjodh,

 

finally i removed the system exec.vi and using dot net container with invoke node... so my problem is fixed for now Smiley Wink

 

Thanks

- Himanshu

0 Kudos
Message 3 of 3
(2,388 Views)