02-11-2013 07:51 AM
Hi
I have one loop which is constantly aquiring data from my device, and I have another loop (event) which one of the events is using the same device.
What I'm looking for is a way to stop the aquiring in the first loop, wait for it to finish its iteration and then start the event
someone?
02-11-2013 08:08 AM
Hi,
Notifiers or semaphore are a good way to talk between parallel loops.
-CC
02-11-2013 08:23 AM
What are you doing in this event?
Another option is to use a queue to send the event information down to the DAQ loop. When you get a message, perform the operation. If you don't, behave as normal. This is also a good way to tell the DAQ loop to stop.