LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

linearity testing ADC using PCI 6289

chiplearner,

I think the simplest solution to your second problem is to read the data in as an entire port, rather than individual lines. This will save you from having to do all the manipulation you are doing. Since your device has a 32-bit port, you will have to consider that when using the Digital to Analog Waveform VI (in terms of range). ADC_test.vi is an example of this type of DAQ Assistant.

Unfortunately, your M-Series device does not support digital triggering. Normally, we would get around this by using a triggered counter operation, but you wish to use an external sample clock. This requires us to set up a "dummy" analog input task, and use its triggering circuitry. Basically, we will set this analog input task to use your external clock, and set up a digital trigger on it. Then, for the digital input sample clock, we will actually use the internal analog input sample clock (triggered by your digital signal). I have attached a second example, ADC_test_2.vi, which requires the 3rd VI. You will need to change the device numbers as well as PFI lines on both the front panel and block diagram. You will also need to specify the rate of your external sample clock and the total number of digital (and analog) samples you wish to acquire. Please note that we do not do anything with the acquired analog data.

Let me know if you have any questions... Hope this helps!

Regards,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 11 of 15
(1,650 Views)

Hi Ryan

Thanks a lot for replying to the thread , looks like that should solve the problem especially reading in as a part , I have labview 7.1 installed ryan and when i try to open the vi programs , get an error code 9 message , could you save them as 7.1 and upload them .

thanks for the help

chiplearner

0 Kudos
Message 12 of 15
(1,584 Views)
chiplearner,

My apologies. Here they are saved for 7.1.
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 13 of 15
(1,576 Views)

Hi 

As the library adc_linearity.lib shows, it works with pxi6534 and pxi 5411

but i have pci 6534(which should be ok for my adc) and i dont have any of the arbitary waveform generators as pxi5411

so when i open the lib and the .vi program, it shows as missing niFgen.vi  as i dont have 5411

 

but i'm trying to generate the waveform from a tektronix signal generator which have a GPIB interface to connect with the labview.

the problem is i want to capture the data along with the generation of waveform from signal generator which i'm not able to modify the program as i'm new to labview, i request if someone  has got the programe with the signal genrator or else only capturing the data from ADC through PCI6534.

thanks and regards

Chinnu

0 Kudos
Message 14 of 15
(1,357 Views)
0 Kudos
Message 15 of 15
(1,354 Views)