LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cwgraph scrollbar

Hi,

I'm working on Labwindows CVI FULL 6.0 and Win2K.

I have a lot of data to plot, between 100000-300000, I can't not approximate, I really need all my data, but I can't plot all on a graph, so I would like to know if its possible to add a scrollbar in the bottom. and do not forget that I'm using an ActiveX control (CWGraph). Does anyone know if its possible and how ?

Thank you,
0 Kudos
Message 1 of 3
(3,037 Views)
The ActiveX Control graph doesn't have an integrated scrollbar. You could use the CVI custom control scrollbar (toolslib\custctrl\scrollbar.fp) to keep track of the buffer and control the plot. The other option would be to setup numeric controls to control the range of view. Then you could type in the X value range you want to view and replot with that range of data.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(3,037 Views)
Even though you cannot (easily) add a scrollbar to the bottom of the graph, the CWGraph has built-in panning capabilities which will allow you to pan (or scroll if you will) your graph in any direction: XY, X-axis or Y-axis. You can configure your graph to have panning enabled in the Property Pages (under the Graph tab >> Track Mode) or programatically.

The result is very similar to having a scrollbar since you'll be able to review past data.

Regards,

Azucena
NI
0 Kudos
Message 3 of 3
(3,037 Views)