Home > Net >  C # program to write a serial port to read equipment (232 serial port communication protocol)
C # program to write a serial port to read equipment (232 serial port communication protocol)

Time:09-21

Have the instruments and equipment 232 communication protocol, because all the software knowledge is self-study, shallow knowledge, how can read equipment information??????? Or through the virtual serial port to intercept device data, there will be a ChongXie

CodePudding user response:

https://blog.csdn.net/hitwhzhongqiu/article/details/43087085
Hope this helpful for you,

CodePudding user response:

Rs232 is standard.. Rather than deal..

The so-called protocol is data in the transmission of meaning (so I understand)

Such as a set of data communications a5 02 05 0 x 0 d 5 a (literally) in order to explain the meaning

A5 is head 02 length 05 function is 0 x is 0 d data check 5 a is the tail.

Different protocols, of course, the meaning of a particular byte is not the same.. This is just an example..

Say to a serial port, so definitely not 2 tools. The first is a serial port debug tool. There is not much is to send and receive serial data.

Another belongs to "listen" tool but I really forgot what was the name of the baidu search for a moment as if CommMonitor you can have a try..

This tool in the process of serial port communication can be stopped the serial port to send and receive data show..

So your device at work (software) system at using open the tool will you put the software with a device communications data to get down. In your analysis.

Something such as a read temperature in the software shows you see corresponding data in the serial data to get the. Do you want.

But for the simple protocol can also.. Some many serial data you can't find.. So find the official basically has a communication protocol of the secondary development of the document.

  •  Tags:  
  • C#
  • Related