12-14-2006 07:22 PM
12-15-2006 05:00 PM
Not really sure here, but will take a shot...
1. The type of error you get and the fact you only get it sometimes suggests that you can indeed use the 6602's 20 MHz timebase as a sample clock for your other board(s). The problem sounds more like a case where you get a faster sample rate when using the 6602's clock.
2. What are you specifying as the sample clock rate in your call to DAQmx Timing?
3. Have you verified that the actual output rate is identical for the case where you use the 6602's "20 MHz Timebase" and the case where you use the 6534's "Onboard Clock?" When you use the "Onboard Clock" setting, I'm pretty sure the driver will try to divide down the internal clock to produce the sample clock rate you wired in. However, when you use the 6602's "20 MHz Timebase" setting, I'm not sure it does the same thing, and I'm not near a system where I can check. I *DO* know that if I specify a generic terminal like "PFI 4" as my Sample Clock Source, then the "rate" input doesn't seem to do anything at all (though it insists on being wired). In such a case, I get one sample per active edge on PFI 4.
Perhaps when you specify the 6602's 20 MHz Timebase, it samples on every active edge, making a 20 MHz actual sample rate regardless of what you wire to the rate input? Try wiring in a super-slow rate so you can easily tell whether it really tries to divide down to that rate or whether it simply tries to output at 20 MHz.
-Kevin P.
12-15-2006 05:45 PM
12-18-2006 03:47 PM
12-18-2006 04:13 PM - edited 12-18-2006 04:13 PM
Message Edited by ampm on 12-18-2006 04:14 PM
12-19-2006 06:26 PM
Thank you for stating your point again:
- No, the 6534 cannot PLL to a 20 MHz clock (almost none of our PLL can lock
into that frequency directly) and you can only use it as the primary clock
source for this device.
- No, the 5122 cannot PLL to this same 20 MHz clock. You could export the 20 MHz clock into PXI_Star and use it as your reference clock in PXI-5122 (no PLL) or use the PXI internal 10 MHz as the device reference clock.
12-20-2006 10:48 AM
Hi Gerardo
Thanks for your reply!
Can you please answer several (simple/stupid) questions?
""" - No, the 6534 cannot PLL to a 20 MHz
clock (almost none of our PLL can lock into that frequency directly) and you
can only use it as the primary clock source for this device."""
Does the "primary clock" = Sample Clock?
As I see on practice the only sample rate I can get with 6534 when I use the 20
MHz clock of the 6602 as the Sample Clock for 6534 is 20 MHz, i.e. 6534 does
not divide this clock to get lower sample rate. Is it a supposed behavior or
there is a way to get the lower sample rate?
"""- No, the 5122 cannot PLL to this same 20
MHz clock. You could export the 20 MHz clock into PXI_Star and use it as your
reference clock in PXI-5122 (no PLL) or use the PXI internal 10 MHz as the
device reference clock."""
My 6602 board is in PXI slot 2 which (as I understand) is a "Star"
slot.
As I understand PXI_Star = PXI_Trig6.
But in LabView I can not choose 6602/PXI_Trig6 as the
"output terminal" in the "DAQmx Connect Terminals" vi to export the 20 MHz clock of the 6602 to it.
Should I choose 5122/PXI_Trig6 instead or "export the
20 MHz clock into PXI_Star" should be done by some other way?
In "niScope Configure Clock" vi I can not choose "PXI_Star" as the source of the reference
clock. So I am a little bit confused how can I "export the 20 MHz clock
into PXI_Star and use it as your reference clock in PXI-5122"....
Thanks for your help!
12-21-2006 03:51 PM
Hi Ampm,
The two answers are related to each of the answers:
1) In this knowledgebase we can see that actually the 6602 cannot export his clock into PXI_Star. Since your digitizer cannot received but from this line, we need to find a different solution (see below).
2) PXI_Star is actually a signal and should be named something like this “/Slot5/PXI_Star”. Make sure you PXI chassis is configured in MAX.
There are two possible approaches:
1) I would suggest to PLL all clocks to the PXI 10 MHz clock. This takes full advantage of the hardware you have.
2) Export the 6602 20 MHz clock on a front panel PFI line and externally connect it to the CLK IN of the 5122.
Good luck,