thorlabs_apt_device.devices.bbd module¶
- class thorlabs_apt_device.devices.bbd.BBD201(serial_port=None, vid=None, pid=None, manufacturer=None, product=None, serial_number='73', location=None, home=True, invert_direction_logic=False, swap_limit_switches=True)[source]¶
Bases:
APTDevice_BayUnit
A class for ThorLabs APT device model BBD201.
It is based off
APTDevice_BayUnit
configured with a single channel and the the BBD serial number preset in the initialisation method.- Parameters:
serial_port – Serial port device the device is connected to.
vid – Numerical USB vendor ID to match.
pid – Numerical USB product ID to match.
manufacturer – Regular expression to match to a device manufacturer string.
product – Regular expression to match to a device product string.
serial_number – Regular expression matching the serial number of device to search for.
location – Regular expression to match to a device bus location.
home – Perform a homing operation on initialisation.
invert_direction_logic – Invert the meaning of “forward” and “reverse” directions.
swap_limit_switches – Swap “forward” and “reverse” limit switch values.
- class thorlabs_apt_device.devices.bbd.BBD202(serial_port=None, vid=None, pid=None, manufacturer=None, product=None, serial_number='73', location=None, home=True, invert_direction_logic=False, swap_limit_switches=True)[source]¶
Bases:
APTDevice_BayUnit
A class for ThorLabs APT device model BBD202.
It is based off
BBD_BSC
configured with two channels and the the BBD serial number preset in the initialisation method.- Parameters:
serial_port – Serial port device the device is connected to.
vid – Numerical USB vendor ID to match.
pid – Numerical USB product ID to match.
manufacturer – Regular expression to match to a device manufacturer string.
product – Regular expression to match to a device product string.
serial_number – Regular expression to match to a device serial number.
home – Perform a homing operation on initialisation.
invert_direction_logic – Invert the meaning of “forward” and “reverse” directions.
swap_limit_switches – Swap “forward” and “reverse” limit switch values.
- class thorlabs_apt_device.devices.bbd.BBD203(serial_port=None, vid=None, pid=None, manufacturer=None, product=None, serial_number='73', location=None, home=True, invert_direction_logic=False, swap_limit_switches=True)[source]¶
Bases:
APTDevice_BayUnit
A class for ThorLabs APT device model BBD203.
It is based off
BBD_BSC
configured with three channels and the the BBD serial number preset in the initialisation method.- Parameters:
serial_port – Serial port device the device is connected to.
vid – Numerical USB vendor ID to match.
pid – Numerical USB product ID to match.
manufacturer – Regular expression to match to a device manufacturer string.
product – Regular expression to match to a device product string.
serial_number – Regular expression to match to a device serial number.
home – Perform a homing operation on initialisation.
invert_direction_logic – Invert the meaning of “forward” and “reverse” directions.
swap_limit_switches – Swap “forward” and “reverse” limit switch values.