File tree Expand file tree Collapse file tree 6 files changed +22
-12
lines changed
Expand file tree Collapse file tree 6 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 11#
2- # Copyright (C) 2018 Pico Technology Ltd. See LICENSE file for terms.
2+ # Copyright (C) 2018-2022 Pico Technology Ltd. See LICENSE file for terms.
33#
44# PS5000A BLOCK MODE EXAMPLE
55# This example opens a 5000a driver device, sets up two channels and a trigger then collects a block of data.
9595maxSamples = preTriggerSamples + postTriggerSamples
9696
9797# Get timebase information
98+ # Warning: When using this example it may not be possible to access all Timebases as all channels are enabled by default when opening the scope.
99+ # To access these Timebases, set any unused analogue channels to off.
98100# handle = chandle
99101timebase = 8
100102# noSamples = maxSamples
Original file line number Diff line number Diff line change 11#
2- # Copyright (C) 2018 Pico Technology Ltd. See LICENSE file for terms.
2+ # Copyright (C) 2018-2022 Pico Technology Ltd. See LICENSE file for terms.
33#
44# PS5000A BLOCK MODE EXAMPLE
55# This example opens a 5000a driver device, sets up two channels and a trigger then collects a block of data.
8282maxSamples = preTriggerSamples + postTriggerSamples
8383
8484# Get timebase information
85+ # Warning: When using this example it may not be possible to access all Timebases as all channels are enabled by default when opening the scope.
86+ # To access these Timebases, set any unused analogue channels to off.
8587# handle = chandle
8688timebase = 8
8789# noSamples = maxSamples
Original file line number Diff line number Diff line change 11#
2- # Copyright (C) 2018 Pico Technology Ltd. See LICENSE file for terms.
2+ # Copyright (C) 2018-2022 Pico Technology Ltd. See LICENSE file for terms.
33#
44# PS5000A BLOCK MODE EXAMPLE
55# This example opens a 5000a driver device, sets up two channels and a trigger then collects a block of data.
8080maxSamples = preTriggerSamples + postTriggerSamples
8181
8282# Get timebase information
83+ # Warning: When using this example it may not be possible to access all Timebases as all channels are enabled by default when opening the scope.
84+ # To access these Timebases, set any unused analogue channels to off.
8385# handle = chandle
8486timebase = 8
8587# noSamples = maxSamples
Original file line number Diff line number Diff line change 11#
2- # Copyright (C) 2018 Pico Technology Ltd. See LICENSE file for terms.
2+ # Copyright (C) 2018-2022 Pico Technology Ltd. See LICENSE file for terms.
33#
4- # PicoScope 3000 Series (A API) MSO Block Mode Example
5- # This example demonstrates how to use the PicoScope 3000 Series (ps5000a) driver API functions in order to do the
4+ # PicoScope 5000 Series (A API) MSO Block Mode Example
5+ # This example demonstrates how to use the PicoScope 5000 Series (ps5000a) driver API functions in order to do the
66# following:
77#
8- # Open a connection to a PicoScope 3000 Series MSO device
8+ # Open a connection to a PicoScope 5000 Series MSO device
99# Setup a digital port
1010# Collect a block of data
1111# Plot data
Original file line number Diff line number Diff line change 11#
22# Copyright (C) 2018-2022 Pico Technology Ltd. See LICENSE file for terms.
33#
4- # PicoScope 3000 Series (A API) MSO Block Mode Triggered Example
5- # This example demonstrates how to use the PicoScope 3000 Series (ps5000a) driver API functions in order to do the
4+ # PicoScope 5000 Series (A API) MSO Block Mode Triggered Example
5+ # This example demonstrates how to use the PicoScope 5000 Series (ps5000a) driver API functions in order to do the
66# following:
77#
8- # Open a connection to a PicoScope 3000 Series MSO device
8+ # Open a connection to a PicoScope 5000 Series MSO device
99# Setup a digital port
1010# Set up a digital trigger
1111# Collect a block of data
6262totalSamples = preTriggerSamples + postTriggerSamples
6363
6464# Gets timebase information
65+ # Warning: When using this example it may not be possible to access all Timebases as all channels are enabled by default when opening the scope.
66+ # To access these Timebases, set any unused analogue channels to off.
6567# handle = chandle
6668# timebase = 1252
6769# Nosample = totalSamples
Original file line number Diff line number Diff line change 11#
2- # Copyright (C) 2018 Pico Technology Ltd. See LICENSE file for terms.
2+ # Copyright (C) 2018-2022 Pico Technology Ltd. See LICENSE file for terms.
33#
44# ps5000a RAPID BLOCK MODE EXAMPLE
5- # This example opens a 3000a driver device, sets up one channel and a trigger then collects 10 block of data in rapid succession.
5+ # This example opens a 5000a driver device, sets up one channel and a trigger then collects 10 block of data in rapid succession.
66# This data is then plotted as mV against time in ns.
77
88import ctypes
7171maxsamples = preTriggerSamples + postTriggerSamples
7272
7373# Gets timebase innfomation
74+ # Warning: When using this example it may not be possible to access all Timebases as all channels are enabled by default when opening the scope.
75+ # To access these Timebases, set any unused analogue channels to off.
7476# Handle = chandle
7577timebase = 2
7678# Nosample = maxsamples
You can’t perform that action at this time.
0 commit comments