10-13-2014 06:21 PM
Hello
I have displaying problem for strip chart. I set up x-axis as continuous mode.
I updates the data by using "PlotStripChart(DisplayHandle,Chart[idx].chartCtrl,PlotBuf[idx],2,0,0,VAL_FLOAT);".
It is not happend not always but sometimes the chart looked pause and resumed again with gaps.
If I observed it closely, the values of chart change very slightly. But X axis label is not changing and strip chart is not shift to left to show new data.
CPU usage is looked okay. I think it happenes more often for stable data.
Do you have any idea why this is happening?
Thank you,
Momo
ps. I tired the multithread program and gave up for synchronizing issue.
Solved! Go to Solution.
10-14-2014 06:17 PM
Hi Momo,
How much data are you trying to plot to the Strip Chart? Also, how many traces are on the chart? Could you also let us know which version of LabWindows/CVI you are seeing this behavior in?
I know it may be difficult to convey, but feel free to include screenshots of the gaps you're seeing in the data.
-Myriam
10-15-2014 01:53 AM
Also, how many graphs are on the panel? 'Cause I see that [idx] on control ID that makes me think there are more of them. Are you updating all the strip charts at a time? Do you observe this phneomenon on all charts or on one of them only?
10-15-2014 10:11 AM
Yes, I have maximum 12 strip charts with 2 traces in a panel and also have a function changing scaling of y axis.
I agree that I used them too much.
After simplifying the scaling of y axis, the behavior is much better.
My version is CVI/2013.
Thank you for reply.