10-04-2005 07:54 PM
10-05-2005 12:15 PM
10-05-2005 12:30 PM
Hi John -- I couldn't agree more about documentation of the properties. Right now, its sort of a mess.
In NIDAQmx.h - the definition is:
int32 __CFUNC DAQmxGetAIDevScalingCoeff(TaskHandle taskHandle, const char channel[], float64 *data, uInt32 arraySizeInSamples);
Unfortunately, arraySizeInSamples is a pass by value, not a reference, so the NULL trick won't work. I would be happy just knowing the maximum number of coeffs so I could make a standard size array.
Brady Trexler
10-05-2005 12:35 PM
10-05-2005 01:35 PM
John, you are correct.
int32 __CFUNC DAQmxGetAIDevScalingCoeff(TaskHandle taskHandle, const char channel[], float64 *data, uInt32 arraySizeInSamples);
10-05-2005 02:32 PM