Page 1 of 1

Reading from a socket and putting reply into a logfield

Posted: Wed Dec 18, 2013 12:33 pm
by ivaho
Hi,

I'am reading from a socket connection and want to put the received messages in a log field

read from socket "172.27.101.208:5423" until empty
put it after field "logField"
send "readLoop" to me in 50 milliseconds

Whit this code the received data is al put on 1 line

OK&ACK OK&ACK OK&ACK OK&ACK OK&READY......

How to get the mesages recieved on a new line?

Re: Reading from a socket and putting reply into a logfield

Posted: Wed Dec 18, 2013 12:37 pm
by Klaus
Dag ivaho,

well, just add a new line :D
...
put CR & it after field "logField"
...


Best

Klaus

Re: Reading from a socket and putting reply into a logfield

Posted: Wed Dec 18, 2013 8:21 pm
by ivaho
Klaus,

Thank you for your reply.

What is the best place to look/find these simple commands?