c_uint32, [c_int16, c_int16], doc) doc = """ PICO_STATUS ps5000Stop ( short handle ); """ ps5000.make_symbol("_Stop", "ps5000Stop", c_uint32, [c_int16], doc) doc = """ void ps5000BlockReady ( short handle, PICO_STATUS status, void *pParameter ); """ ps5000.BlockReadyType = C_CALLBACK_FUNCTION_FACTORY(None, c_int16, c_uint32, c_void_p) ps5000.BlockReadyType.__doc__ = doc doc = """ void (CALLBACK *ps5000DataReady) ( short handle, long noOfSamples, short overflow, unsigned long triggerAt, short triggered, void *pParameter ); """ ps5000.DataReadyType = C_CALLBACK_FUNCTION_FACTORY(None, c_int16, c_int32, c_int16, c_uint32, c_int16,
c_uint32 ], doc) doc = """ void ps6000StreamingReady ( int16_t handle, uint32_t noOfSamples, uint32_t startIndex, int16_t overflow, uint32_t triggerAt, int16_t triggered, int16_t autoStop, void *pParameter ); """ ps6000.StreamingReadyType = C_CALLBACK_FUNCTION_FACTORY( None, c_int16, c_uint32, c_uint32, c_int16, c_uint32, c_int16, c_int16, c_void_p) ps6000.StreamingReadyType.__doc__ = doc doc = """ PICO_STATUS ps6000GetStreamingLatestValues ( int16_t handle, ps6000StreamingReady lpPs6000Ready, void *pParameter ); """ ps6000.make_symbol("_GetStreamingLatestValues", "ps6000GetStreamingLatestValues", c_uint32, [c_int16, c_void_p, c_void_p], doc) doc = """ PICO_STATUS ps6000NoOfStreamingValues
class Ps6000alib(Library): def __init__(self): super(Ps6000alib, self).__init__("ps6000a") ps6000a = Ps6000alib() doc = """ void ps6000aBlockReady ( int16_t handle, PICO_STATUS status, PICO_POINTER pParameter ); """ ps6000a.BlockReadyType = C_CALLBACK_FUNCTION_FACTORY(None, c_int16, c_uint32, c_void_p) ps6000a.BlockReadyType.__doc__ = doc doc = """ void ps6000aStreamingReady ( int16_t handle, int64_t noOfSamples, uint64_t bufferIndex, uint32_t startIndex, int16_t overflow, uint32_t triggerAt, int16_t triggered, int16_t autoStop, PICO_POINTER pParameter ); """