strange problem.
sapistico
Posts: 1
Hi Guys,
I am new in the forum and i hope some of you can help me..
I am using a BS2 to receive a string and a number from an outside system via 232. I want to store in a varible the number that is always preceeded by the 3 letters LKL.
Here is what i did:
AlrApp VAR Word
SERIN com1, baud, [WAIT ("LKL"),DEC4 AlrApp]
SEROUT com1, baud, [CR,BIN alrApp]
When i try it with the debug terminal of the BS editor it works fine and as soon as i type on the debug terminal LKL0023 i see the BS2 sending the Binary representation of alrApp varible. But when i try to make it work with hyperterminal i have to type twice LKL0023 in order to receive data from the BS2...
So basically the program works perfect with BS debug terminal and it doesn´t with any other terminal program. Does anybody know a reason for this?
Thanks a lot.
I am new in the forum and i hope some of you can help me..
I am using a BS2 to receive a string and a number from an outside system via 232. I want to store in a varible the number that is always preceeded by the 3 letters LKL.
Here is what i did:
AlrApp VAR Word
SERIN com1, baud, [WAIT ("LKL"),DEC4 AlrApp]
SEROUT com1, baud, [CR,BIN alrApp]
When i try it with the debug terminal of the BS editor it works fine and as soon as i type on the debug terminal LKL0023 i see the BS2 sending the Binary representation of alrApp varible. But when i try to make it work with hyperterminal i have to type twice LKL0023 in order to receive data from the BS2...
So basically the program works perfect with BS debug terminal and it doesn´t with any other terminal program. Does anybody know a reason for this?
Thanks a lot.
Comments
Dave
SERIN com1, baud, [WAIT ("L"),DEC4 AlrApp]
That way in case the 1st L went undetected it should capture the 2nd L as valid and continue..