ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect Dial Needle finished value changing?

Solved!
Go to solution

Hi all,

 

Is there any way of detecting when a Dial Needle has finished changing value?

 

I'm trying to create a VI to request a bearing change.

 

I don't want to swamp the control unit with a request for each change in the Dial Needle so I'm using Mouse Events.

 

I can use Dial: Mouse Up and Dial: Mouse Left to request a new bearing change.

 

However, you can still move the Needle when it is outside the Dial, which does not result in a bearing change request.

 

I've attached my VI and any help would be gratefully appreciated.

 

Phill

0 Kudos
Message 1 of 3
(2,841 Views)
Solution
Accepted by topic author tadders
How about just detecting the events and updating the indicator.  I've added "Pane: Mouse Up" to update the indicator if the mouse leaves the dial before dropping the needle.  This'll add a nuisance update when the Pane: Mouse Up occurs due to something other than a needle move, but you can detect that by checking for a change in Bearing Dial value.

dial test_BD.png
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 2 of 3
(2,815 Views)

Thanks Jim, just the job!

 

Phill

0 Kudos
Message 3 of 3
(2,799 Views)