LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CWGraph Yscale does not match values

Did you guys notice that if you draw a line let's say all values set to 12.4 (float) in a CWGraph. The Y scale 12.4 have an offset with the line, I mean its not matching. Their is a good error introduced in the reading, why ? is this because of the autoscale ?

Thank you,
0 Kudos
Message 1 of 2
(2,804 Views)
I have not been able to reproduce the behaviour that you are seeing. I took the graphs project from \samples\usrint\ changed the left axis on the plot to autoscale and 10 division, and changed the data point generation code to read:
/** Generate some random data first **/
for (i=0; i<100; i++)
datapoints[i] = 12.4;

Run it, plot it, and it's right on.

Do you have any more specifics or reproducing this? Did following these steps clarify anything?

Regards,
Amaury R.
-NI Applications Engineering
0 Kudos
Message 2 of 2
(2,804 Views)