mahos.inst.daq.AnalogOut#
- class mahos.inst.daq.AnalogOut(name, conf, prefix=None)#
A configurable DAQ Task class for Analog Output voltage channel(s).
- Parameters:
lines (list[str]) – list of strings to designate DAQ’s physical channels.
bounds (list[tuple[float, float]]) – bounds (min, max) values of the output voltage per channels.
samples_margin (int) – (has preset, default: 0) margin for sampsPerChanToAcquire arg of CfgSampClkTiming. params[“samples”] + samples_margin is passed for the argument.
- __init__(name, conf, prefix=None)#
Methods
__init__
(name, conf[, prefix])clip
(volts)Clip the voltage values if it exceeds max or min bounds.
configure
(params[, label])Configure the instrument settings.
get
(key[, args, label])Get an instrument setting or measurement data.
get_buffer_size
()get_onboard_buffer_size
()load_conf_preset
(dev_type)set
(key[, value, label])Set an instrument setting or commanding value.
set_output
(volts, auto_start)Set output analog voltages.
set_output_once
(volts)