LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

getplotattribute, argument too small

cvi8.1

 

float value;

 

 

I call GetPlotAttribute (panel, control, chplothandle[x][y], ATTR_PLOT_YDATA, &value); and get error FATAL RUN-TIME ERROR:   "x:\...\Informer Pro\logbook_r2.6W\runrvw.c", line 466, col 88, thread id 0x00000ABC:   Argument too small.

 

 

Call to plot waveform is set to float? 

chplothandle[run_num][channel]=PlotWaveform (grhpnl, GRHPANEL_INFPROGRAPH, RUN_NUMBER[run_num].channel_buf[channel],
        RUN_NUMBER[run_num].can_buffer_cnt, VAL_FLOAT, 1.0, 0.0, 0, 0.01,
        VAL_CONNECTED_POINTS, VAL_SIMPLE_DOT, VAL_SOLID, 1,
        color);

 

 

Note sure why I am getting this error?  Saw a post about about a bug in cvi 8.1 with waveform array sizes, not sure if this is related.

 

 

 

0 Kudos
Message 1 of 2
(3,218 Views)
NEVER MIND, I see that it is returning complete plot not just data point!
0 Kudos
Message 2 of 2
(3,214 Views)