Hi,
you can set the ATTR_HISTORY_BUFFER of a stripchart and then if you set
ATTR_STRIP_CHART_PAUSED a horizontal scroll bar appears.
So, what i do is first init the strip chart:
SetCtrlAttribute (stripchartPanel, POWER_STRIPCHART,
ATTR_HISTORY_BUFFER_SIZE, 86400);
and on the stripchart panel i create a checkbox. If it is marked i set:
SetCtrlAttribute (stripchartPanel, POWER_STRIPCHART,
ATTR_STRIP_CHART_PAUSED, 1);
the scroll bar appears and you can view history data. Remove the check mark
and set:
SetCtrlAttribute (stripchartPanel, POWER_STRIPCHART,
ATTR_STRIP_CHART_PAUSED, 0);
to get actual data plot.
Greetings from Bremerhaven, Germany
Norbert Rieper
"Ruan B" <x@no.email> schrieb im Newsbeitrag
news:1208349614652-690470@exchange.ni.com...
> Hi,
>
> Is there any way at all to add a horizontal scroll bar to a strip chart?
> Or is there any other way to "scroll" or "view" the data in a strip chart?
>
> Thanks in advance
> Ruan