08-10-2007 10:38 AM
08-13-2007 04:22 PM
Hi Mark,
For a 6602, you'll want to use the DAQmxSetCICtrTimebaseSrc() and DAQmxSetCICtrTimebaseRate() properties, and ensure that the terminals for both cards are the same, ie "/6602A/20MHzTimebase". DAQmx will take care of the routing across RTSI as long as you have the devices added to the RTSI connector in MAX. If this doesn't work, what kind of errors are you seeing (numbers, screenshots...). Also, do you really need the timebases sync'd for period measurements? They're going to have the same error regardless of the timebase being used and in fact you're limiting your resolution by requiring the cards to use the 20MHz clock instead of the 80Mhz. In most cases I've run across sharing a start trigger is sufficient.
Hope this helps,
Andrew S
08-14-2007 06:40 AM
Hello,
Thanks, I actually had been using these functions. The problem existed in my signal generator. These functions do the job. I need both cards synced on the same clock to prevent drifting. If one card has a 19.98 MHz clock and the other had a 20.02 MHz clock, the amount of ticks will eventually increase in difference. Using the same clock will prevent this (hopefully). And I do also use a start trigger.