Sending a string and getting an odd result
tbell
Posts: 10
Hi all,
I am sending a Hex string to a Projector from raw Hex characters and have to calculate the Checksum. While I have no problem with the checksum calculation, when I send it to the projector it is being changed to 0W.
for example:
SEND_STRING dvPj, "$00,$85,$00,$D0,$01,$01,$00,$57" //Status request
Checksum = 157, use lower of 57
What I see being sent is: Line 2 (07:55:44):: String To [5002:1:1]-[#0#133#0#208#1#1#0W]
Which the projector sees as an incorrect string, and sends no feedback.
Can anyone tell me why the final checksum is being changed to 0W? And what can I do to make it stay the actual character I need?
I appreciate any feedback!
Frustratedly yours,
Tim.
I am sending a Hex string to a Projector from raw Hex characters and have to calculate the Checksum. While I have no problem with the checksum calculation, when I send it to the projector it is being changed to 0W.
for example:
SEND_STRING dvPj, "$00,$85,$00,$D0,$01,$01,$00,$57" //Status request
Checksum = 157, use lower of 57
What I see being sent is: Line 2 (07:55:44):: String To [5002:1:1]-[#0#133#0#208#1#1#0W]
Which the projector sees as an incorrect string, and sends no feedback.
Can anyone tell me why the final checksum is being changed to 0W? And what can I do to make it stay the actual character I need?
I appreciate any feedback!
Frustratedly yours,
Tim.
0
Comments
Personally, I use debugging send_string 0 functions that I created for this, so I can get a more readable format in the telnet session.
Thanks Guys!
From the sound of it, I was over reacting to what I was "Seeing" in the send string in the output bar.
I did send the string using the way you suggested Send_String dvPJ, "string,chksum" and it works for every other command that I have (inputs, power, etc.)
Thanks for the clarification, and the cool trick!