usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

USRP command port

UH
Usman Haider
Thu, Apr 20, 2017 3:32 PM

Hi,

I want to know is it possible to send the "set_time_next_pps" and
"get_time_last_pps" commands using command port of the usrp sink block?

--
Usman

Hi, I want to know is it possible to send the "set_time_next_pps" and "get_time_last_pps" commands using command port of the usrp sink block? -- Usman
SK
Steven Knudsen
Thu, Apr 20, 2017 3:36 PM

Last I checked, the answer is no. I wanted to do the same thing last year and ended up modifying the source for the sink/source blocks.

However, I later turned away from that approach and instead got a pointer to the USRP source/sink block inside one of my custom blocks at runtime and accessed the time commands that way.

Have a look at the source and you’ll see what can and cannot be accessed via the command port.

good luck,

steven

Steven Knudsen, Ph.D., P.Eng.
www. techconficio.ca
www.linkedin.com/in/knudstevenknudsen

Du bist die Aufgabe. Kein Schüler weit und breit. - Franz Kafka

On Apr 20, 2017, at 09:32, Usman Haider via USRP-users usrp-users@lists.ettus.com wrote:

Hi,

I want to know is it possible to send the "set_time_next_pps" and "get_time_last_pps" commands using command port of the usrp sink block?

--
Usman


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

Last I checked, the answer is no. I wanted to do the same thing last year and ended up modifying the source for the sink/source blocks. However, I later turned away from that approach and instead got a pointer to the USRP source/sink block inside one of my custom blocks at runtime and accessed the time commands that way. Have a look at the source and you’ll see what can and cannot be accessed via the command port. good luck, steven Steven Knudsen, Ph.D., P.Eng. www. techconficio.ca www.linkedin.com/in/knudstevenknudsen Du bist die Aufgabe. Kein Schüler weit und breit. - Franz Kafka > On Apr 20, 2017, at 09:32, Usman Haider via USRP-users <usrp-users@lists.ettus.com> wrote: > > Hi, > > I want to know is it possible to send the "set_time_next_pps" and "get_time_last_pps" commands using command port of the usrp sink block? > > > -- > Usman > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
UH
Usman Haider
Sat, Apr 22, 2017 5:53 AM

I'll check the source code. Thanks for your reply.

--
Usman

On Thu, Apr 20, 2017 at 8:36 PM, Steven Knudsen ee.knud@gmail.com wrote:

Last I checked, the answer is no. I wanted to do the same thing last year
and ended up modifying the source for the sink/source blocks.

However, I later turned away from that approach and instead got a pointer
to the USRP source/sink block inside one of my custom blocks at runtime and
accessed the time commands that way.

Have a look at the source and you’ll see what can and cannot be accessed
via the command port.

good luck,

steven

Steven Knudsen, Ph.D., P.Eng.
www. techconficio.ca
www.linkedin.com/in/knudstevenknudsen

Du bist die Aufgabe. Kein Schüler weit und breit. *- Franz Kafka *

On Apr 20, 2017, at 09:32, Usman Haider via USRP-users <
usrp-users@lists.ettus.com> wrote:

Hi,

I want to know is it possible to send the "set_time_next_pps" and
"get_time_last_pps" commands using command port of the usrp sink block?

--
Usman


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

I'll check the source code. Thanks for your reply. -- Usman On Thu, Apr 20, 2017 at 8:36 PM, Steven Knudsen <ee.knud@gmail.com> wrote: > Last I checked, the answer is no. I wanted to do the same thing last year > and ended up modifying the source for the sink/source blocks. > > However, I later turned away from that approach and instead got a pointer > to the USRP source/sink block inside one of my custom blocks at runtime and > accessed the time commands that way. > > Have a look at the source and you’ll see what can and cannot be accessed > via the command port. > > good luck, > > steven > > > > Steven Knudsen, Ph.D., P.Eng. > www. techconficio.ca > www.linkedin.com/in/knudstevenknudsen > > Du bist die Aufgabe. Kein Schüler weit und breit. *- Franz Kafka * > > On Apr 20, 2017, at 09:32, Usman Haider via USRP-users < > usrp-users@lists.ettus.com> wrote: > > Hi, > > I want to know is it possible to send the "set_time_next_pps" and > "get_time_last_pps" commands using command port of the usrp sink block? > > > -- > Usman > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > >