Hi,
I'd like to send a csv line with data gathered from different com connections.
ie data1, data2 come from COM1
data3 comes from COM2
I want to send these data from COM3 as: "$;data1;data2;data3<CR><LF>
I managed to get the different data in COM3 configuration, then I try to set the output string in expressions plugin, but I found no way to append the <CR><LF> chars.
Any idea?
regards,
Pierre
Hello Pierre.
You may use expression like:
RESULT1 = 'Value' + #$0D + #$0A
At this way you may send characters with any code. The hexadecimal code is specified after the '$' sign.
Because <CR> (ASCII) = 0x0D (hex) and <LF> (ASCII) = 0x0A (hex), then the CR+LF combination looks as the example above.
I tried every possible way to write it, but not that one!
it's OK now, thank you very much,
best regards,
Pierre