null characters
Roland Jollivet from South Africa  [99 posts]
8 years

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 from United States  [1426 posts] 7 years

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