.NET SerialPort DataReceived event not firing

前端 未结 9 681
忘掉有多难
忘掉有多难 2020-12-09 22:52

I have a WPF test app for evaluating event-based serial port communication (vs. polling the serial port). The problem is that the DataReceived event doesn\'t seem to be fir

9条回答
  •  庸人自扰
    2020-12-09 23:36

    I have had similar issue when running such a driver from a Form, as well, though no VSPE just a plain SP. Believe this was a STA-model issue as moving to including it in a console app fixed enough.

提交回复
热议问题