Ticket #155 (defect)

Opened 1 year ago

Last modified 9 months ago

Handling of subdev.set_gain() return value is inconsistent

Status: assigned

Reported by: michaelld Assigned to: eb (accepted)
Priority: normal Milestone: to-be-decided
Component: gr-usrp Version: 3.0svn
Keywords: Cc:

The returned value of the "subdev.set_gain()" method is not consistent across the USRP daughtercards' python code in gr-usrp. For example:

* In "db_flexrf.py", the "set_gain()" method tries to return the value of "self._set_pga()" method call, but that this method doesn't return anything (no "return" at all).

* The "set_gain()" code for "db_tv_rx.py" doesn't return anything (no "return" at all, again)

* The "set_gain()" code for "db_basic.py" (for rx or tx) tries to return the "_set_pga()" methods' return value.

Someone with knowledge and understanding of this issue should look into and resolve it.

Change History

06/24/07 00:13:44: Modified by jcorgan

  • owner changed from matt to jcorgan.

07/26/07 09:11:04: Modified by jcorgan

  • status changed from new to assigned.
  • milestone changed from to-be-decided to release-3.1.

09/05/07 14:36:27: Modified by jcorgan

  • owner changed from jcorgan to eb.
  • status changed from assigned to new.

09/05/07 14:36:49: Modified by eb

  • status changed from new to assigned.

10/22/07 12:43:51: Modified by jcorgan

  • milestone changed from release-3.1 to release-3.1.1.

11/06/07 22:28:58: Modified by jcorgan

  • milestone changed from release-3.1.1 to release-3.1.2.

03/19/08 13:54:58: Modified by jcorgan

  • milestone changed from release-3.1.2 to to-be-decided.