[Gambas-user] using events of serial ports for reading how_?

PICCORO McKAY Lenz mckaygerhard at gmail.com
Mon Aug 6 15:43:31 CEST 2018


i'm again, with "strange" BUT INTERESTING questions

following the recommendations of tobias, i try to use events on my class
and i made:

public sub SCom_DSRChange(current Boolean)
  if Scomm.status = net.active then
    if scomm.dsr then
       try readmyport()
    endif
  endif
end

but nevert enter/raises/triggered!!!

my intencion is, "after a write to the port, as soon as possible made a
reading to the stream"

why or how can i made that?

thanks in advance

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180806/1c26501a/attachment.html>


More information about the User mailing list