Skip to content

Commit 22c8c6d

Browse files
author
neil.hamilton
committed
Adds PICO_INFO to ps6000.py
1 parent a97df5c commit 22c8c6d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

picosdk/ps6000.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,21 @@ def __init__(self):
110110
"PS6000_PW_TYPE_OUT_OF_RANGE"
111111
])
112112

113+
ps6000.PICO_INFO = {
114+
"PICO_DRIVER_VERSION":0,
115+
"PICO_USB_VERSION":1,
116+
"PICO_HARDWARE_VERSION":2,
117+
"PICO_VARIANT_INFO":3,
118+
"PICO_BATCH_AND_SERIAL":4,
119+
"PICO_CAL_DATE":5,
120+
"PICO_KERNAL_VERSION":6
121+
"PICO_DIGITAL_HARDWARE_VERSION":7,
122+
"PICO_ANALOGUE_HARDWARE_VERSION":8,
123+
"PICO_FIRMWARE_VERSION_1":9,
124+
"PICO_FIREWARE_VERSION_2":'A'
125+
}
126+
127+
113128
class PS6000_TRIGGER_CONDITIONS (Structure):
114129
_pack_ = 1
115130
_fields_ = [("channelA", c_uint32),

0 commit comments

Comments
 (0)