Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

I am scanning two channels. How do I obtain both data points with one pulse (simultaneous acquisition)?

Currently, I only get one AD conversion per rising edge of an external pulse (thus, pulse gets one point from one channel). I want one pulse to yield both AD conversions. Is it possible to obtain data from multiple channels at the same time. If so, how?
0 Kudos
Message 1 of 3
(2,659 Views)
This depends on several factors like what type of hardware and API you are using.

The PCI 60XXE family only has one ADC so the data can not be simultaneously sampled, but it will sample the channels as quickly as possible. There fore if you are using an E-Series device you just have to include the additional channels into your scan list. The triggering will take care of scanning all of the channels in the scan list and then wait on the next external pulse.

The PCI 61XX (S-Series) has one ADC per channel, so it can perform true simultaneous sampling. Other than the physical hardware it operates the same way as the E-Series device and you just include all the channels you want to scan in the channel list. This is assuming your external pulse is just wired
to your SCANCLK pin you have set up your acquisition for an external clock. It is important to note this clock just starts the scan of the channel list and then waits for the next pulse to scan the channel list again.

You didn't mention what API you are using. In LabVIEW it is very simple. You just change your channel from 0 to 0,1,3,4 or 0:4 or something else similar to that. If you are using direct driver calls like DAQ_Start you will need to change these functions with the SCAN_Start functions. There should be several shipping examples for this case installed on your hard drive.

I hope this helps.

Joshua
0 Kudos
Message 2 of 3
(2,659 Views)
Thanks Joshua. You were right, Triggerig did take care of this. I had to call DAQ_setup with extconv set to 2 (scan timebase external). I had to place the external pulse on PFI7, and use the SCAN_Demux function to make the buffer look nice. Thank you for your input.
0 Kudos
Message 3 of 3
(2,659 Views)