/
MATES
/ Modular Automatic Test Equipment System API
2.5.0.0
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
mates_test_24.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 raw ADC code read from channel IN10.
5
value = m.get_adc_raw(m.mates_adc5_mk1_1, 9)
6
print(
"Raw value at channel IN10: {0}"
.format(value))