请问用双缓冲方式(DAQ_DB_Transfer等函数)能不能对PXI4472 24
时间:12-13
整理:3721RD
点击:
请问用双缓冲方式(DAQ_DB_Transfer等函数)能不能对PXI4472 24位同步采集卡操作?我
用这种方式采集得到的数据不准确,是不是由于在:
SCAN_Start (masterDevice, (short*) ringBuffer, nbOfSamples*nbOfChannels, 0, 0,
0, 0); ~~~~~~~~~~~~~~~~~~~~
..............
DAQ_DB_Transfer (masterDevice, (short*)halfBuffer, &PtsTransferred,&DAQstopped
);
~~~~~~~~~~~~~~~~~
时对其进行(short*)转换时丢失了数据?
其中ringBuffer 和halfBuffer为(int *)
初次使用CVI,遇到不少问题,请高手赐教!
.71
用这种方式采集得到的数据不准确,是不是由于在:
SCAN_Start (masterDevice, (short*) ringBuffer, nbOfSamples*nbOfChannels, 0, 0,
0, 0); ~~~~~~~~~~~~~~~~~~~~
..............
DAQ_DB_Transfer (masterDevice, (short*)halfBuffer, &PtsTransferred,&DAQstopped
);
~~~~~~~~~~~~~~~~~
时对其进行(short*)转换时丢失了数据?
其中ringBuffer 和halfBuffer为(int *)
初次使用CVI,遇到不少问题,请高手赐教!
.71
没问题
我用过
.199