12-22-2008 05:44 PM
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.
12-22-2008 07:24 PM