discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Synchronizing PPS pulse at specific moment


From: isaac mario tupac davila
Subject: Synchronizing PPS pulse at specific moment
Date: Mon, 22 Nov 2021 17:37:08 -0500

Hello everyone

My name is Isaac. I'm doing some probes of synchronization between two USRP's N200 and a trimble. What I'd like to do is the USRP's wait a specific time (3-5 seconds) before starting to send and receive data synchronize. So, I run my GRC flowgraph but I don't put the PPS pulse in the USRP's  for that "wait" time. But what I see is:

[32;1m[INFO] [UHD] [39;0mlinux; GNU C++ version 7.5.0; Boost_106501; UHD_3.14.0.HEAD-0-g6875d061
[32;1m[INFO] [USRP2] [39;0mOpening a USRP2/N-Series device...
[32;1m[INFO] [USRP2] [39;0mCurrent recv frame size: 1472 bytes
[32;1m[INFO] [USRP2] [39;0mCurrent send frame size: 1472 bytes
[33;1m[WARNING] [UHD] [39;0mUnable to set the thread priority. Performance may be negatively affected.
Please see the general application notes in the manual for instructions.
EnvironmentError: OSError: error in pthread_setschedparam
[32;1m[INFO] [MULTI_USRP] [39;0m    1) catch time transition at pps edge
Traceback (most recent call last):
  File "/home/soporte/Isaac/PruebaParaUSRP/TransmisiónUSRP/top_block.py", line 145, in <module>
    main()
  File "/home/soporte/Isaac/PruebaParaUSRP/TransmisiónUSRP/top_block.py", line 133, in main
    tb = top_block_cls()
  File "/home/soporte/Isaac/PruebaParaUSRP/TransmisiónUSRP/top_block.py", line 79, in __init__
    self.uhd_usrp_sink_0.set_time_unknown_pps(uhd.time_spec())
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", line 4814, in set_time_unknown_pps
    return _uhd_swig.usrp_sink_sptr_set_time_unknown_pps(self, time_spec)
RuntimeError: RuntimeError: Board 0 may not be getting a PPS signal!
No PPS detected within the time interval.
See the application notes for your device.

It seems the UHD:USRP sink and UHD:USRP source have a short wait time for the PPS pulse.
¿ Is there a way to get a longer wait time for the PPS pulse in GNU Radio?....If it is not possible, any advice or idea to deal with it will be appreciated.

Regards
Isaac T.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]