Page 1 of 1

ASCII+Ctl works not correctly (fixed)

Posted: Mon Nov 24, 2008 10:57 pm
by djvomght
Hallo Mike and all,

while testing the new ASCII+Ctl mode for RS232 commands I found, that only the last control code is interpreted correctly.
I.e. <STX>POF<ETX> is translated to Hex 3c 53 54 58 3e 50 4f 46 03 (and this will be sent via RS232) and not to 02 50 4f 46 03, which would be correct.
The command is saved correctly in SCS file as follows:
----------------------------------------------------------------------------------------------------------------------------------------------
Q1 test M test True RS232 RS232 ASCII+CTL False <STX>POF<ETX>
----------------------------------------------------------------------------------------------------------------------------------------------
This error occurs, when the closing angle bracket is followed by another character.

Regards Jörg

Re: ASCII+Ctl works not correctly

Posted: Tue Nov 25, 2008 8:33 am
by Mike Daniell
Oops! Typo in the decoding of 3-character control codes! I've re-uploaded 10.3.0 (build 2008/11/25 07:05) with this fixed.

Re: ASCII+Ctl works not correctly (fixed)

Posted: Wed Nov 26, 2008 2:03 am
by djvomght
Many thanks for the fix, now it's perfect.

Regards Jörg