[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xlog-discussion] v1.6 adventures & comments
From: |
Alexandru Csete |
Subject: |
Re: [Xlog-discussion] v1.6 adventures & comments |
Date: |
Thu, 15 Nov 2007 19:04:08 +0100 |
On Wed, 14 Nov 2007 23:07:12 -0500
Martin Ewing - AA6E <address@hidden> wrote:
> ...
>
> 2. Clicking Power button gives a result between 0 and 256. Hamlib
> returns a floating value between 0.0 and 1.0. For a 100 watt rig
> like mine, that should be 0 - 100 W of course. Ideally, there would
> be a preference setting for max. power that would be used to scale
> the result. In any case, 256 can't be right for most of us!
The application can use rig->power2mW API function if it is implemented
by the backend.
Otherwise, the min/max power is also available via the
rig_caps->tx_range_list1 / 2 - again, if properly implemented by the
backend.
Conversion shouldn't be done at application level,
since for HF/VHF/UHF rigs the max power depends on which band you are
on. I don't know if there is any convention for whether 1.0
corresponds to the "global" max power or just the band specific max
power.
73
Alex OZ9AEC