How Do I Upload Data From Scanner Device To A Application In Computer Byte By Byte Through Com Port Opening In C#
please help
thanks in advance
How Do I Upload Data From Scanner Device To A Application In Computer Byte By Byte Through Com Port Opening In C#
please help
thanks in advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Eric ZimmermanPosted Jan 22, 2014, 11:53 PM
The SerialPort class has a DataReceived event which you can hook up to. You could either utilize some of the framework in OpenStack and look at what the Modbus LLC is doing or simply iterate through the bytes received in the serialPort.Read() call.
http://sourceforge.net/projects/openstack/
I hope this helps!
Eric