@@ -34,4 +34,110 @@ class PICO_TRIGGER_CHANNEL_PROPERTIES(Structure):
3434 ("thresholdUpperHysteresis" , c_uint16 ),
3535 ("thresholdLower" , c_int16 ),
3636 ("thresholdLowerHysteresis" , c_uint16 ),
37- ("channel" , c_uint32 )]
37+ ("channel" , c_uint32 )]
38+
39+ picoStruct .PICO_TRIGGER_CHANNEL_PROPERTIES = PICO_TRIGGER_CHANNEL_PROPERTIES
40+
41+ class PICO_CONDITION (Structure ):
42+ _pack_ = 1
43+ _fields_ = [("source" , c_uint32 ),
44+ ("condition" , c_uint32 )]
45+
46+ picoStruct .PICO_CONDITION = PICO_CONDITION
47+
48+ class PICO_DIRECTION (Structure ):
49+ _pack_ = 1
50+ _fields_ = [("channel" , c_uint32 ),
51+ ("direction" , c_uint32 ),
52+ ("thresholdMode" , c_uint32 )]
53+
54+ picoStruct .PICO_DIRECTION = PICO_DIRECTION
55+
56+ class PICO_USER_PROBE_INTERACTIONS (Structure ):
57+ _pack_ = 1
58+ _fields_ = [("connected" , c_uint16 ),
59+ ("channel" , c_uint32 ),
60+ ("enabled" , c_uint16 ),
61+ ("probeName" , c_uint32 ),
62+ ("requiresPower" , c_uint8 ),
63+ ("isPowered" , c_uint8 ),
64+ ("status" , c_uint32 ),
65+ ("probeOff" , c_uint32 ),
66+ ("rangeFirst" , c_uint32 ),
67+ ("rangeLast" , c_uint32 ),
68+ ("rangeCurrent" , c_uint32 ),
69+ ("couplingFirst" , c_uint32 ),
70+ ("couplingLast" , c_uint32 ),
71+ ("couplingCurrent" , c_uint32 ),
72+ ("filterFlags" , c_uint32 ),
73+ ("filterCurrent" , c_uint32 )]
74+
75+ picoStruct .PICO_USER_PROBE_INTERACTIONS = PICO_USER_PROBE_INTERACTIONS
76+
77+ class PICO_DATA_BUFFERS (Structure ):
78+ _pack_ = 1
79+ _fields_ = [("channel" , c_uint32 ),
80+ ("waveform" , c_uint64 ),
81+ ("downSampleRatioMode" , c_uint32 ),
82+ ("read" , c_uint32 ),
83+ ("bufferMax" , c_void_p ),
84+ ("bufferMin" , c_void_p ),
85+ ("dataType" , c_uint32 ),
86+ ("nDistributionPoints" , c_uint32 )]
87+
88+ picoStruct .PICO_DATA_BUFFERS = PICO_DATA_BUFFERS
89+
90+ class PICO_STREAMING_DATA_INFO (Structure ):
91+ _pack_ = 1
92+ _fields_ = [("channel" , c_uint32 ),
93+ ("mode" , c_uint32 ),
94+ ("type" , c_uint32 ),
95+ ("noOfSamples" , c_int32 ),
96+ ("bufferIndex" , c_uint64 ),
97+ ("startIndex" , c_int32 ),
98+ ("overflow" , c_int16 )]
99+
100+ picoStruct .PICO_STREAMING_DATA_INFO = PICO_STREAMING_DATA_INFO
101+
102+ class PICO_STREAMING_DATA_TRIGGER_INFO (Structure ):
103+ _pack_ = 1
104+ _fields_ = [("triggerAt" , c_uint64 ),
105+ ("triggered" , c_int16 ),
106+ ("autoStop" , c_int16 )]
107+
108+ picoStruct .PICO_STREAMING_DATA_TRIGGER_INFO = PICO_STREAMING_DATA_TRIGGER_INFO
109+
110+ class PICO_SCALING_FACTORS (Structure ):
111+ _pack_ = 1
112+ _fields_ = [("channel" , c_uint32 ),
113+ ("range" , c_uint32 ),
114+ ("offset" , c_int16 ),
115+ ("scalingFactor" , c_double )]
116+
117+ picoStruct .PICO_SCALING_FACTORS = PICO_SCALING_FACTORS
118+
119+ class PROBE_APP (Structure ):
120+ _pack_ = 1
121+ _fields_ = [("id" , c_int32 ),
122+ ("appMajorVersion" , c_int32 ),
123+ ("appMinorVersion" , c_int32 )]
124+
125+ picoStruct .PROBE_APP = PROBE_APP
126+
127+ class DIGITAL_CHANNEL_DIRECTIONS (Structure ):
128+ _pack_ = 1
129+ _fields_ = [("channel" , c_uint32 ),
130+ ("direction" , c_uint32 )]
131+
132+ picoStruct .DIGITAL_CHANNEL_DIRECTIONS = DIGITAL_CHANNEL_DIRECTIONS
133+
134+ class PICO_DIGITAL_PORT_INTERACTIONS (Structure ):
135+ _pack_ = 1
136+ _fields_ = [("connected" , c_uint16 ),
137+ ("channel" , c_uint32 ),
138+ ("digitalPortName" , c_uint32 ),
139+ ("status" , c_uint32 ),
140+ ("serial" , c_int8 ),
141+ ("calibrationDate" , c_int8 )]
142+
143+ picoStruct .PICO_DIGITAL_PORT_INTERACTIONS = PICO_DIGITAL_PORT_INTERACTIONS
0 commit comments