I have a picoscope 5444A and have downloaded the SDK for it. I have modified the PS5000A excel file with GetData VBA to get data from channel A and Channel B of the picoscope.
However, my actual goal is to get to display 5 buffers/5 waveforms for each channel. I know I have to ue memorysegments and setnoofcaptures, which I have.
- Code: Select all
status = ps5000aGetTimebase(handle, timebase, numSamples, timeInterval, maxSamples, 0)
' set memoty segments
Call ps5000aMemorySegments(handle, 64, maxSamples)
Call ps5000aSetNoOfCaptures(handle, 5)
' Set Data Buffers
Call ps5000aSetDataBuffer(handle, 0, valuesChA(0), numSamples, 0, 0) ' segment index 0, no downsampling
Call ps5000aSetDataBuffer(handle, 1, valuesChB(0), numSamples, 0, 0) ' segment index 0, no downsampling
But I am not sure how to setdatabuffers and getvaluesbulk to get it to display all 5 waveforms for each channel. Could someone please help with this code.