MATES / Modular Automatic Test Equipment System API  2.5.0.0
mates_test_17.py
1 import mates
2 with mates.Mates("proxy.mon", 1) as m:
3  if m.discover_node(m.mates_dac5_mk1_2):
4  # Set default values of all DAC channels to 0.1 V.
5  for channel in range(40):
6  m.set_regf(m.mates_dac5_mk1_2, m.regs.REG_MATES_DAC5_MK1_DEF01 + channel, 0.1)