LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Track mouse up event in 3D Graph with cursor

Solved!
Go to solution
I am trying to track events in a 3D Surface Graph. I need to track mouse down and mouse up on the cursor. Mouse down works fine but when I drag the cursor and leave it, the mouse up event does not get tracked and I have to click the mouse button one more time to catch the mouse up event. Any suggestions?
0 Kudos
Message 1 of 20
(5,411 Views)
For further clarification, if I click the mouse button on the cursor or anywhere on the graph, both mouse down and up events get tracked. But If I click and drag the cursor, or click and drag a plot to rotate it, and then leave the mouse button, the mouse up event doesn't get tracked. Please help!
0 Kudos
Message 2 of 20
(5,407 Views)
Are you releasing the mouse button when the mouse cursor is on the graph? If not, and you set the mouse up event for the graph, the event won't get fired. If you are releasing it over the graph, this may be a bug. Try using the mouse up event for the VI (and not the graph) and see if that helps.

___________________
Try to take over the world!
0 Kudos
Message 3 of 20
(5,396 Views)
Are you releasing the mouse button when the mouse cursor is on the graph? If not, and you set the mouse up event for the graph, the event won't get fired. If you are releasing it over the graph, this may be a bug. Try using the mouse up event for the VI (and not the graph) and see if that helps. If not, I suggest you post the relevant piece of code.

___________________
Try to take over the world!
0 Kudos
Message 4 of 20
(5,396 Views)
I have included a VI with a 3D graph and an event structure. If you click the graph and realease, the boolean indicator shows mouse down and mouse up events. But if I click, drag and release on the graph (to move the cursor or to rotate the plot) mouse down is recognized but not mouse up.
0 Kudos
Message 5 of 20
(5,380 Views)
Looks like you're right. When the 3D graph is in "drag" mode, the entire VI seems not to respond to events at all. This includes mouse up, mouse move, mouse enter and mouse leave. This has happened even after unchecking "Lock front panel...". This seems to be relevant only to user generated (mouse only?) events, as the Value (Signaling) property fires the Value Change event.
Here's an attachment that shows this (7.1). 5 seconds after the VI starts running, the value change event will be fired.

___________________
Try to take over the world!
0 Kudos
Message 6 of 20
(5,366 Views)
I am working with LabVIEW 7.0
Can you please send me the VI saved for 7.0? Thanks!
0 Kudos
Message 7 of 20
(5,363 Views)
Here.
I suggest you report this as a bug (click support on the top of the page).

___________________
Try to take over the world!
0 Kudos
Message 8 of 20
(5,360 Views)
I am seeing the same issue as the original poster, and I am running LabView 8.2.  Has this issue been resolved in more recent versions of LabView?  Any new ideas on how to deal with this problem since it was first posted in 2005?
0 Kudos
Message 9 of 20
(4,932 Views)

Still seeing the same thing in LabVIEW 8.5.  Has anyone found a workaround for this?  I'll have to put my thinking cap on to get around this one as I need to be able to know latitude and longitude after rotating a surface graph using the mouse.

 

Don

0 Kudos
Message 10 of 20
(4,790 Views)