LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ADC sine wave linearity testing

Can anyone point me towards example code for performing INL/DNL analysis of an acquired sine wave?
I have found multiple examples using MatLab, but nothing using LabVIEW.
I am using a PCI-6534 for device output acquisition and a PCI-5411 for signal generation under LabVIEW 7.1.

Thanks,
Ed Yoho
0 Kudos
Message 1 of 5
(4,287 Views)
Not the long-term solution you will want to use, but could you initially just create a Matlab script in LabVIEW and use the code you already found?
0 Kudos
Message 2 of 5
(4,277 Views)
That would be my last resort if I can not either find any example code or figure it out on my own. With the amount of analytical capabilities LabVIEW has, I have to believe it doable - just not sure I have the smarts to do it....
0 Kudos
Message 3 of 5
(4,274 Views)
Ed,

I found just the perfect example for you, linked here. I'm not sure if the actual DAQ calls will be compatible with your hardware, but it should at least guide you in the proper logic to use. Best of luck!

Regards,

Message Edited by AESulzer on 06-06-2005 05:19 PM

E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(4,265 Views)
The ADC_test performs INL and DNL using a near DC triangle ramp waveform (1.9 KHz). What I am looking for is how to perform INL and DNL on an acquired 500 KHz sine wave.

Here is an example of calculating it via MatLab:
http://www.maxim-ic.com/appnotes.cfm/appnote_number/2085

I am currently performing DC INL and DNL along with the typical set of dynamics (SINAD, THD, SFDR, and ENOB) an need to add sine wave INL and DNL to it.

Although it is doable by adding calls to MatLab, it would be messy and costly to add MatLab and whatever toolkits are needed (plus then I would need to learn MatLab - my poor addled brain).

Ed Yoho

Message Edited by Ed Yoho on 06-06-2005 05:51 PM

0 Kudos
Message 5 of 5
(4,255 Views)