MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_16.py
1 import mates
2 with mates.Mates("proxy.mon", 1) as m:
3  if m.discover_node(m.mates_dac5_mk1_2):
4  # Get default value of the first DAC output.
5  value = m.get_regf(m.mates_dac5_mk1_2, m.regs.REG_MATES_DAC5_MK1_DEF01)
6  print("Default voltage value: {0} V".format(value))