@@ -19,6 +19,86 @@ def __init__(self):
1919
2020ps6000a = Ps6000alib ()
2121
22+ doc = """ void ps6000aBlockReady
23+ (
24+ int16_t handle,
25+ PICO_STATUS status,
26+ PICO_POINTER pParameter
27+ ); """
28+ ps6000a .BlockReadyType = C_CALLBACK_FUNCTION_FACTORY (None ,
29+ c_int16 ,
30+ c_uint32 ,
31+ c_void_p )
32+ ps6000a .BlockReadyType .__doc__ = doc
33+
34+ doc = """ void ps6000aStreamingReady
35+ (
36+ int16_t handle,
37+ int64_t noOfSamples,
38+ uint64_t bufferIndex,
39+ uint32_t startIndex,
40+ int16_t overflow,
41+ uint32_t triggerAt,
42+ int16_t triggered,
43+ int16_t autoStop,
44+ PICO_POINTER pParameter
45+ ); """
46+ ps6000a .StreamingReadyType = C_CALLBACK_FUNCTION_FACTORY (None ,
47+ c_int16 ,
48+ c_int64 ,
49+ c_uint64 ,
50+ c_uint32 ,
51+ c_int16 ,
52+ c_uint32 ,
53+ c_int16 ,
54+ c_int16 ,
55+ c_void_p )
56+ ps6000a .StreamingReadyType .__doc__ = doc
57+
58+ doc = """ void ps6000aDataReady
59+ (
60+ int16_t handle,
61+ PICO_STATUS status,
62+ uint64_t noOfSamples,
63+ int16_t overflow,
64+ PICO_POINTER pParameter
65+ ); """
66+ ps6000a .DataReadyType = C_CALLBACK_FUNCTION_FACTORY (None ,
67+ c_int16 ,
68+ c_uint32 ,
69+ c_uint64 ,
70+ c_int16 ,
71+ c_void_p )
72+ ps6000a .DataReadyType .__doc__ = doc
73+
74+ doc = """ void ps6000aProbeInteractions
75+ (
76+ int16_t handle,
77+ PICO_STATUS status,
78+ PICO_USER_PROBE_INTERACTIONS *probes,
79+ uint32_t nProbes
80+ ); """
81+ ps6000a .ProbeInteractionsType = C_CALLBACK_FUNCTION_FACTORY (None ,
82+ c_int16 ,
83+ c_uint32 ,
84+ c_void_p ,
85+ c_uint32 )
86+ ps6000a .ProbeInteractionsType .__doc__ = doc
87+
88+ doc = """ void ps6000aDigitalPortInteractions
89+ (
90+ int16_t handle,
91+ PICO_STATUS status,
92+ PICO_DIGITAL_PORT_INTERACTIONS *ports,
93+ uint32_t nPorts
94+ ); """
95+ ps6000a .DigitalPortInteractionsType = C_CALLBACK_FUNCTION_FACTORY (None ,
96+ c_int16 ,
97+ c_uint32 ,
98+ c_void_p ,
99+ c_uint32 )
100+ ps6000a .DigitalPortInteractionsType .__doc__ = doc
101+
22102doc = """ PICO_STATUS ps6000aOpenUnit
23103 (
24104 int16_t *handle,
@@ -424,7 +504,7 @@ def __init__(self):
424504 int16_t handle,
425505 PICO_CHANNEL channel,
426506 PICO_POINTER bufferMax,
427- PCIO_POINTER bufferMin,
507+ PICO_POINTER bufferMin,
428508 int32_t nSamples,
429509 PICO_DATA_TYPE dataType,
430510 uint64_t waveform,
0 commit comments