LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor dragging

I have an x-y graph with a cursor. I have two ways to move the cursor: one is by dragging and the other one is by clicking a scroll bar that will send the value to the Cursor.PosX property node. Scroll bar is for fine adjustments. My problem is, if I drag and move the cursor, it will not set the value to the scroll bar, so it will move back to wherever the scroll bar value is at. If I can find a way to let LabVIEW detect the dragging action, then I think I can set the new position to the Cursor.PosX property. I couldn't find any properties there to do this kind of job. Any one can give some advice about how to work around this issue? Thanks in advance,

 

Guangde

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

Hi Guangde,

 

I have posted a example on our community site that should demonstrate what you are trying to do.  Basically we need to update both scrollbar and graph based on a change to either.  I will give you a call in a little bit to make sure this is what you were looking for.  

Sincerely,
Jason Daming
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 2
(2,758 Views)