iblrig.serial_singleton.get_port_from_serial_number

iblrig.serial_singleton.get_port_from_serial_number(serial_number)[source]

Retrieve the com port of a USB serial device identified by its serial number.

Parameters:

serial_number (str) – The serial number of the USB device that you want to obtain the communication port of.

Returns:

The communication port of the USB serial device that matches the serial number provided by the user. The function will return None if no such device was found.

Return type:

str or None

Parameters:

serial_number (str)