谁用过ADLINK公司PCI9118里面的这个函数
时间:12-13
整理:3721RD
点击:
AI_ContReadMultiChannels
麻烦,高手指点一下
函数是这样定义的:
I16 __stdcall AI_ContReadMultiChannels (U16 CardNumber, U16 NumChans, U16 *C
hans,
U16 *AdRanges, U16 *Buffer, U32 ReadCount,
F64 SampleRate, U16 SyncMode);
我是这样写的:
AI_ContReadMultiChannels(0,2,9,8, AD_B_5_V, ai_buf, data_size, sample_rate,
ASYNCH_OP);
请问我那里写错了
麻烦,高手指点一下
函数是这样定义的:
I16 __stdcall AI_ContReadMultiChannels (U16 CardNumber, U16 NumChans, U16 *C
hans,
U16 *AdRanges, U16 *Buffer, U32 ReadCount,
F64 SampleRate, U16 SyncMode);
我是这样写的:
AI_ContReadMultiChannels(0,2,9,8, AD_B_5_V, ai_buf, data_size, sample_rate,
ASYNCH_OP);
请问我那里写错了
输入变量个数不对吧
我用两个通道采样