LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to keep checking for a change at one digital port while another is putting out a buffer. However, if a change does occur at the "input" Digital port I'd like to stop the output buffer and restart a new trial... How can I

A possible solution to this (one I would use anyway) would be to use the synchronization functions (Functions/Advanced/Synchronization in LabVIEW 6i) for Semaphores, Notifications, or Occurences.

Setup the buffer output and port checking in seperate while loops. Then setup a semaphore to send a message from one loop to another (use the "Get Semaphore Status" vi).

Alternatively, you could setup a global variable that both loops would check periodically.
0 Kudos
Message 2 of 2
(2,460 Views)