Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66777

Is there a way to schedule an event to occur in the future?

$
0
0

I am looking for a generic way to schedule events which are triggered in the future (in LabVIEW without using DAQ).

 

I already have a way of scheduling future events but it uses a polling thread to keep an eye on the list of times and execute the events and maintain the list. To get higher time resolution it would have to run faster although most of the time there are no events in the queue.

 

(An 'event' in my queue is currently a cluster of a future time and a boolean control reference).

 

What I would like to do is queue events (could be user defined events) so that they can be posted at future times without a process having to poll for them.

 

If I make my polling event wait (e.g. using the ms Timer) then it can't wake up do deal with an event which was queued later but required to be posted sooner.

 

Any clues?


Viewing all articles
Browse latest Browse all 66777

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>