Micom_Electric/CAN 2013. 11. 3. 20:37

CAN232 - 

Improved 

CAN232 Lite


CAN232

CAN232

General Information:

CAN232 is a very small dongle that plugs into any PC COM Port, or any other RS232 port in an embedded system and gives an instant CAN connectivity. This means it can be treated by software as a standard COM Port (serial RS232 port) which eliminates the need for any extra drivers. Sending and receiving can be done in standard ASCII format.

http://www.can232.com/?page_id=14

http://www.can232.com/?page_id=72

문제있는 시리얼 통신 모듈 개선
private void serialPort_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
{
try
{
//receiveBuffer = serialPort.ReadExisting();
receiveBuffer = serialPort.ReadTo("\r");
           this.Invoke(new EventHandler(DisplayText));
}
catch (System.TimeoutException)
{
}
}


posted by 털보네i
: