LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Moving cursor to Zoomed Position in waveform graph

Solved!
Go to solution

Hello

 

I have 2 cursors in my waveform graph and I would like to have the cursors move to the zoomed in position of the graph when I zoom in or out of the graph. Could some please tell me how to do it. Thankyou in advance

 

Regards

Pratheek

0 Kudos
Message 1 of 9
(2,858 Views)
Solution
Accepted by topic author pratheek

There is a scale range event that fires when either of the scales are changed. Put logic there to reposition the cursors within the zoomed area as needed.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 9
(2,834 Views)

HI Mike

 

Thanks for the reply. When I apply the logic to reposition the cursor in the scale range event only one cursor is moving to the zoomed in position. The other cursor remains out of  graph scale. I tried to repeat the same logc but it didn't work.  Could you please tell me how to get the 2nd cursor also in to the scale range. Sorry i'm fairly new to labview. I have attached the pic of what I tried.  Thankyou in advance

 

Regards

Pratheek

0 Kudos
Message 3 of 9
(2,818 Views)
You have to first write to the active cursor property.
Message 4 of 9
(2,812 Views)

Hi Dennis

 

Is this the correct way ? even this is not workiing 😞

 

Regards

Pratheek

0 Kudos
Message 5 of 9
(2,808 Views)
You have to write first to the active cursor before writing the new position. Your write is in the wrong place.
Message 6 of 9
(2,800 Views)

Got it....... Thanks alot

0 Kudos
Message 7 of 9
(2,796 Views)

The thing to remember is that property nodes are one of the few places in LV where physical position matters. Property nodes always "execute" from top to bottom.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 8 of 9
(2,777 Views)

Hi mike

 

Thanks for pointing it out.......i really don't have any idea about this point

0 Kudos
Message 9 of 9
(2,761 Views)