<div dir="ltr"><div><div><div>hi, me again! i modify a little now the class, with a auto null semaphore<br><br></div>as everybody said, if there's data in the port a read event will raise, but there's not happened<br><br></div>i must manually send a read operation with my manual method to work.. why?<br><br></div>attached the project and also something when all the main.module lines executed, programs does not end...<br><br>another question, i have a property (printermananger) that access to a property in the printerclass<br> that behaviour are too complex or inneficient or improperty?<br><br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.com</a></font></div></div></div>
<br><div class="gmail_quote">2018-08-07 12:52 GMT-04:00 PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">El mar., 7 de ago. de 2018 a la(s) 09:42, Tony Morehen<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>...user space programs no longer need to deal
      with the low level details of handshaking and flow control..... and just read and write to the serial port as a stream.</p></div></blockquote><div>ok as i write, so gambas handle all the manage of the information <br>to read and write using stream and Eof, (wow so great! right? )<br></div><div>in any case was a great information about the data workflow,, thanks anyway tony<br></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
    <p>One issue that may arise, the linux kernel only uses CTS/RTS for
      flow control; it ignores DSR/DTS.<br></p></div></blockquote></span><div>important information many thanks for that, This must be in the gambas wiki page of the seria port too<br></div><div>i'll mark this mail and make a tutorial with better information <br></div><br><br><div dir="ltr">El mar., 7 de ago. de 2018 a la(s) 12:06, T Lee Davidson<br></div><span class="">> Even if any of them signal that data is available, the _Read event already does that for you.<br></span></div><div class="gmail_quote">yeah i already know, it's hard to explain for me ...<span class=""><br><br>> Perhaps your goal could be accomplished by implementing a SerialPort.Read event handler <br></span>NO, no more handlers or events, a normal procedimental methond<span class=""><br><br>> that adds the incoming data to a global accumulator, <br>> and then manually reading the accumulator and clearing it once it's read.<br></span></div><div class="gmail_quote">i want that in any moment can read the acumulator, and pas a command to modifi taht data<br></div><div class="gmail_quote">again hard to explain and there's too much information to hide by the company<br></div><span class=""><div class="gmail_quote">
<br>> However, that may run into collisions and data integrity issues <br>> if you try to manually read from, or clear, the accumulator<br>> while the event handler is writing to it. <br></div></span><div class="gmail_quote">yeah only if the data are not knowed but i really know parto of them<br></div><div class="gmail_quote">of course we need implement a semaphore<br></div><span class=""><div class="gmail_quote">
<br>
> Or, maybe using a Queue would meet your need: <a href="http://gambaswiki.org/wiki/comp/gb.data/queue" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/<wbr>comp/gb.data/queue</a> . <br>> (It's unfortunate that there's not much documentation on that.)<br></div></span><div class="gmail_quote">a concurrent problem on the wiki, it's suppost to be first source of information and seems it's maillist <br></div><div class="gmail_quote">i disagree that mailist be a source of information, a documentaiton it's the main tower of any project!<br></div><div class="gmail_quote"><br></div></div>
</blockquote></div><br></div>