Search found 2 matches

by CordWinkelmann
Thu Oct 16, 2014 8:13 pm
Forum: Adapter/Wrapper/Access Framework
Topic: CSV protocol handler: EOL character?
Replies: 3
Views: 635

Re: CSV protocol handler: EOL character?

Hello Mr. Grawunder, thank's for your reply. So basically my send function looks like this: // Schnipp sprintf(buffer, "%d,%d\n", value1, value2); if ( (n = write( sockfd, buffer, strlen(buffer) ) ) < 0 ) error("ERROR writing to socket"); //Schnapp This results in the mentioned string "value1,value2...
by CordWinkelmann
Thu Oct 16, 2014 12:37 pm
Forum: Adapter/Wrapper/Access Framework
Topic: CSV protocol handler: EOL character?
Replies: 3
Views: 635

CSV protocol handler: EOL character?

Hello, I am using the CSV protocol handler to get data from the TCPClient transport handler. The server sends the Data in the format value1,value1\n. The schema is ['A', 'DOUBLE'], ['B', 'DOUBLE'], and so on. The values are transmitted correctly but the \n results in an <ERROR> value. If my schema c...