<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for ctrlsys</title><link href="https://forge.codesys.com/u/ctrlsys/activity/" rel="alternate"/><id>https://forge.codesys.com/u/ctrlsys/activity/</id><updated>2020-03-08T15:33:10.031000Z</updated><subtitle>Recent activity for ctrlsys</subtitle><entry><title>ctrlsys posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/02db1084d8/?limit=25#601d" rel="alternate"/><published>2020-03-08T15:33:10.031000Z</published><updated>2020-03-08T15:33:10.031000Z</updated><author><name>ctrlsys</name><uri>https://forge.codesys.com/u/ctrlsys/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/02db1084d8/?limit=25#601d</id><summary type="html">Hello I have a question about serial communication. I'm trying to get data from a document scanner that returns values on several lines. How to save data to variable (s). I am using the SerialComWithVisu example. comRead(xExecute:= TRUE, hCom:= hCom, pBuffer:= ADR(bReadBuffer), szBuffer:= SIZEOF(bReadBuffer)); IF comRead.xDone THEN szRead:= comRead.szSize; //check if the Port has send something IF szRead &gt; 0 THEN //the text from the read buffer is saved in the sReadText variable MEM.MemMove(ADR(bReadBuffer),...</summary></entry></feed>