The PicoScope 2000 Series driver is different to that for the newer PicoScope series hence the examples are a little different and there is no PicoScope2000.llb file.
Once you have called the ps2000_run_streaming function, you would then call the functions in the following order:
- Code: Select all
Note: You can try calling PollFastStreaming outside of the loop but you may find that a lockup occurs.
Brief descriptions of the functions are as follows:
Facilitates communication with the driver to return the next block of values to your application when capturing data in streaming mode. Use with programming languages that do not support callback functions.
This function is used to poll the driver to verify that data is ready to be received. PollFastStreaming function must have been called prior to calling this function.
Returns the number of samples returned from the driver and provides information when collecting data in streaming mode.
If you require data to be processed while it is being collected we are aware that the wrapper dll creates extra overhead for resources so there may be noticeable distortion in the data at the transition between
If you are looking to process data post collection, then I recommend calling the ps2000_get_streaming_values_no_aggregation or ps2000_get_streaming_values functions to retrieve the data from the driver once you have completed data collection.
I hope this helps.