Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Phase Lock 6221 and 5411

Hi,
I am having a hard time trying to phase lock to analog output signals. One is a squarewave generated on A0 on my 6221 DAQ and the other is a sine wave on my 5411. I am trying to make a reference clock and have both devices use it. I have read the manuals on both of these devices and think that the 5411 should sync with a form from the 6221, since the 6221 is probably a sloppier signal than from the 5411. Any help would be great.
Thanks.
0 Kudos
Message 1 of 16
(4,785 Views)
Hey Caballero,

Thanks for contacting National Instrument support.  Is this PXI or PCI.  In the case of PXI you can PLL both boards to the 10MHz backplane and then both of their respective clocks will be PLL'd.  In the case of PCI, you can export the timebase from the 6221 over the RTSI bus and use that RTSI line as a timebase for the 5411. 

Let me know if you have further questions.

Regards,
Kenn North
Principal Product Manager - Search, Digital Analytics
http://ni.com/search
0 Kudos
Message 2 of 16
(4,774 Views)

 Are there any examples about sync NI-FGN with DAQmx? I also don't know how to sync PCI-6111 with PCI-5411. Moreorver, I cannot find the option for PCI-5411 to do this,"To add a device to a RTSI cable, right-click on the RTSI cable name in the Configuration tree and
select Add Device to RTSI Cable," as mannual said. But there is one for PCI-6111.

0 Kudos
Message 3 of 16
(4,122 Views)

I want to have three contineous sine wave, for example, 60Hz(PCI-6111), 60kHz(PCI-6111), and 600kHz(PCI-5411) with no phase delay.

 

Thanks

0 Kudos
Message 4 of 16
(4,119 Views)

I can not find 5411 here.

1.JPG

 

 

2.JPG

 

 

 

0 Kudos
Message 5 of 16
(4,109 Views)

CCLee,

 

The issue you seem to be having is with trying to drive the synchronization from the DAQ side of things. The best example for this type of FGEN-DAQ synchronization will be found in the example finder (Help >> Find Examples) under Hardware Input and Output >> Modular Instruments >> NI-FGEN (Signal Generators) >> Synchronization >> Fgen DAQmx Synchronization. This particular example focuses on driving the DAQ device from a clock being exported over RTSI from the FGEN, not the other way around. You shouldn't need to connect the 5411 to the RTSI cable as you do with the 6111 in MAX, but you should simply need to call the correct VIs for exporting and importing signals.

 

The FGEN can't simply take any given external clocks to use as a reference clock or to PLL to. It would need a 20 MHz clock signal to override the reference, or a 1 MHz, or 5-20 MHz (in 1 MHz steps) clock signal to PLL to over the RTSI lines. For more information on this, I'll first direct you to the knowledge base: How Do I Use External Clocking With My PCI-5411?. The FGEN help file entries NI PXI/PCI-5411/5431 Master/Slave Operation and NI 5401/5411/5431 Phase-Locked Loops and Module Synchronization also have a good deal of specific information on the above.

 

Timothy S.
Senior Technical Support Engineer
0 Kudos
Message 6 of 16
(4,091 Views)

Thans for your kindly help. But in this example, I cannot find the proper options for "Trigger Source (RTSI 5) and "Trigger Source (Marker 0)."

3.JPG

0 Kudos
Message 7 of 16
(4,083 Views)

CCLee,

 

Which options are you trying to select that you can't find access to in that list? I also noticed that the name of the device you selected for the 5411 was DAQ::2. Is this a name you gave the device, or is there no other resource name associated with it? (i.e. dev1, dev2, etc). The 5411 would be supported under the NI-FGEN drivers, not under DAQ drivers. Do you know the versions of these two drivers you have installed, as well as your operating system? There could be an issue with one of these. Any specifics you could provide would help. Thanks.

Timothy S.
Senior Technical Support Engineer
0 Kudos
Message 8 of 16
(4,068 Views)

CCLee,

 

Upon double-checking, the DAQ::2 identifier should be fine considering the 5411 is a Traditional DAQ device, and would show up as such. If you could still explain to me the exact options that you are trying to setup with, and the driver versions of NI-FGEN and Traditional DAQ, that would help. Thanks.

Timothy S.
Senior Technical Support Engineer
0 Kudos
Message 9 of 16
(4,062 Views)

The software versions are Labview 8.5, DAQmx 9.15, NI-FGEN 2.7.4, Traditional NI-DAQ 7.4.4.

And I reinstall the devices again, the default device names are showen below.

4.jpg

 

 

0 Kudos
Message 10 of 16
(4,057 Views)