Home > Net > C # how to monitor already open the serial port of the received data
C # how to monitor already open the serial port of the received data
Time:10-13
As title, PC serial port has been open an application, is for data communication,
How, in this case, to monitor the serial port of packets,
There are bus hound this USB caught tool, can capture valid data directly from the USB,
Please c # developed how to achieve? Thank you very much!
CodePudding user response:
This like yesterday which to emulation posts, our answer is, you don't want to,
And the post, it needs to be driven development DDK, you need to do is "the use of DDK development a driver filter drivers" (DDK development kit demo itself has driven filtering demo, c + +)
So we say, if the premises is net, my suggestion is that you might as well use directly bus hound drive, such as his driver is bhound7 sys
You directly with his driver, as for the c # how driven communications, that is CreateFile general methods, standards such as IODeviceControl win32api, of course bhound7. Sys this thing has its own IODeviceControl command parameters, this can only be studied by yourself
CodePudding user response:
AccessPort the software works, PC monitor is the serial port communication message, and don't open conflict
CodePudding user response:
Do not know to understand right, try SerialPort method DataReceived events to monitor?