mahos.inst.filter_wheel.Thorlabs_FW102#
- class mahos.inst.filter_wheel.Thorlabs_FW102(name, conf=None, prefix=None)#
Thorlabs Filter Wheel FW102.
You need to place the native (C) DLL somewhere.
- Parameters:
dll_dir (str) – The directory path containing DLL.
dll_name (str) – (default: FilterWheel102_win64.dll) The file name of DLL.
serial (str) – (default: “”) Serial string to discriminate multiple wheels. Blank is fine if only one wheel is connected.
pos_filter (dict[int, str]) – Mapping from filter position (int) to name (str). Note that this mapping must be injective (every name must be unique).
baud_rate (int) – (default: 115200) Baud rate for connection.
timeout (int) – (default: 3) Timeout (in sec) for connection.
- __init__(name, conf=None, prefix=None)#
Methods
__init__
(name[, conf, prefix])close_resources
()Close instrument resources.
configure
(params[, label])Configure the instrument settings.
get
(key[, args, label])Get an instrument setting or measurement data.
get_filter
()get_param_dict
([label])Get ParamDict for label.
get_param_dict_labels
()Get list of available ParamDict labels.
get_pos
()Get wheel position (1-12).
get_pos_count
()Get wheel position (1-12).
set_pos
(pos)Set wheel position (1-12).