On Wed, 14 Nov 2007 23:07:12 -0500 Martin Ewing - AA6E <[EMAIL PROTECTED]> 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 _______________________________________________ Xlog-discussion mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/xlog-discussion
