[Hamlib-developer] TS-2000 issues
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Dale E. E. <de...@w-...> - 2002-06-20 17:10:10
|
Stephane,
I tried replying to your e-mail but just ended up doing
a lot of babling. (Not uncommon for me. I'm on
midnight shift and haven't be sleeping well the past
three days.)
1) My ts2k.c with its ts2k_transaction() is now
working quite well. I've made changes to both
it and the calling routines. There were one or more
fixes (maybe changes would be a better word.)
The original code obviously has the original problems.
I'm including my current version of ts2k.c so you
can draw your own conclusion. Send it back with
any modifications you feel like making and I'll re-
check every command on the rigctl help page.
2) The comment about "ai2;" is general. I haven't
programmed anything to use it. When I've turned
it on in hamlib I've been able to turn it off again
but rigctl must be restarted afterwards. I'll try
it again and send you the trace. My view on "ai2;"
is much like interrupt enable in a hardware driver.
Turn it off when you first enter the routine, and
back on as quickly as possible. Race type con-
ditions may occur on one hand and loss of info
on the other. Hamlib will have to balance the
two to minimize each.
I've ran minicom with "ai2;" enabled and viewed
the logs. At the time I became convinced that
this was the correct way proceed. Its possible,
if not likely, that I'm wrong. I am logging "ai2;"
data with my rig on scan right not. If you are
interested, I can gzip and e-mail it to you. I'll
send you script of hamlib-1.1.3 doing the same,
as well as my hamlib-1.1.3-kd7eni (didn't know
how else to keep'em separate.)
73's. (I'm starting to babble again.)
Oh, one more item. I've typed in the text for
the menus (62+). I'd like to create:
rig_menu_init() read current menu setting
rig_menu_list() send string for e.g. menu(55)
rig_next_menu()
rig_prev_menu()
rig_set_menu()
rig_get_menu()
rig_menu() e.g. set menuA/B
These will be needed in some form or
another. I'd rather call rig_set_menu()
than program "ex05500004;" or whatever!
It is in ts2k_menu.h and available if you want
it. Its incomplete, but maybe you have ideas?
:)
Dale
kd7eni
|