null characters
Roland from South Africa  [107 posts]
10 year

How does one send null characters, ie 0x00 through the serial port in a string?

As seen in the attached pic, I can send the characters in the direct 'Send Now' window, as in;

but if I concatenate characters with & as in;
setVariable "serdat",chr(85)&chr(170)&chr(01)&chr(00)&chr(01)&chr(00)&chr(00) ........

it stops at the first chr(00)

I can't find the correct syntax to send my string out.


Steven Gentner from United States  [1446 posts] 10 year

Give the most recent version a try ... we've updated the Send Sequence to allow for null characters to be sent correctly.


This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index