LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Execute command line is very slow when runtime engine

Solved!
Go to solution

Hi,

 

I would like to execute a  command line by system exec. vi, and when I execute in development environment that cost about 80 ms. But when I build EXE and execute in runtime environment, it cost 36 seconds.

 

Did I do something wrong?

0 Kudos
Message 1 of 5
(3,243 Views)

Here is my source codeaaa.PNG

0 Kudos
Message 2 of 5
(3,215 Views)

Does the command succeed after 36 sec or fail? Maybe you could output the output and error info, and maybe also not minimise the window, just to see what happens.

Certified LabVIEW Architect
0 Kudos
Message 3 of 5
(3,199 Views)

You could also try disabling UAC temporarily to see if that alleviates the problem. And like Thols mentioned, check the STD out and ERR out for messages.

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 4 of 5
(3,177 Views)
Solution
Accepted by topic author LiaoPH

Thanks everyone for gave advice.

I had try to enable/disable UAC and still not work. Finally that is  IT of our company locked something like UAC...

0 Kudos
Message 5 of 5
(3,139 Views)