
PicoScope 3000A Series Prog rammer's Guide
119
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
PicoScope3000AGetRapidBlock.vi
– collects a set of data blocks or captures
from the oscilloscope in
This VI is similar to
PicoScope3000AGetBlock.vi
. It outputs two-dimensional
arrays for each channel that contain data from all the requested number of
captures.
PicoScope3000aGetStreamingValues.vi
– used in
latest values from the driver
This VI should be called in a loop after the oscilloscope has been set up using
PicoScope3000aSettings.vi
and streaming has been started by calling
PicoScope3000aStartStreaming.vi
. The VI outputs the number of samples
available and the start index of these samples in the array output by
PicoScope3000aStartStreaming.vi
.
PicoScope3000aOpen.vi
– opens a PicoScope 3000A oscilloscope and returns a
handle to the device
PicoScope3000aSettings.vi
– sets up the oscilloscope
The inputs are clusters for setting up channels and simple triggers. Advanced
triggers can be set up using
PicoScope3000aAdvancedTriggerSettings.vi
.
PicoScope3000aStartStreaming.vi
– starts the oscilloscope
It outputs arrays that will contain samples once
PicoScope3000aGetStreamingValues.vi
has returned.
PicoStatus.vi
– checks the status value returned by calls to the driver
If the driver returns an error, the status member of the error cluster is set to ‘true’
and the error code and source are set.
PicoScope3000aUnitInfo.vi
– displays the device information for the
oscilloscope
This VI can be called after opening the device and outputs a cluster containing the
information returned by calls to
2.14.5 MATLAB
The MATLAB
®
examples consist of a generic Instrument Driver and accompanying
scripts demonstrating how to call the functions in order to operate the scope in
different modes. For further information, refer to the
MATLAB Instrument Driver for
PicoScope 3000A/ B Series – Guide to Functions
document included in the SDK.
The following files will also be required:
ps3000a.dll
ps3000aWrap.dll
PicoIpp.dll
The examples supplied can be used with MATLAB 2012a or later. Version 3.1 or later of
the Instrument Control Toolbox will also be required.