NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member mki
Member
mki
Posts: 4
0 Kudos

Four board synchronous receiving

Hello,

 

I am now attempting to recieve signals from 4 boards synchronously. Using the attached VI, if I set two boards to operate from an external reference and two others to use MIMO, I receive an error at the Initiate vi that ~The reference clock PLL did not lock within the alloted time. However, if I only use MIMO on one board and operate the other three boards off an external reference the VI works fine. Am I missing something?

 

 

Member
ErikL
Posts: 107
0 Kudos

Re: Four board synchronous receiving

The basic harware theory of operation is:
1. The MIMO cable allows one USRP to act as master and the other as slave. (You will need to set the second USRP to use the MIMO cable for two properties: 10 MHz Reference Frequency Source and Timebase Clock Source.)
2. The 10MHz referece clock is then shared direclty over the cable, while timestamps are shared over the cable to sync time between devices.
-----
The basic software theory of operation:
1. Use the Configure Trigger VI to specify at what time you want to acqusition to start
2. Synchronize the times across USRP using the Set Time (specify that this should happen on "Next Timebase Edge")
3. Commit the changes
4. Run a Fetch or Write... it will wait until the time base reaches the 'Trigger' time to start
 
Refer the following shipping example for help:
niUSRP EX Rx Multiple Synchronized Inputs.vi
 
(Note: If you're not using the MIMO cable, but rather the external Ref In and PPS inputs then you need to remove the "0" wired in to the top channel list input of the niUSRP Set Time.vi)
 
Best Regards,
Erik
 
Member mki
Member
mki
Posts: 4
0 Kudos

Re: Four board synchronous receiving

Hi Erik,

 

I realized I forgot to save the values I was using as defaults, so it probably was not very clear how I set up the boards.

 

ch0 was connected to ch1 with a MIMO cable, ch3 was connected to ch2 with another MIMO cable.

External references for RefIn and PpsIn was connected to ch1 and ch2.

 

When I run the VI, I get the error I mentioned before about the pll not locking. However, I am certain that there are no problems with the external reference as the VI works fine if I connect all four boards to the external reference without using the MIMO cable. Also, the VI can synchronously receive from two boards without any errors using a MIMO cable. As such, I was wondering whether there was anything I need to be aware of in the case when there are more than one master each with its own slave.

 

 

Member
ErikL
Posts: 107
0 Kudos

Re: Four board synchronous receiving

You configuration sounds fine. I have setup the same config before. The master devices should be configured for external ports and the MIMO for getting their signals from the MIMO cable.

The important thing to note is that you only need to reset time to 0 on channels with external triggered devices. Set the 1,2 in the pink string input on the top of the set time VI. Also use next rising edge.
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page