From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

terminating a process in system exec via ctrl+c

Solved!
Go to solution

I am running a process in command window which is invoked by system exec. The only possible way to terminate and get back to the main command window is via Ctrl +c. How do I implement it?

 

ANy idea ...

RY
0 Kudos
Message 1 of 2
(2,540 Views)
Solution
Accepted by topic author VEEDAY

I solved it... was quite easy.

 

Create a numeric constant corresponding to the ctrl-key, convert it as U8 and type cast and use the string output and paste in the command prompt. 

 

Works good ...

RY
0 Kudos
Message 2 of 2
(2,530 Views)