mahos.inst.daq.DigitalOut#
- class mahos.inst.daq.DigitalOut(name, conf, prefix=None)#
A DAQ Task class for a Digital Output channels.
- Parameters:
lines (list[str]) – list of strings to designate DAQ’s physical channels.
auto_start (bool) – If True, StartTask() is called in the constructor.
command (dict[str, list[bool | int]]) – dict of command name to predefined output data.
- __init__(name, conf, prefix=None)#
Methods
__init__(name, conf[, prefix])set(key[, value, label])Set an instrument setting or commanding value.
set_command(name)set_output(data)set_output_high()set_output_low()set_output_pulse()set_output_pulse_neg()