Skip to content

Commit 4127c25

Browse files
author
neil.hamilton
committed
Add PS6000_TRIGGER_STATE enum to ps6000.py
1 parent 7e473dc commit 4127c25

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

picosdk/ps6000.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ def __init__(self):
7676
"PS6000_MAX_TIME_UNITS",
7777
])
7878

79+
ps6000.PS6000_TRIGGER_STATE = make_enum([
80+
"PS6000_CONDITION_DONT_CARE",
81+
"PS6000_CONDITION_TRUE",
82+
"PS6000_CONDITION_FALSE",
83+
"PS6000_CONDITION_MAX",
84+
])
85+
7986
class PS6000_TRIGGER_CONDITIONS (Structure):
8087
_pack_ = 1
8188
_fields_ = [("channelA", c_uint32),

0 commit comments

Comments
 (0)