LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

top priority of timeout in event structure.

Solved!
Go to solution
Solution
Accepted by topic author labmaster

As mentioned, Dynamic (or User) Events can be used to make a simple, effective timer.

This image is a snippet of the attached file "Simple User Event.vi":

Simple User Event_BD.png

The attached file "UTO plus Mouse.vi" has a User Timeout (with timing check) and it tracks the mouse position.

 

Add a queue to the timer loop get more functionality. For example changing the timing.

A programmable event generator is another option for this structure. 

 

--------------------------------------------------------------------------------------------------------------------------
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
--------------------------------------------------------------------------------------------------------------------------
Download All
0 Kudos
Message 11 of 12
(314 Views)

Thanks Knight.

 

Your comment is very helpful.

 

Regarding other question,

If a user stop the movement of mouse, the analysis result is updated  on the lastest point by sending a command to the consumer loop from

mouse move event but from timeout event.

 

Frankly, my application has been enough with timeout loop because any other input parameter was block for a measurement.

However, I figured out mouse movement on plot can be consumed so much.

 

labmaster.

0 Kudos
Message 12 of 12
(296 Views)