Sample rate 3406D MSO

Post general discussions on using our drivers to write your own software here
Post Reply
mbuckland
Newbie
Posts: 0
Joined: Fri Dec 17, 2021 11:02 am

Sample rate 3406D MSO

Post by mbuckland »

I am trying to use the python wrappers with a picoscope 3406D MSO to measure two channels.

With the Picoscope 6 software I am able to see the expected double-peak structure of the channel C signal. Image 1: https://ibb.co/5KJfttR

However, when I try to replicate this with the python wrappers using a modified ps3000aBlockAdvancedTriggerExample, I only see one peak in channel C. Image 2: https://ibb.co/r4TTzKN

I think this has something to do with the number of samples and the sample rate as I believe the timebase is set correctly to 2ns using:

Code: Select all

preTriggerSamples = 10
postTriggerSamples = 90
maxsamples = preTriggerSamples + postTriggerSamples

timebase = 1 # 2 ns
timeIntervalns = ctypes.c_float()
returnedMaxSamples = ctypes.c_int16()
status["GetTimebase"] = ps.ps3000aGetTimebase2(chandle, timebase, maxsamples, ctypes.byref(timeIntervalns), 1, ctypes.byref(returnedMaxSamples), 0)
I am not sure what the issue is and any help or suggestion would be appreciated, thanks!

Post Reply