LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to zoom in/out function in realtime graph chart?

Historical Trend work ok. but doesn't work zoom in/out(Mouse Action, Keyboard Action) realtime graph chart.

 

any other solutions?

0 Kudos
Message 1 of 7
(5,624 Views)

Hi,

 

CVI has three types of graphs: xy graph, strip chart, digital graph. I assume you refer to the strip chart. To my knowledge, even if the documentation is somewhat imprecise, zooming and panning work only for the xy graph, and here only provided that the graph control is set to a mode other than indicator.

 

 

0 Kudos
Message 2 of 7
(5,614 Views)

Dear Wolfgang

 

No. Use a XY Graph Chart, Implement realtime chart. any other solution?

0 Kudos
Message 3 of 7
(5,606 Views)

Hi gosis,

 

Please try following: right click on the XY Graph border and select Visible Items>>Graph Palette from the context menu, to enable the Graph Palette which will contain the Zoom In/Out tools.

 

XY Graph zoom.JPG 

 

I hope this helps.

 

Regards,

Barna Dobai

National Instruments 

0 Kudos
Message 4 of 7
(5,549 Views)

Hi dobarni,

 

your answer seems to relate to LabVIEW...?

0 Kudos
Message 5 of 7
(5,545 Views)

dobarni

 

i want labwindows/CVI example. 🙂 

0 Kudos
Message 6 of 7
(5,513 Views)

Dear gosis,

 

 As Wolfgang said, there is no zooming function in Charts in CVI. Zooming feature is only available for Graphs. On the following link you may find an example code that is using a graph, so you can have its features(zoom, cursors...),but it acts as a chart(scrolls like a strip chart):

 

http://sine.ni.com/devzone/cda/epd/p/id/1141 

 

The problem is, that this was implemented in CVI 6 and does not work in 2009 due to some linking errors, still it's a good starting point that you might check.(First comment out the lines the linking errors correspond to)

 

Hope it helps!

 

Best regards,

 

David Varga

Applications Engineer

NIH

0 Kudos
Message 7 of 7
(5,459 Views)