TabsTheCat
New member
- Joined
- Dec 16, 2010
- Messages
- 3
- Programming Experience
- 10+
Hi Everyone
I'm using the VB 2010 SerialPort and I cannot work how or if it supports idle line detect i.e. when the receive line stops receiving data and it sits at logic 1 for more than a byte time interval (it is not a break detect as that is when the line is held at logic 0 instead)
I need to detect the line idle event (if it exists) as the particular serial communications protocol I need to recieve uses this for synchronisation.
The system timers are of no use as the shortest 1ms tick is too slow for the baud rate I am using and it will miss short line idle intervals.
Does anyone know how to detect SerialPort line idle?
Thanks in advance.
I'm using the VB 2010 SerialPort and I cannot work how or if it supports idle line detect i.e. when the receive line stops receiving data and it sits at logic 1 for more than a byte time interval (it is not a break detect as that is when the line is held at logic 0 instead)
I need to detect the line idle event (if it exists) as the particular serial communications protocol I need to recieve uses this for synchronisation.
The system timers are of no use as the shortest 1ms tick is too slow for the baud rate I am using and it will miss short line idle intervals.
Does anyone know how to detect SerialPort line idle?
Thanks in advance.