File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,56 @@ def process_enum(enum):
207207 'PS4000A_MAX_TIME_UNITS' ,
208208])
209209
210+ ps4000a .PS4000A_WAVE_TYPE = make_enum ([
211+ 'PS4000A_SINE' ,
212+ 'PS4000A_SQUARE' ,
213+ 'PS4000A_TRIANGLE' ,
214+ 'PS4000A_RAMP_UP' ,
215+ 'PS4000A_RAMP_DOWN' ,
216+ 'PS4000A_SINC' ,
217+ 'PS4000A_GAUSSIAN' ,
218+ 'PS4000A_HALF_SINE' ,
219+ 'PS4000A_DC_VOLTAGE' ,
220+ 'PS4000A_WHITE_NOISE' ,
221+ 'PS4000A_MAX_WAVE_TYPES' ,
222+ ])
223+
224+ ps4000a .PS4000A_SWEEP_TYPE = make_enum ([
225+ 'PS4000A_UP' ,
226+ 'PS4000A_DOWN' ,
227+ 'PS4000A_UPDOWN' ,
228+ 'PS4000A_DOWNUP' ,
229+ 'PS4000A_MAX_SWEEP_TYPES' ,
230+ ])
231+
232+ ps4000a .PS4000A_SIGGEN_TRIG_TYPE = make_enum ([
233+ 'PS4000A_SIGGEN_RISING' ,
234+ 'PS4000A_SIGGEN_FALLING' ,
235+ 'PS4000A_SIGGEN_GATE_HIGH' ,
236+ 'PS4000A_SIGGEN_GATE_LOW' ,
237+ ])
238+
239+ ps4000a .PS4000A_SIGGEN_TRIG_SOURCE = make_enum ([
240+ 'PS4000A_SIGGEN_NONE' ,
241+ 'PS4000A_SIGGEN_SCOPE_TRIG' ,
242+ 'PS4000A_SIGGEN_AUX_IN' ,
243+ 'PS4000A_SIGGEN_EXT_IN' ,
244+ 'PS4000A_SIGGEN_SOFT_TRIG' ,
245+ ])
246+
247+ ps4000a .PS4000A_INDEX_MODE = make_enum ([
248+ 'PS4000A_SINGLE' ,
249+ 'PS4000A_DUAL' ,
250+ 'PS4000A_QUAD' ,
251+ 'PS4000A_MAX_INDEX_MODES' ,
252+ ])
253+
254+ ps4000a .PS4000A_EXTRA_OPERATIONS = make_enum ([
255+ 'PS4000A_ES_OFF' ,
256+ 'PS4000A_WHITENOISE' ,
257+ 'PS4000A_PRBS' ,
258+ ])
259+
210260doc = """ PICO_STATUS ps4000aOpenUnit
211261 (
212262 int16_t *handle,
You can’t perform that action at this time.
0 commit comments