LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically register “mouse move” event for a VI

Just as in the example ”Dynamically Register for Events.vi” I want to dynamically register a “Mouse Move” event. I use the “Open VI Reference” to get the reference to the VI and I connect it to the “Register For Events” block just as in the example. When I click the block I get a list of events to choose from, but the “mouse move” event is not one of them. How do I select this event?

 

I have got the program running by copying the “Register For Events” block from the example and into my program, but I’m interested to know how this should have been done.

 

I use LabView 8.0

0 Kudos
Message 1 of 3
(3,524 Views)

I dont have 8.0 installed yet but this works for me in LV7.0, I wire the open vi reference into the register event and DO get the "mouse move" option for the events. 

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 3
(3,506 Views)
I've had the same problem in LV 8.2.1 and 8.5. I found that NI changed how to access the mouse move... it's now available under "Pane." See my attached example, a modified NI Example.

Derek
0 Kudos
Message 3 of 3
(3,276 Views)