Serial Error: Could not open port ‘COM5’: PermissionError… when trying to send byte over Virtual serial port
I am trying to run 2 very basic test scripts, a read script and a write test script over serial communication using loopback. I have the read script in a while loop to read bytes received. I have the write script sending a single byte whenever I run it. The issue I am running into is I am trying to setup communication over a Virtual serial port set to COM5 using loopback. The read script connects and opens the port and the write script attempts to write through that port to the read script. But when I run the write script it gives me this error:
Serial Error: Could not open port ‘COM5’: PermissionError… when trying to send byte over Virtual serial port
I am trying to run 2 very basic test scripts, a read script and a write test script over serial communication using loopback. I have the read script in a while loop to read bytes received. I have the write script sending a single byte whenever I run it. The issue I am running into is I am trying to setup communication over a Virtual serial port set to COM5 using loopback. The read script connects and opens the port and the write script attempts to write through that port to the read script. But when I run the write script it gives me this error:
Read CRSF data on PC from S.Port
I have remote control Radiomaster TX12 mk2 (EdgeTX).
External RF + CRF mode is enabled