pyccapt.control.usb_switch package

Submodules

pyccapt.control.usb_switch.usb_switch module

class pyccapt.control.usb_switch.usb_switch.USBSwitch(dll_path)[source]

Bases: object

This class is used to control the USB switch.

Initialize the USB switch.

Parameters:

dll_path (str) – Path to the USBaccessX64.dll file.

Returns:

None

switch_off(switch_number)[source]

Switch off the USB switch.

Parameters:

switch_number (int) – Switch number. It is 16 first the first switch.

Returns:

None

switch_on(switch_number)[source]

Switch on the USB switch.

Parameters:

switch_number (int) – Switch number. It is 16 first the first switch.

Returns:

None

Module contents