/
MATES
/ Modular Automatic Test Equipment System API
2.5.0.0
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
mates_test_25.py
1
import
mates
2
with mates.Mates(
"proxy.mon"
, 1)
as
m:
3
if
m.discover_node(m.mates_dio3_mk1_1):
4
# Set channel OUT20 to high, save as default,
5
# then set to low and save as default.
6
m.set_dout(m.mates_dio3_mk1_1, 19, 1)
7
m.save_default(m.mates_dio3_mk1_1, 19)
8
m.set_dout(m.mates_dio3_mk1_1, 19, 0)
9
m.save_default(m.mates_dio3_mk1_1, 19)