CW using rigctl

Help
2010-08-30
2013-01-15
  • Is there anyway to send multiple commands incl code (b command) in interactive mode or from command line?

    sudo rigctl -m 214 -r /dev/ttyUSB0 -s 57600 T 1 b ON4IY T 0
    does not work

    sudo rigctl -m 214 -r /dev/ttyUSB0 -s 57600 T 1
    sudo rigctl -m 214 -r /dev/ttyUSB0 -s 57600 b ON4IY
    sudo rigctl -m 214 -r /dev/ttyUSB0 -s 57600 T 0
    is fine (I know this can be solved with a script or so)

    in interactive mode
    "T1 bON4IY T0" sends T0 as code in stead of switch off PTT

    T1
    bON4IY
    T0
    works fine

    Xtof.

     
  • Sending multiple commands from command line works for me (albeit with dummy backend) :

    $ rigctl -vvvvv T 1 b ON4IY T 0
    rigctl, Hamlib 1.2.12svn
    Report bugs to <hamlib-developer@lists.sourceforge.net>
    rig:rig_init called 
    rig: loading backend dummy
    dummy: _init called
    rig_register (1)
    rig_register (2)
    dummy_init called
    rig:rig_open called 
    dummy_open called
    dummy_get_vfo called: VFOA
    Opened rig model 1, 'Dummy'
    Backend version: 0.5, Status: Beta
    dummy_set_ptt called
    dummy_send_morse called: ON4IY
    dummy_set_ptt called
    rig:rig_close called 
    dummy_close called
    rig:rig_cleanup called 
    dummy_cleanup called
    

    Can you please show your terminal traces with -vvvvv ?

     
  • Trace below - the problem is the PTT only blinks, and morse is
    send while on receive. IT does work well in interactive mode
    using subsequent individual commands.

    Hope this helps,
    Xtof.

    xtof@alix:~$ sudo rigctl -vvvvv -m 214 -r /dev/ttyUSB0 -s 57600 T 1 b ON4IY T 0
    password for xtof:
    rigctl, Hamlib 1.2.10
    Report bugs to <hamlib-developer@lists.sourceforge.net>

    rig:rig_init called
    rig: loading backend kenwood
    kenwood: _init 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 (220)
    rig_register (223)
    rig_register (227)
    rig_register (228)
    kenwood_init
    kenwood_init: if_len = 38
    rig:rig_open called
    kenwood_transaction: IF
    TX 2 bytes
    0000 49 46 IF
    TX 1 bytes
    0000 3b ;
    RX 38 characters
    0000 49 46 30 30 31 34 34 31 30 35 30 30 30 20 20 20 IF00144105000  
    0010 20 2d 30 30 30 31 30 31 30 30 30 30 30 34 30 30 -00010100000400
    0020 30 30 30 38 30 3b                              00080;
    Opened rig model 214, 'TS-2000'
    Backend version: 0.7.3, Status: Beta
    kenwood_transaction: TX
    TX 2 bytes
    0000 54 58 TX
    TX 1 bytes
    0000 3b ;
    kenwood_transaction: KY ON4IY                  
    TX 27 bytes
    0000 4b 59 20 4f 4e 34 49 59 20 20 20 20 20 20 20 20 KY ON4IY       
    0010 20 20 20 20 20 20 20 20 20 20 20                         
    TX 1 bytes
    0000 3b ;
    kenwood_transaction: RX
    TX 2 bytes
    0000 52 58 RX
    TX 1 bytes
    0000 3b ;
    rig:rig_close called
    rig:rig_cleanup called
    xtof@alix:~$ sudo rigctl -vvvvv -m 214 -r /dev/ttyUSB0 -s 57600 T 1 b ON4IY T 0
    rigctl, Hamlib 1.2.10
    Report bugs to <hamlib-developer@lists.sourceforge.net>

    rig:rig_init called
    rig: loading backend kenwood
    kenwood: _init 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 (220)
    rig_register (223)
    rig_register (227)
    rig_register (228)
    kenwood_init
    kenwood_init: if_len = 38
    rig:rig_open called
    kenwood_transaction: IF
    TX 2 bytes
    0000 49 46 IF
    TX 1 bytes
    0000 3b ;
    RX 38 characters
    0000 49 46 30 30 31 34 34 31 30 35 30 30 30 20 20 20 IF00144105000  
    0010 20 2d 30 30 30 31 30 31 30 30 30 30 30 34 30 30 -00010100000400
    0020 30 30 30 38 30 3b                              00080;
    Opened rig model 214, 'TS-2000'
    Backend version: 0.7.3, Status: Beta
    kenwood_transaction: TX
    TX 2 bytes
    0000 54 58 TX
    TX 1 bytes
    0000 3b ;
    kenwood_transaction: KY ON4IY                  
    TX 27 bytes
    0000 4b 59 20 4f 4e 34 49 59 20 20 20 20 20 20 20 20 KY ON4IY       
    0010 20 20 20 20 20 20 20 20 20 20 20                         
    TX 1 bytes
    0000 3b ;
    kenwood_transaction: RX
    TX 2 bytes
    0000 52 58 RX
    TX 1 bytes
    0000 3b ;
    rig:rig_close called
    rig:rig_cleanup called