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: 

Inserting commands in to system exec vi

Hi, 

 

I want to insert multiple commands in  the same cmd window. I use system exec vi but  i don't manage to get it work.

So, I have 10 command to be inserted in my cmd windows and for first I insert  5 command and after I receive a  trrigger from an external device (It could be last 5 or 10 seconds or more),  the remained  commands need to be inserted in the  same cmd window.

Attached you will find  how I aborded  the problem so far, maybe somebody can help me.

 

Regards,
Vlad

 

 

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

Put them in a batch file and then call the batch file with the systemexec.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 4
(3,083 Views)

Hi,

 

It wont help me, because i dont need to send all the commands at same time in the same cmd window.

As I said in the first post, I need to send in the first instance a number of commands and after a specific time (waiting for a trigger) another commands in the same cmd window.

 

Thank you.

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

A batch file can do that and it is really the only way you are going to be able to use the same systemexec window for multiple commands.

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 4
(3,068 Views)