serial port problem

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
Kkamudu
Experienced Solver
Experienced Solver
Posts: 61
Joined: Sun Jul 06, 2008 7:59 am

serial port problem

Post by Kkamudu » Tue Apr 20, 2010 2:43 am

Hello all,
I need to access the serial port and to do so, I opened the port and set the comm parameters using device control block.

When I write to port using writefile (not overlapped), the data is being sent properly (able to see on another comp)

Data on the serial port can come at any time, so I used a timer. On every timer event I am reading the file (port) for any characters. I have set the timer interval at 2mSec. Once I start the timer, I am having problems in even sending. Junk is being sent. I used the timer since there is no event gets generated for any character received on the port. What could be the problem with the timer? Is there any other way to access serial port? Thank you.

Kamesh
Kamesh

haroldjpa
Knows some wx things
Knows some wx things
Posts: 25
Joined: Mon Oct 16, 2006 11:43 pm

Post by haroldjpa » Thu Jul 15, 2010 4:58 pm

look at this web

https://iftools.com/opensource/ctb.en.php

i made a serial program with that library wxCTB
Si sabes espa

Lutz
In need of some credit
In need of some credit
Posts: 2
Joined: Sat Aug 14, 2010 7:19 pm

Post by Lutz » Sun Aug 15, 2010 6:44 pm

Hello,

i found it quite difficult to understand the documentation. Does anything more detailed exist?

Post Reply