LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System Exec.vi to handle 'press any key'

Hello,

 

I'm sending some commands to a microcontroller programmer via the System Exec.vi.

But this *.exe file I use waits for "press any key" at the end. This halts the execution in system Exec.vi.

Is there any way I can implement a CR in using the System Exec.vi?

 

(I'm using Labview 8.6)

0 Kudos
Message 1 of 4
(3,204 Views)

Hi,

the System Exe.vi has an entry "Wait Until Completion" that is true if not wired. If false, your Labview program won't be paused.

It doesn't solve the wait for "press any key", but this allow to run you command in Labview without waiting for nothing...

 

Hope it helps you.

 

Regards,

V-F
0 Kudos
Message 2 of 4
(3,137 Views)

Hi

 

Maybe you can try this?

 

Like:      echo. >> yourexefile.exe 

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 3 of 4
(3,127 Views)

You can also see if the example I posted here will help. Message 8 contains a follow-up examples where you can send text to the command window.

0 Kudos
Message 4 of 4
(3,094 Views)