Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

reading incoming data from serial port

If you have a question or need help, this is the place to be.
Post Reply
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

reading incoming data from serial port

Post by Fiasco »

I'm writing a plugin that returns hex data.

How can I write my onReceive method and serial.read function to just spit out whats coming in? I can't get it to spit out anything (but I can see the incoming data in a serial port monitor when ran seperately)
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: reading incoming data from serial port

Post by stottle »

Take a look at some of the plugins that come with EG. AIRT/Barco/JVCHD1Serial/Onkyo all use serial ports it looks like. Maybe one can help you. I just did a search for SetReadEventCallback from Notepad++ to get that list, BTW. Nice find in files capability.

Brett
User avatar
Fiasco
Plugin Developer
Posts: 222
Joined: Fri Jul 24, 2009 5:32 am
Location: St. Louis MO
Contact:

Re: reading incoming data from serial port

Post by Fiasco »

I just figured it out.

It seems just asking the question makes it work.
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: reading incoming data from serial port

Post by stottle »

Fiasco wrote:It seems just asking the question makes it work.
Nice. That's funny.

Brett
Post Reply