DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

cursor interaction while playing

hello,

 

I am using DIADem 2012 Advance Edition.

 

1) I need the possibility to move the cursor and zoom the graph.

 

2) a situation when im starting to play the graph while zoomed in, the graph is playing and when the cursor passes the bounds of my zoomed graph it keeps playing but the graph isnt scrolling with the cursor.

 

thanks and waiting for reply

0 Kudos
Message 1 of 8
(5,496 Views)

Are you looking to create this functionality in a script?

Ian M.
National Instruments
0 Kudos
Message 2 of 8
(5,476 Views)

Hello,

 

Yes, i would like to do this functionality in a script first.

 

Does it possible to do it just from the view tab?

 

thanks

 

0 Kudos
Message 3 of 8
(5,469 Views)

I'm not exactly sure what functionality you are looking to get but if you set the cursor window on a graph and then press the "Scroll in Cursor Range" button then when you perform the playback the viewed window will continue to scroll with respect to the x scale. Attached is a picture of the button I am referring to.

Ian M.
National Instruments
0 Kudos
Message 4 of 8
(5,452 Views)

thanks it's working,

 

but why can't i see the cursor running on the graph while i'm running him?

 

 

0 Kudos
Message 5 of 8
(5,408 Views)

In order to have the window scroll with the graph you are using a band cursor which only specifies a width of the viewable window and not a specified point. So what you are seeing isn't a specific point cursor but a windowed "band cursor."

Ian M.
National Instruments
0 Kudos
Message 6 of 8
(5,393 Views)

hi,

 

it could be possible to run the graph in some place that i zoom in and still the cursor running on the graph and the graph also continue moving like in band cursor?

0 Kudos
Message 7 of 8
(5,389 Views)

I think the best way to do this would be to have two 2D Axis Systems on one view panel with the same data for each 2D axis system. Set the band cursor, curve cursor and coordinates functions all on. Set the band cursor in the top 2D axis system to be the zoomed window you'd like. Then select the Scroll in Cursor Range for the bottom 2D axis system. When you run this, the top window will show the band cursor scrolling along the data lines with a red circle that is tracing the curve while the coordinates window shows what the xy coordinates are at the circled point. This might be a good middle ground for what you're looking for. I've attached a picture for clarity.

Ian M.
National Instruments
0 Kudos
Message 8 of 8
(5,369 Views)