Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
...
SetReceiveEol(eol_sequence As String)
Sets the sequence that will signify the end of line and cause a roStreamLineEvent to be delivered to the message port set by SetLineEventPort. If you need to set this value to a non-printing character, use the chr()
global function or an roByteArray. If the sequence contains NUL bytes it must be passed as an roByteArray since strings may not contain NUL bytes.
To use a NUL byte as a line terminator:
Code Block | ||
---|---|---|
| ||
eol = CreateObject("roByteArray") eol.Push(0) mp = CreateObject("roMessagePort") client = CreateObject("roTCPStream"roSerialPort", 0, 115200) client.SetReceiveEol(eol) client.SetLineEventPort(mp) |
...