/
MATES
/ Modular Automatic Test Equipment System API
2.5.0.0
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
mates_test_23.py
1
import
mates
2
with mates.Mates(
"proxy.mon"
, 1)
as
m:
3
if
m.discover_node(m.mates_adc5_mk1_1):
4
# Get voltage read from channel IN10.
5
value = m.get_adc(m.mates_adc5_mk1_1, 9)
6
print(
"Voltage at channel IN10: {0} V"
.format(value))