mahos.inst.piezo.E727_3_USB_AO#
- class mahos.inst.piezo.E727_3_USB_AO(name, conf, prefix=None)#
E727.3 driver using USB connection of PIPython and DAQ AnalogOut.
- Parameters:
start_servo (bool) – (default: True) if True, start servo on init.
axes_order (tuple[int, int, int]) – (default: [0, 1, 2]) permutation for piezo axes IDs and (x, y, z). When axes_order is [1, 2, 0], the x axis is piezo axis of index 1, and the y (z) axis is index 2 (0).
lines (list[str]) – list of strings to designate DAQ AnalogOut physical channels. Order them as [x, y, z].
scale_volt_per_um (float) – the AnalogOut voltage scale in V / um. the output voltage is determined by: (pos_um - offset_um) * scale_volt_per_um.
offset_um (float) – the AnalogOut voltage offset in um. see scale_volt_per_um too.
samples_margin (int) – (has preset, default: 0) margin of samples for AnalogOut.
write_and_start (bool) – (has preset, default: True) if False, DAQ Task is started and then scan data is written in start_scan(). True reverses this order.
- __init__(name, conf, prefix=None)#
Methods
__init__(name, conf[, prefix])close_ao()close_resources()Close instrument resources.
configure(params[, label])Configure the instrument settings.
get(key[, args, label])Get an instrument setting or measurement data.
get_scan_buffer_size()join(timeout_sec)load_conf_preset(dev_type)move()shutdown()Shutdown the instrument and get ready to hard power-off.
start([label])Start the instrument operation.
start_scan(scan_array)start the configured scan with scan_array.
stop([label])Stop the instrument operation.
um_to_volt(pos_um)um_to_volt_raw(pos_um)volt_to_um(volt)write_scan_array(scan_array)Attributes