02-06-2006 03:31 PM
02-06-2006 10:19 PM
Have you seen this note? It uses Traditional NI-DAQ, yet provides the concept of routing the oversample clock from the DSA device to a counter input of an E series where it can be divided down as the sample clock for the E series board.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B8C1DA7151524E2EE034080020E74861
02-07-2006 07:56 AM
Here's a good KB which has links to several different examples which show how to perform synchronization with a DSA device in DAQmx:
There are two links to examples with a MIO, this is probably where you want to start.
Also, remember that there is a group delay on the 4472 (due to the delta sigma converters) that will show up as an inital phase delay. You can just remove the first 39 or so samples from the 4472 data to get rid of the group delay.
-Jack
02-10-2006 08:20 AM
02-15-2006 08:20 AM
Olive -
The group delay on the 4472 will cause you to have that initial phase mismatch. Remove the first 39 or 40 samples from the acquisition of your 4472 and then compare it to the results from your E-Series board. You should see data that is synchronized.
Also, if this is a new application, I would really recommend using the DAQmx API rather than Traditional DAQ. The examples that are listed in my previous post are what you need to get started.
-Jack
02-23-2006 03:38 AM
02-23-2006 11:01 AM
02-23-2006 11:07 AM
Olive -
Reddog has a good suggestion.
Also, I think that the method of discarding samples is still valid. Remember that you are only discarding the first 40 or so samples from the 4472. So, if you are doing some type of processing which requires you to read a certain number of samples (like an FFT) here's what you do:
Configure both boards
Start the acquisitions
On the 4472 only, read ~40 samples and discard them
Enter your acquisition/processing loop
Read 1024 samples from both 4472 and 6040 (the samples will now be aligned since you have removed the group delay of the 4472)
Do processing
Loop back
Does that make sense? Let me know if you still have questions.
-Jack
03-02-2006 08:49 AM