Re: [Hamlib-developer] Can't communicate with TS-450S via Digimaster USB
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: A. J. C. <va...@is...> - 2011-11-27 23:16:46
|
Hi there Nate, Got around to testing today with the 20111127 nightly snapshot. One thing that's interesting when I run rigctl the first time with all the usual parameters, I get "rig_open: error = Communication timed out"... The second time I run it, no complaints, I can read frequency and exit. The output I've got from xlog's trace this time is: rig:rig_init called kenwood_init called kenwood_init: if_len = 38 rig_set_conf: serial_handshake='"XONXOFF"' rig:rig_open called kenwood_open called kenwood_get_id called kenwood_transaction called kenwood_transaction: cmdstr = ID TX 3 bytes 0000 49 44 3b ID; read_string: timedout 1.599 seconds without reading a character. TX 3 bytes 0000 49 44 3b ID; read_string: timedout 1.890 seconds without reading a character. TX 3 bytes 0000 49 44 3b ID; read_string: timedout 1.897 seconds without reading a character. TX 3 bytes 0000 49 44 3b ID; read_string: timedout 1.1037 seconds without reading a character. kenwood_open: cannot get identification rig:rig_close called rig:rig_cleanup called kenwood_cleanup called I've reset the serial interface box and re-run rigctl more verbosely and have the following output: dellaptop src # rigctl -vvvvv -m 203 --rig-file=/dev/ttyUSB0 --set-conf=serial_handshake="XONXOFF" rigctl, Hamlib 1.2.15~git Report bugs to <ham...@li...> rig:rig_init called rig: loading backend kenwood initrigs2_kenwood called rig_register (213) rig_register (201) rig_register (225) rig_register (203) rig_register (204) rig_register (216) rig_register (224) rig_register (205) rig_register (207) rig_register (209) rig_register (210) rig_register (222) rig_register (214) rig_register (230) rig_register (221) rig_register (229) rig_register (202) rig_register (211) rig_register (206) rig_register (208) rig_register (215) rig_register (226) rig_register (217) rig_register (233) rig_register (220) rig_register (223) rig_register (227) rig_register (231) rig_register (231) rig_register (228) rig_register (219) rig_register (232) kenwood_init called kenwood_init: if_len = 38 rig_set_conf: serial_handshake='XONXOFF' rig:rig_open called kenwood_open called kenwood_get_id called kenwood_transaction called kenwood_transaction: cmdstr = ID TX 3 bytes 0000 49 44 3b ID; RX 2 characters 0000 3f 3b ?; kenwood_transaction: Unknown command 'ID' TX 3 bytes 0000 49 44 3b ID; RX 1 characters 0000 49 I kenwood_transaction: Command is not correctly terminated 'I' TX 3 bytes 0000 49 44 3b ID; read_string: timedout 0.2 seconds without reading a character. TX 3 bytes 0000 49 44 3b ID; read_string: timedout 0.1 seconds without reading a character. kenwood_open: cannot get identification rig_open: error = Communication timed out Thanks, On 11/22/2011 05:04 PM, Nate Bargmann wrote: > Hi Adam. > > If you want to build the daily snapshot the morning of 23 Nov, I have > now added elapsed time to the read_string() timeout error message to the > Git master branch. I'd be interested to see the values you get from > xlog. > > 73, de Nate >> > -- VA7AQD Adam Clark Kamloops, BC |