Updated the support code to
auto select IDD meter at 5, 25 or 50 amp scale.? Posted at
73, David, W1HKJ
On 10/30/24 15:51, Philip Rose, GM3ZZA via groups.io wrote:
toggle quoted message
Show quoted text
Thanks Dave,
See in-line.
On 30/10/2024 17:08, Dave, W1HKJ
wrote:
Phil,
There is an IDD scale with a maximum of 50

Suggest you scale your 705 IDD measurement to a scale of 50.
?? ???? ??? mtr = 50.0 * mtr / 241.0;
?? ???? ??? if (mtr > 50) mtr = 50;
I think this should be 40, rather than 50 to keep the
measurement in line with the number value. So the scale is now
measuring dA (deciamps).
The attached (idd25-2A.png) is with the scale 25 (but
image_idd50 - see below). Ignore the SWR - something has gone
wrong with my antenna (I'll need to look at this in daylight -
when we get any at 55N!) and both the actual rig display and
external SWR bridge are showing high SWR. But the rig display
itself is showing just over 2A, so 22 or 23 on the display looks
right.
Then change
void cbALC_IDD_SWR()
{
?? ?switch (meter_image) {
?? ???? case ALC_IMAGE:
?? ???? ??? if (selrig->has_idd_control) {
?? ???? ??? ??? btnALC_IDD_SWR->image(image_idd25);
?? ???? ??? ??? meter_image = IDD_IMAGE;
?? ???? ??? ??? sldrIDD->show();
?? ???? ??? ??? {
?? ???? ??? ??? ??? guard_lock serial_lock(&mutex_serial,
"40");
?? ???? ??? ??? ??? trace(1, "cbALC_IDD_SWR()? 2");
?? ???? ??? ??? ??? selrig->select_idd();
?? ???? ??? ??? }
?? ???? ??? ??? break;
?? ???? ??? }
?? ???? case IDD_IMAGE:
to image_idd50
Let us know if that works for you.
I found no differences between the two. See images (idd25 and
idd50).
David
PS. After I change IC705.cxx and rerun make I get the following
error message:
In file included from
./include/rigpanel.h:56,
???????????????? from ./include/rig.h:38,
???????????????? from ./include/status.h:28,
???????????????? from ./include/rigbase.h:38,
???????????????? from ./include/icom/ICbase.h:25,
???????????????? from ./include/icom/IC746.h:24,
???????????????? from ./include/icom/IC705.h:26,
???????????????? from rigs/icom/IC705.cxx:29:
./include/flinput2.h:41:26: error: operator '>' has no left
operand
?? 41 | #if FLRIG_FLTK_API_MINOR > 3
????? |????????????????????????? ^
make[2]: *** [Makefile:2100: rigs/icom/flrig-IC705.o] Error 1
Look's like there's a missing #include or #define. I have to
run 'make distclean' etc to get a clean compile. Just running
'make clean' first also fails. This doesn't happen when I modify
support.cxx.
Phil.
On 10/30/24 10:20, Philip Rose,
GM3ZZA via groups.io wrote:
On 30/10/2024 14:19, Philip Rose, GM3ZZA via groups.io wrote:
I updated to .77 and I noticed that the IDD meter is now
greyed out. So, thanks. I'll have a look at what needs to be
done to read IDD. It's one I occasionally use when remote
operating, but might not be so useful on IC-705 where TX
standing current does not register as the IC-7300 where a
standing current of 3A sticks out like a sore thumb more
than PO of 0W.
73 Phil GM3ZZA
I've copied the get_idd() method from IC-7300 and changed the
calculation to max of 4A and it seems to work. It looks like
the scale maximum of 25A is fixed. Modified IC705.h and
IC705.cxx attached (based on this morning's download of alpha
.77).
73 Phil GM3ZZA