LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use a DOS command prompt to trigger an event in a running VI

While a VI is running displaying data on the screen, a second Windows program should control the timing of a read (file writing) of the VI. The Windows program has the ability to generate DOS command lines at specified times. I would like to create a while loop to control file generation of the VI but am not sure how to interface the DOS generated command with the VI
0 Kudos
Message 1 of 3
(3,213 Views)
Try System Exec.vi - It's located in the communication subpalette of the Functions palette.
0 Kudos
Message 2 of 3
(3,213 Views)
You can enter the command:
labview.exe trigger.vi

Set trigger.vi to "Run when Opened". trigger.vi is not your running VI but uses a notification (or other messaging mechanism) to tell your running VI that the other application has triggered the event.


LabVIEW, C'est LabVIEW

0 Kudos
Message 3 of 3
(3,213 Views)