Thread: [Hamlib-developer] Re: TS-450S commands
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Joop S. <pa...@de...> - 2002-12-16 15:54:09
|
On 16 Dec 2002 15:34:22 +0000 Sid Boyce <sb...@bl...> wrote: > Still checking the web and shall pass on anything that looks even > vaguely like it could help. > http://www.qsl.net/ok2mtv/, commands.zip, in Norwegian, but some numbers > there may help. > http://www.n8dnx.org/user.html#RemRef > 73...Sid. > > Thanks Sid! The commands.zip is helpful... I have just added some commits to the CVS tree for your rig. Hopefully, the 'f', 'm' and 'v' commands will work now. Can you please test them? Let me know if you are not familiar with CVS, I can explain. Also, please cc to the hamlib-developer list (reply to all if evolution has it, should be ok) > > > > > -- > Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot > Linux only shop > > Regards, Joop PA4TU |
|
From: Stephane F. <f8...@fr...> - 2002-12-17 23:34:41
|
On Tue, Dec 17, 2002, Sid Boyce wrote:
> Correct, it's the IF bandwidth, currently set here at 2.4Khz.
What are the different IF bandwidth combinations on the TS450?
I've checked in in the cvs repo some fixes for the .filters field.
But reading at page 9 of the manual let one think everything is possible
for LSB,USB,AM,FSK: 12k, 6k, 2.4k, 500.
> The IC737 setup as IC775 using address 0x3c reports it correctly.
BTW, can you try again the IC737 support in Hamlib?
This should be something like the following:
rigctl -vvvvvv -m 321 -s 1200 -r /dev/ttySxxx
Please report with traces, or any information giving a possible clue.
Note: if serial baud rate is different than 1200, change the -s option.
Do know what is the highest baud rate that can be set on the IC737?
IOW, the IC737 has to work :-)
> > > Looks better on the second try apart from passband ...........
Joop:
> > Yes, passband is on the TODO list. I have to look into it, at the
> > moment I don't have a clue what it is for. Guess it has something
> > to do with the IF bandwidth.
In ts450s_get_mode(), if you don't know the passband, you may simply do
the following (once *mode is set):
*width = rig_passband_normal(rig, *mode);
However, it would be better to use the "FL;" command, and set *width
appropriately, depending on the 8.83MHz and 455 kHz IF filters returned
in P1 and P2.
Note: the same can be done in ts450s_set_mode.
73
Stephane
|
|
From: Sid B. <sb...@bl...> - 2002-12-18 00:25:54
|
barrabas:/usr/src/packages/BUILD/mkinitrd-3.4.32 # rigctl -vvvvvv -m 321
-s 1200 -r /dev/ttyS0
rigctl, Hamlib version 1.1.4-cvs
Report bugs to <ham...@li...>
rig:rig_init called
rig: loading backend icom
rig: lt_dlopen("hamlib-icom") failed (libhamlib-icom.a: cannot open
shared object file: No such file or directory), trying static symbols...
icom: _init called
rig_register (309)
rig_register (310)
rig_register (311)
rig_register (313)
rig_register (319)
rig_register (321)
rig_register (330)
rig_register (326)
rig_register (327)
rig_register (347)
rig_register (334)
rig_register (344)
rig_register (335)
rig_register (340)
rig_register (342)
rig_register (304)
rig_register (307)
rig_register (352)
rig_register (353)
rig_register (351)
rig:rig_open called
Opened rig model 321, 'IC-737'
Backend version: 0.2, Status: New
Rig command: f
TX 6 bytes
0000 fe fe 3c e0 03 fd ..<...
RX 6 characters
0000 fe fe 3c e0 03 fd ..<...
RX 11 characters
0000 fe fe e0 3c 03 20 09 19 14 00 fd ...<. .....
Frequency: 14190920
Rig command: m
TX 6 bytes
0000 fe fe 3c e0 04 fd ..<...
RX 6 characters
0000 fe fe 3c e0 04 fd ..<...
RX 8 characters
0000 fe fe e0 3c 04 01 01 fd ...<....
Mode: USB
Passband: 2100
Rig command: v
get_vfo: error = Feature not available
Rig command: j
get_rit: error = Feature not available
Rig command: V
VFO: VFOA
TX 7 bytes
0000 fe fe 3c e0 07 00 fd ..<....
RX 7 characters
0000 fe fe 3c e0 07 00 fd ..<....
RX 6 characters
0000 fe fe e0 3c fb fd ...<..
Rig command: V
VFO: VFOB
TX 7 bytes
0000 fe fe 3c e0 07 01 fd ..<....
RX 7 characters
0000 fe fe 3c e0 07 01 fd ..<....
RX 6 characters
0000 fe fe e0 3c fb fd ...<..
Rig command: V
VFO: VFOA
TX 7 bytes
0000 fe fe 3c e0 07 00 fd ..<....
RX 7 characters
0000 fe fe 3c e0 07 00 fd ..<....
RX 6 characters
0000 fe fe e0 3c fb fd ...<..
Rig command: n
get_ts: error = Feature not available
Rig command: x
TX 7 bytes
0000 fe fe 3c e0 07 01 fd ..<....
RX 7 characters
0000 fe fe 3c e0 07 01 fd ..<....
RX 6 characters
0000 fe fe e0 3c fb fd ...<..
TX 6 bytes
0000 fe fe 3c e0 04 fd ..<...
RX 6 characters
0000 fe fe 3c e0 04 fd ..<...
RX 8 characters
0000 fe fe e0 3c 04 00 01 fd ...<....
TX 7 bytes
0000 fe fe 3c e0 07 00 fd ..<....
RX 7 characters
0000 fe fe 3c e0 07 00 fd ..<....
RX 6 characters
0000 fe fe e0 3c fb fd ...<..
Mode: LSB
Passband: 2100
It flips to VFO-B on 80m and then back to VFO-A on 20m.
Rig command: t
get_ptt: error = Feature not available
Rig command: c
get_ctcss_tone: error = Feature not available
Rig command: i
TX 7 bytes
0000 fe fe 3c e0 07 01 fd ..<....
RX 7 characters
0000 fe fe 3c e0 07 01 fd ..<....
RX 6 characters
0000 fe fe e0 3c fb fd ...<..
TX 6 bytes
0000 fe fe 3c e0 03 fd ..<...
RX 6 characters
0000 fe fe 3c e0 03 fd ..<...
RX 11 characters
0000 fe fe e0 3c 03 30 67 78 03 00 fd ...<.0gx...
TX 7 bytes
0000 fe fe 3c e0 07 00 fd ..<....
RX 7 characters
0000 fe fe 3c e0 07 00 fd ..<....
RX 6 characters
0000 fe fe e0 3c fb fd ...<..
Tx frequency: 3786730
Flips to 80m and back to 20m (VFO's)
Rig command: s
get_split: error = Feature not available
Rig command: _
Info: None
Rig command: F
Frequency: 00014200000
TX 11 bytes
0000 fe fe 3c e0 05 00 00 20 14 00 fd ..<.... ...
RX 11 characters
0000 fe fe 3c e0 05 00 00 20 14 00 fd ..<.... ...
RX 6 characters
0000 fe fe e0 3c fb fd ...<..
Moved VFO-A to 14200.00
Rig command: J
RIT: +100
set_rit: error = Feature not available
Rig command: j
get_rit: error = Feature not available
Others such as "G", I'd have to look up the parameters.
Let me know if I can do anything else.
BTW -- the latest CVS (earlier Tuesday and about 23:00 GMT) do not
generate shared libhamlib, configure checks that -fPIC is OK.
Regards
Sid.
On Tue, 2002-12-17 at 22:16, Stephane Fillod wrote:
> On Tue, Dec 17, 2002, Sid Boyce wrote:
> > Correct, it's the IF bandwidth, currently set here at 2.4Khz.
>
> What are the different IF bandwidth combinations on the TS450?
> I've checked in in the cvs repo some fixes for the .filters field.
> But reading at page 9 of the manual let one think everything is possible
> for LSB,USB,AM,FSK: 12k, 6k, 2.4k, 500.
>
> > The IC737 setup as IC775 using address 0x3c reports it correctly.
>
> BTW, can you try again the IC737 support in Hamlib?
> This should be something like the following:
> rigctl -vvvvvv -m 321 -s 1200 -r /dev/ttySxxx
>
> Please report with traces, or any information giving a possible clue.
>
> Note: if serial baud rate is different than 1200, change the -s option.
> Do know what is the highest baud rate that can be set on the IC737?
>
> IOW, the IC737 has to work :-)
>
>
> > > > Looks better on the second try apart from passband ...........
> Joop:
> > > Yes, passband is on the TODO list. I have to look into it, at the
> > > moment I don't have a clue what it is for. Guess it has something
> > > to do with the IF bandwidth.
>
> In ts450s_get_mode(), if you don't know the passband, you may simply do
> the following (once *mode is set):
>
> *width = rig_passband_normal(rig, *mode);
>
> However, it would be better to use the "FL;" command, and set *width
> appropriately, depending on the 8.83MHz and 455 kHz IF filters returned
> in P1 and P2.
> Note: the same can be done in ts450s_set_mode.
>
> 73
> Stephane
--
Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot
Linux only shop
|
|
From: Joop S. <pa...@de...> - 2002-12-18 22:19:27
|
On Tue, 17 Dec 2002 23:16:21 +0100 Stephane Fillod <f8...@fr...> wrote: > Joop: > > > Yes, passband is on the TODO list. I have to look into it, at the > > > moment I don't have a clue what it is for. Guess it has something > > > to do with the IF bandwidth. > > In ts450s_get_mode(), if you don't know the passband, you may simply do > the following (once *mode is set): > > *width = rig_passband_normal(rig, *mode); > > However, it would be better to use the "FL;" command, and set *width > appropriately, depending on the 8.83MHz and 455 kHz IF filters returned > in P1 and P2. > Note: the same can be done in ts450s_set_mode. > Thanks Stephane, I will have a go at it in a few days. Feel free to correct my cvs commits.... > 73 > Stephane > > Regards, Joop |
|
From: Joop S. <pa...@de...> - 2002-12-17 10:16:36
|
On 16 Dec 2002 22:52:20 +0000 Sid Boyce <sb...@bl...> wrote: > Got the CVS down, run ./configure and got .... > ./configure_dist: line 1215: syntax error near unexpected token > `hamlib,' > ./configure_dist: line 1215: `AM_INIT_AUTOMAKE(hamlib, 1.1.4-cvs)' > Sid, please CC to ham...@li... !!!!!! What is your version of of automake? > Next did "sh ./autogen.sh", "./configure", > barrabas:/usr1/HAMRADIO/HAMLIB/hamlib # make [...] > Making all in lib > make[1]: Entering directory `/data1/HAMRADIO/HAMLIB/hamlib/lib' > make[1]: *** No rule to make target `@LTLIBOBJS@', needed by > `libmisc.la'. Stop. > make[1]: Leaving directory `/data1/HAMRADIO/HAMLIB/hamlib/lib' > make: *** [all-recursive] Error 1 > Regards > Sid. > I think you should do a fresh checkout, this may solve your problems. Regards, Joop PA4TU |
|
From: Sid B. <sb...@bl...> - 2002-12-17 10:59:30
|
I'd temporarily forgotten how backlevel these stupid distributions can
be. I upgraded to autoconf-2.57 and automake-1.7.1, reran "sh
./autogen.sh" as ./configure gave the same error at line 1215.
So now here's the output .......
barrabas:/usr1/HAMRADIO/HAMLIB/hamlib # rigctl -m 203 -vvvvv
rigctl, Hamlib version 1.1.4-cvs
Report bugs to <ham...@li...>
rig:rig_init called
rig: loading backend kenwood
rig: lt_dlopen("hamlib-kenwood") failed (libhamlib-kenwood.a: cannot
open shared object file: No such file or directory), trying static
symbols...
kenwood: _init called
rig_register (213)
rig_register (201)
rig_register (202)
rig_register (203)
rig_register (204)
rig_register (216)
rig_register (207)
rig_register (209)
rig_register (210)
rig_register (214)
rig_register (221)
rig_register (217)
rig_register (220)
rig:rig_open called
TX 3 bytes
0000 49 46 3b IF;
RX 38 characters
0000 49 46 30 30 30 31 38 31 34 34 39 38 30 20 20 20
IF00018144980
0010 20 20 2b 30 30 30 30 30 30 20 30 30 30 32 30 30
+000000 000200
0020 30 30 20 20 20 3b 00 ;
Opened rig model 203, 'TS-450S'
Backend version: 0.2.1, Status: Untested
Rig command: v
TX 3 bytes
0000 49 46 3b IF;
RX 37 characters
0000 49 46 30 30 30 31 38 31 34 34 39 38 30 20 20 20
IF00018144980
0010 20 20 2b 30 30 30 30 30 30 20 30 30 30 32 30 30
+000000 000200
0020 30 30 20 20 20 00
ts450s_get_mode: wrong answer len=37
get_vfo: error = Command rejected by the rig
Rig command: f
TX 3 bytes
0000 49 46 3b IF;
RX 38 characters
0000 49 46 30 30 30 31 38 31 34 34 39 38 30 20 20 20
IF00018144980
0010 20 20 2b 30 30 30 30 30 30 20 30 30 30 32 30 30
+000000 000200
0020 30 30 20 20 20 3b 00 ;
Frequency: 18144980
Rig command: m
TX 3 bytes
0000 49 46 3b IF;
RX 37 characters
0000 49 46 30 30 30 31 38 31 34 34 39 38 30 20 20 20
IF00018144980
0010 20 20 2b 30 30 30 30 30 30 20 30 30 30 32 30 30
+000000 000200
0020 30 30 20 20 20 00
ts450s_get_mode: wrong answer len=37
get_mode: error = Command rejected by the rig
Rig command:
Regards
Sid.
On Tue, 2002-12-17 at 10:15, Joop Stakenborg wrote:
> On 16 Dec 2002 22:52:20 +0000
> Sid Boyce <sb...@bl...> wrote:
>
> > Got the CVS down, run ./configure and got ....
> > ./configure_dist: line 1215: syntax error near unexpected token
> > `hamlib,'
> > ./configure_dist: line 1215: `AM_INIT_AUTOMAKE(hamlib, 1.1.4-cvs)'
> >
>
>
> Sid, please CC to ham...@li... !!!!!!
>
> What is your version of of automake?
>
> > Next did "sh ./autogen.sh", "./configure",
> > barrabas:/usr1/HAMRADIO/HAMLIB/hamlib # make
>
> [...]
>
> > Making all in lib
> > make[1]: Entering directory `/data1/HAMRADIO/HAMLIB/hamlib/lib'
> > make[1]: *** No rule to make target `@LTLIBOBJS@', needed by
> > `libmisc.la'. Stop.
> > make[1]: Leaving directory `/data1/HAMRADIO/HAMLIB/hamlib/lib'
> > make: *** [all-recursive] Error 1
> > Regards
> > Sid.
> >
>
>
> I think you should do a fresh checkout, this may solve your problems.
>
> Regards,
> Joop PA4TU
>
--
Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot
Linux only shop
|
|
From: Sid B. <sb...@bl...> - 2002-12-17 11:07:35
|
Looks better on the second try apart from passband ...........
barrabas:/usr1/HAMRADIO/HAMLIB/hamlib # rigctl -m 203 -vvvvv
rigctl, Hamlib version 1.1.4-cvs
Report bugs to <ham...@li...>
rig:rig_init called
rig: loading backend kenwood
rig: lt_dlopen("hamlib-kenwood") failed (libhamlib-kenwood.a: cannot
open shared object file: No such file or directory), trying static
symbols...
kenwood: _init called
rig_register (213)
rig_register (201)
rig_register (202)
rig_register (203)
rig_register (204)
rig_register (216)
rig_register (207)
rig_register (209)
rig_register (210)
rig_register (214)
rig_register (221)
rig_register (217)
rig_register (220)
rig:rig_open called
TX 3 bytes
0000 49 46 3b IF;
RX 38 characters
0000 49 46 30 30 30 31 38 31 34 34 39 38 30 20 20 20
IF00018144980
0010 20 20 2b 30 30 30 30 30 30 20 30 30 30 32 30 30
+000000 000200
0020 30 30 20 20 20 3b 00 ;
Opened rig model 203, 'TS-450S'
Backend version: 0.2.1, Status: Untested
Rig command: f
TX 3 bytes
0000 49 46 3b IF;
RX 38 characters
0000 49 46 30 30 30 31 34 31 39 35 39 30 30 20 20 20
IF00014195900
0010 20 20 2b 30 30 30 30 30 30 20 30 30 30 32 30 30
+000000 000200
0020 30 30 20 20 20 3b 00 ;
Frequency: 14195900
Rig command: v
TX 3 bytes
0000 49 46 3b IF;
RX 38 characters
0000 49 46 30 30 30 31 34 31 39 35 39 30 30 20 20 20
IF00014195900
0010 20 20 2b 30 30 30 30 30 30 20 30 30 30 32 30 30
+000000 000200
0020 30 30 20 20 20 3b 00 ;
VFO: VFOA
Rig command: m
TX 3 bytes
0000 49 46 3b IF;
RX 38 characters
0000 49 46 30 30 30 31 34 31 39 35 39 30 30 20 20 20
IF00014195900
0010 20 20 2b 30 30 30 30 30 30 20 30 30 30 32 30 30
+000000 000200
0020 30 30 20 20 20 3b 00 ;
Mode: USB
Passband: 0
Regards
Sid.
On Tue, 2002-12-17 at 10:15, Joop Stakenborg wrote:
> On 16 Dec 2002 22:52:20 +0000
> Sid Boyce <sb...@bl...> wrote:
>
> > Got the CVS down, run ./configure and got ....
> > ./configure_dist: line 1215: syntax error near unexpected token
> > `hamlib,'
> > ./configure_dist: line 1215: `AM_INIT_AUTOMAKE(hamlib, 1.1.4-cvs)'
> >
>
>
> Sid, please CC to ham...@li... !!!!!!
>
> What is your version of of automake?
>
> > Next did "sh ./autogen.sh", "./configure",
> > barrabas:/usr1/HAMRADIO/HAMLIB/hamlib # make
>
> [...]
>
> > Making all in lib
> > make[1]: Entering directory `/data1/HAMRADIO/HAMLIB/hamlib/lib'
> > make[1]: *** No rule to make target `@LTLIBOBJS@', needed by
> > `libmisc.la'. Stop.
> > make[1]: Leaving directory `/data1/HAMRADIO/HAMLIB/hamlib/lib'
> > make: *** [all-recursive] Error 1
> > Regards
> > Sid.
> >
>
>
> I think you should do a fresh checkout, this may solve your problems.
>
> Regards,
> Joop PA4TU
>
--
Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot
Linux only shop
|
|
From: Joop S. <pa...@de...> - 2002-12-17 12:21:52
|
On 17 Dec 2002 11:07:24 +0000 Sid Boyce <sb...@bl...> wrote: > Looks better on the second try apart from passband ........... Nice! We seem to be getting somewhere. Yes, passband is on the TODO list. I have to look into it, at the moment I don't have a clue what it is for. Guess it has something to do with the IF bandwidth. > barrabas:/usr1/HAMRADIO/HAMLIB/hamlib # rigctl -m 203 -vvvvv > rigctl, Hamlib version 1.1.4-cvs > Report bugs to <ham...@li...> > > rig:rig_init called [ ... message shortened for clarity ] Looks good. I guess now is the time to check some other rigctl commands. Command that could work are set_rit, get_rit, set_level, get_level, set_func, get_func, set_trn, get_trn, set_ptt and get_ptt. You could also try one of the applications listed on http://hamlib.sourceforge.net/app.html Grig is a good one to start with, you can test some basic rig commands and it allows you to set the debug level. > > Regards > Sid. > > > Thanks, Joop PA4TU |
|
From: Sid B. <sb...@bl...> - 2002-12-17 14:20:03
|
Correct, it's the IF bandwidth, currently set here at 2.4Khz. The IC737 setup as IC775 using address 0x3c reports it correctly. Regards Sid. On Tue, 2002-12-17 at 12:20, Joop Stakenborg wrote: > On 17 Dec 2002 11:07:24 +0000 > Sid Boyce <sb...@bl...> wrote: > > > Looks better on the second try apart from passband ........... > > > Nice! We seem to be getting somewhere. > > Yes, passband is on the TODO list. I have to look into it, at the > moment I don't have a clue what it is for. Guess it has something > to do with the IF bandwidth. > > > barrabas:/usr1/HAMRADIO/HAMLIB/hamlib # rigctl -m 203 -vvvvv > > rigctl, Hamlib version 1.1.4-cvs > > Report bugs to <ham...@li...> > > > > rig:rig_init called > > [ ... message shortened for clarity ] > > Looks good. > > I guess now is the time to check some other rigctl commands. > Command that could work are set_rit, get_rit, set_level, get_level, > set_func, get_func, set_trn, get_trn, set_ptt and get_ptt. > > You could also try one of the applications listed on > http://hamlib.sourceforge.net/app.html > Grig is a good one to start with, you can test some basic rig > commands and it allows you to set the debug level. > > > > > Regards > > Sid. > > > > > > > > Thanks, > Joop PA4TU -- Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot Linux only shop |