I did try the following yesterday but didn't work and after that I sent the 
email with the question:

usrp = uhd.usrp.MultiUSRP(args.args)
....
usrp.set_clock_source("external")

I did not try adding the command: usrp.set_time_source("external")

Are they needed to be issued together?

Thanks.

Luz Elena (Luchi) Florez Manduca (formerly Roth)
R&D Electrical Engineer
US Army Armament Research Development & Engineering Center 
Precision Armaments & Intelligent Sensors Division 
Munition Sensors Branch
RDAR-MEF-P, Bldg 407 Buffington Road, Picatinnny Arsenal, NJ 07806-5000 
Desk 973-724-6618 
Cell 267-884-9517 
New Home 267-247-5839
luz.e.florezmanduca....@mail.mil

-----Original Message-----
From: Nate Temple [mailto:nate.tem...@ettus.com] 
Sent: Wednesday, January 16, 2019 5:57 PM
To: Florez Manduca, Luz E CIV USARMY (USA) <luz.e.florezmanduca....@mail.mil>
Cc: usrp-users@lists.ettus.com
Subject: [Non-DoD Source] Re: [USRP-users] Python uhd API

All active links contained in this email were disabled. Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser. 


________________________________



Hi Luz,

You can call the api calls just as you would in C++ from the usrp object. 

For example:

usrp = uhd.usrp.MultiUSRP(args.args)
....
usrp.set_clock_source("external")
usrp.set_time_source("external")

Regards,
Nate Temple


On Wed, Jan 16, 2019 at 2:51 PM Florez Manduca, Luz E CIV USARMY (USA) via 
USRP-users <usrp-users@lists.ettus.com < 
Caution-mailto:usrp-users@lists.ettus.com > > wrote:


        Does anyone have any sample python uhd API code to select the clock 
source (internal, external, GPSDO)? The UHD manual has no documentation on the 
python uhd APIs (only the C++ ones and I am quite lost there). Any suggestion 
would be greatly appreciated.
        
        Thank you very much.
        
        Sincerely.
        
        Luz Elena (Luchi) Florez Manduca (formerly Roth)
        R&D Electrical Engineer
        US Army Armament Research Development & Engineering Center 
        Precision Armaments & Intelligent Sensors Division 
        Munition Sensors Branch
        RDAR-MEF-P, Bldg 407 Buffington Road, Picatinnny Arsenal, NJ 07806-5000 
        Desk 973-724-6618 
        Cell 267-884-9517 
        New Home 267-247-5839
        luz.e.florezmanduca....@mail.mil < 
Caution-mailto:luz.e.florezmanduca....@mail.mil > 
        
        
        
        _______________________________________________
        USRP-users mailing list
        USRP-users@lists.ettus.com < Caution-mailto:USRP-users@lists.ettus.com 
> 
        
Caution-http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com < 
Caution-http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > 
        

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to