07-30-2009 08:51 AM
I use the M Series DAQ PXI-6259 in LabWindows/CVI ADE, and now I want to verify whether a 8-bit ADC working properly or not.
The input of the ADC is a sine wave and I acquire the 8-bit digital data (in Digital Format or Port Format ) each time the A/D convertion is completed. Next I want to regenerate the sine wave with the acquired digital data using 6259.
The analog channel supports only 64-Bit Floating-Point Numbers data format but not Unsigned and Signed Integers data format, have to I scale the acquired digital data to 64-Bit Floating-Point Numbers data format according to the amplitude of the sine wave and then regenerate the waveform ??
If so, have to I specifie the APFI0 or APFI1 as the source of the DAC reference voltage?
Thank you very much for your help.
Sxs707
Solved! Go to Solution.
07-30-2009 09:51 AM
07-30-2009 08:14 PM
Hi,Dennis,
have to I specifie the APFI0 or APFI1 as the source of the DAC reference voltage?
07-30-2009 08:40 PM
Hi, Dennis,
Thanks very much for your help .I'm so sorry but i make a mistake in the above reply and now i try my best to convey my question clearly:
There are both DAQmxWriteBinaryI16 and DAQmxWriteBinaryU16. If I write the native data acquired from ADC to 6259 without any scaling using one of the two functions, have to I specifies both APFI0/APFI1 as the source of the DAC reference voltage and the amplitude of the sine wave as the value of the DAC reference voltage? Thanks.
07-30-2009 11:08 PM
07-31-2009 09:34 AM
Hi ,Dennis,
Thanks for your help, now I see that I do need to set the reference voltage of the ADC (but not the amplitude of the sine wave ) and the 6259 to be the same. Thanks again.