Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Wait on Occurrence

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Waits for the Set Occurrence function to set or trigger the given occurrence.

Note  National Instruments encourages you to use the Notifier Operations functions in place of occurrences for most operations.

Examples

ms timeout is the specified amount of time, in milliseconds, for the occurrence to occur. If the occurrence does not occur within the specified ms timeout, the function returns a value of TRUE. If ms timeout is –1, the function does not time out.
occurrence is the occurrence refnum that links Wait on Occurrence and Set Occurrence.
If ignore previous is TRUE and another node has set the occurrence before this function began executing, the function ignores the previous occurrence and waits for another one.
timed out is TRUE if the occurrence does not occur within the specified ms timeout. If ms timeout is –1, timed out is FALSE.

Examples

Refer to the following VIs for examples of using the Wait on Occurrence function:

  • labview\examples\general\occurrence.llb\Generate Occurrence.vi

     

  • labview\examples\general\occurrence.llb\Continuously Generate Occurrences.vi

     


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit