Spencer,
Thank you very much.
I met more problems. I still used example WFMsingleBufRegenerate.C, and tried the selection of WFM_DATA_I16, but I didn't get any waveform. I was confused, in WFM_DATA_F64 type, the value between 0.00 and 4.99, in WFM_DATA_I16, the value between 0 and 2047, then how did WFM_Scale work? What is the output voltage respectively?
Then I didn't use NIDAQMakeBuffer(), and just create my own buffer containing a square wave, it was still two pulses per period, it seemed NI output the difference of two adjacent voltage, not the absolute value, am I right?
Please help me, thanks in advance.
Yinsheng