The analogdevices_ad5667 module¶
Autogenerated API documentation for analogdevices_ad5667¶
Driver for the Analog Devices AD5667 2 channel analog output DAC
Implemented from the manual located here and the examples located here.
-
class
PyExpLabSys.drivers.analogdevices_ad5667.AD5667(address=14)[source]¶ Bases:
objectDriver for the Analog Devices AD5667 2 channel analog output DAC
-
enable_onbaord_reference()[source]¶ Enable on-board reference voltage, if no voltage reference is externally given, the onboard must be enabled.
-
write_to_and_update_dac(dac, value)[source]¶ Set a voltage value on the DAC
Parameters: Raises: ValueError– On bad DAC name or bad value
-
set_channel_A(voltage)[source]¶ Set a voltage of channel A
Parameters: value (float) – A float between 0.0 and 5.0 See
write_to_and_update_dac()for details on exceptions
-
set_channel_B(voltage)[source]¶ Set a voltage of channel B
Parameters: value (float) – A float between 0.0 and 5.0 See
write_to_and_update_dac()for details
-
set_both(voltage)[source]¶ Set a voltage of both channels
Parameters: value (float) – A float between 0.0 and 5.0 See
write_to_and_update_dac()for details
-