I am trying to establish communication with electrical test equipment for remote control and data logging with a python script. I am unable to even get off the ground. It looks like I am unable to open the port? Any help is appreciated. I am on a Windows machine using VSCode terminal.
PS C:\Users\AaronVaughan> py -m serial.tools.list_ports
COM6
1 ports found
>>> import serial
>>> ser = serial.Serial(port="COM6")
...
serial.serialutil.SerialException: could not open port 'COM6': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)