I'm new to programming with the Picoscopes and I've been reading the programmers guide but cannot seem to get my head around using the Streaming Mode with the 2206A scope.
I have the Channels and Trigger setup, and I have set the data buffers up as so:
Using RATIO_MODE_AGGREGATE so I have 2 buffers;
iBufferMax[MAX_SAMPLES] with iBufferMax[...] for Channel A and iBufferMax[...] for Channel B,
and the same with iBufferMin[MAX_SAMPLES].
I passed the first array position in the arrays as the parameters for the ps2000aSetDataBuffers(), and this is where my confusion starts:
Does the program automatically move through the buffer (e.g. from iBufferMax to iBufferMax etc), or do I have to keep re-assigning the data buffers using a loop? I saw something similar to this in an example and I don't understand it fully.
Buffers aside, I also don't understand how to read the data back using the ps2000aGetStreamingLatestValues() and ps2000aStreamingReady() functions, if anyone could explain this to me I would be very grateful.