发表于:2003-01-03 18:50:00
2楼
1、我用的是ni的6024e卡
2、对,我就是要做连续采集
3、DeleteGraphPlot (accpanel, ACCPANEL_TIMEGRAPH1, -1, VAL_DELAYED_DRAW);
SetAxisRange (accpanel, ACCPANEL_TIMEGRAPH1, VAL_NO_CHANGE, 0.0, 1.0, VAL_MANUAL, waveformymin,
waveformymax);PlotY (accpanel, ACCPANEL_TIMEGRAPH1, waveform, points, VAL_DOUBLE, VAL_THIN_LINE,
VAL_EMPTY_SQUARE, VAL_SOLID, 1, VAL_RED);
ProcessDrawEvents ();
ScaledWindow (waveform, points, 0, &constants);