Artifacts Associated With Ticket 1027924fffffffffffffffffffffffffffffffff
Ticket change [ca83ecd340] (rid 95360) by nobody on 2004-09-14 13:56:47:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
tcl version 8.4.2 system windows xp problem:- setting serial com port to translation binary causes data to be output to the serial port ending with a LF. The data should end blank. This is a problem when using RS485 Modbus protocol for the commands sent are not recognized by remote equipment because of this LF. I can supply oscilloscope traces of a working solution using Visual Basic and the erroneous output using Tcl. code: #send rtu command to config use with asci set tty [open com2 {WRONLY}] fconfigure $tty -translation {binary} fconfigure $tty -buffering {none} -buffersize 8 fconfigure $tty -handshake {none} -mode 9600,n,8,1 fconfigure $tty -blocking 1 -timeout 1000 fconfigure $tty -eofchar {} set tx_comms [binary format "W1" 0x0105000300003dca] puts $tty $tx_comms pause 100 set tty [close $tty] - foundin initialized to: "obsolete: 8.4.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "None"
- title initialized to: "translation binary"
- type initialized to: "Bug"
Ticket change [9d6dfa50a9] (rid 96303) by dkf on 2004-09-14 21:00:57:
- assignee changed to: "andreas_kupries"
- closedate changed to: "2004-09-14T14:00:57"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 This is by design. Use: puts -nonewline $tty $tx_comms
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- subsystem changed to: "24. Channel Commands"
- username: "dkf"