ngscopeclient / xptools

Cross-platform helper classes/functions too small to deserve their own library. Normally pulled into larger repos as a submodule.
BSD 3-Clause "New" or "Revised" License
3 stars 25 forks source link

Getting data from the Virtual Com Port on windows #26

Open Kortepk opened 7 months ago

Kortepk commented 7 months ago

Hello, I want to transfer data from the microcontroller in the application. How do I need to configure the data to be read from COM5?

image

azonenberg commented 7 months ago

Moved to xptools as that's the root issue.

The UART class in libxptools doesn't currently support Windows serial ports. If you add appropriate code paths to open, set baud rate, and read/write to the COM device object, then the libscopehal SCPIUARTTransport class should pick it up and work fine on Windows.