LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing X-scale on StripChart resets graph

Hello,
I was wondering if there is a way to change the x-range on a stripchart without resetting the traces. Currently, I use:
 
SetCtrlAttribute(panel,control,ATTR_POINTS_PER_SCREEN, XRANGE)
 
The only problem is that the stripchart automatically sets the origin at the current time (I am using absolute time scale) and resets the graph. Is there any way to change this behavior, because the only thing I can think of to do is store all of my data in memory and replot everytime the user changes the xscale... which wouldn't work too well due to the large amounts of data I have.
0 Kudos
Message 1 of 4
(3,764 Views)
Hello Baselerd,

I have not found a way to modify the range of a stripchart's x-axis without making the chart redraw the traces.  It seems it must redraw based on the design of the control.  Sorry for the inconvenience.  Have a great day!
Best Regards,
Software Engineer
Jett R
0 Kudos
Message 2 of 4
(3,718 Views)
Alright, well thanks anyway.
Alex
0 Kudos
Message 3 of 4
(3,686 Views)

I've just added a new product suggestion.

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 4 of 4
(3,163 Views)