Installation guide

Programming examples90
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved.ps4000apg.en r1
PicoErrorHandler.vi - takes an error cluster and, if an error has occurred,
displays a message box indicating the source of the error and the status code
returned by the driver
PicoScope4000aAdvancedTriggerSettings.vi - an interface for the
advanced trigger features of the oscilloscope
This VI is not required for setting up simple triggers, which are configured using
PicoScope4000aSettings.vi.
For further information on these trigger settings, see descriptions of the trigger
functions:
ps4000aSetTriggerChannelConditions
ps4000aSetTriggerChannelDirections
ps4000aSetTriggerChannelProperties
ps4000aSetPulseWidthQualifierConditions
ps4000aSetPulseWidthQualifierProperties
ps4000aSetTriggerDelay
PicoScope4000aAWG.vi - controls the arbitrary waveform generator
Standard waveforms or an arbitrary waveform can be selected under ‘Wave Type.
There are three settings clusters: general settings that apply to both arbitrary and
standard waveforms, settings that apply only to standard waveforms and settings
that apply only to arbitrary waveforms. It is not necessary to connect all of these
clusters if only using arbitrary waveforms or only using standard waveforms.
When selecting an arbitrary waveform, it is necessary to specify a text file
containing the waveform. This text file should have a single value on each line in
the range1 to 1. For further information on the settings, see descriptions of
ps4000aSetSigGenBuiltIn and ps4000aSetSigGenArbitrary.
PicoScope4000aClose.vi - closes the oscilloscope
Should be called before exiting an application.
PicoScope4000aGetBlock.vi - collects a block of data from the oscilloscope
This can be called in a loop in order to continually collect blocks of data. The
oscilloscope should first be set up by using PicoScope4000aSettings.vi. The VI
outputs data arrays in two clusters (max and min). If not using aggregation, ‘Min
Buffers is not used.
PicoScope4000aGetRapidBlock.vi - collects a set of data blocks or captures
from the oscilloscope in rapid block mode
This VI is similar to PicoScope4000aGetBlock.vi. It outputs two-dimensional
arrays for each channel that contain data from all the requested number of
captures.