Hi,
To use the NI-DAQ functions with the 4472, you'll need to declare the samples buffer as a i32 array (array of 32-bit integers). The functions takes pointers to i16 arrays, so the pointer to the i32 array needs to be typecasted to an i16 pointer, for example:
static i32 piBuffer[1000] = {0};
iStatus = DAQ_Start(iDevice, iChan, iGain, (i16*) piBuffer, ulCount,
iSampTB, uSampInt);
The NI-DAQ driver will fill the array with the appropiate values.
Hope this helps. Let me know if you have any questions.
Diego Funes
National Instruments