PicoScope 7 Software
Available on Windows, Mac and Linux
4. Using ps5000aGetTimebase, select timebases until the required nanoseconds per sample is
located. This will indicate the number of samples per channel available for each segment.
5. Use the trigger setup function ps5000aSetSimpleTrigger to set up the trigger if required.
6. Start the oscilloscope running using ps5000aRunBlock.
7. Wait until the oscilloscope is ready using ps5000aIsReady.
--> (c): Is it still required ? and what are the parameters for this call if I only want to retrieve the average? The mode if set to 4 would imply we are setting this up for average mode. So should only one segment index be reserved ? Or does this function have to be called as many times as there are waveforms to acquire (with downsampleratio mode = 0)? PLUS ONCE for the averaged waveform (with DownsampleRatioMode=4)?8. Use ps5000aSetDataBuffer to tell the driver where your memory buffers are. Call the function
once for each channel/segment combination for which you require data
--> (d) I suppose this function should be called once to obtain the average value as returned by the driver. In any case, what is the value of the following parameters that should be used:9. Transfer the blocks of data from the oscilloscope using ps5000aGetValuesBulk
--> (a): So here, shouldn't an additional memory segment be reserved for the result of the averaging operation? or should ONLY 1 segment be reserved for the result of the averaging operation?1. Open the oscilloscope using ps5000aOpenUnit.
2. Select channel ranges and AC/DC coupling using ps5000aSetChannel.
2a. Set the digital port using ps5000aSetDigitalPort (mixed-signal scopes only).
3. Set the number of memory segments equal to or greater than the number of captures required using
ps5000aMemorySegments. Use ps5000aSetNoOfCaptures before each run to specify the
number of waveforms to capture.
4. Using ps5000aGetTimebase, select timebases until the required nanoseconds per sample is
located. This will indicate the number of samples per channel available for each segment.
5. Use the trigger setup function ps5000aSetSimpleTrigger to set up the trigger if required.
6. Start the oscilloscope running using ps5000aRunBlock.
7. Wait until the oscilloscope is ready using ps5000aIsReady.
--> (c): Is it still required ? and what are the parameters for this call if I only want to retrieve the average? The mode if set to 4 would imply we are setting this up for average mode. So should only one segment index be reserved ? Or does this function have to be called as many times as there are waveforms to acquire (with downsampleratio mode = 0)? PLUS ONCE for the averaged waveform (with DownsampleRatioMode=4)?8. Use ps5000aSetDataBuffer to tell the driver where your memory buffers are. Call the function
once for each channel/segment combination for which you require data
--> (d) I suppose this function should be called once to obtain the average value as returned by the driver. In any case, what is the value of the following parameters that should be used:9. Transfer the blocks of data from the oscilloscope using ps5000aGetValuesBulk