04-22-2021 06:16 AM
Hi I am having a problem with my VI, I am trying to send IQ data through the first channel of 2 seperate USRPs connected to an ethernet switch and receive their component waves on the second channels. I seem to keep getting the timestamp too late(or too early) error regardless of what I change about in the VI, I've tried changing the timestamps to take longer or less time and cannot get rid of this error. Any help would be greatly appreciated.
Cheers!
04-22-2021 01:19 PM
I see two issues:
1. For both sessions (Tx and Rx) you need to set the current time on the device using the Set Time VI. You are setting a trigger time at, say 5s. But the clock on the device could be anything so you need to first set it earlier than that (say, 0s) [but then in this case it might sit there for up to 5s before starting]
2. In the Rx session, you need to Set Time and also Set Time Start Trigger BEFORE the Initiate VI. I'm actually surprised it doesn't complain that you have it in this order. The Tx error maybe be masking that error.
04-22-2021 01:38 PM
There are also some LV examples installed that may help you.
niUSRP EX Rx Finite Sync.vi
niUSRP EX Tx Finite Sync.vi
niUSRP EX Synchronize Clocks Multi-Device (PPS).vi
04-22-2021 05:47 PM
Thanks for the guidance I'll try to have a look at implementing some of what you've said.
Cheers!