EasyManuals Logo
Home>pico Technology>Test Equipment>PicoScope 2205A

pico Technology PicoScope 2205A Programmer's Guide

Default Icon
55 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #47 background imageLoading...
Page #47 background image
PicoScope 2000 Series Programmer's Guide 51
Copyright © 2006–2016 Pico Technology Ltd. All rights reserved. ps2000pg.en r11
waveType values
PS2000_SINE
sine wave
PS2000_SQUARE
square wave
PS2000_TRIANGLE
triangle wave
PS2000_RAMPUP
rising sawtooth
PS2000_RAMPDOWN
falling sawtooth
PS2000_DC_VOLTAGE
DC voltage
PS2000_GAUSSIAN
Gaussian
PS2000_SINC
sin(x)/x
PS2000_HALF_SINE
half (full-wave rectified) sine
5.31
ps2000_set_trigger
int16_t ps2000_set_trigger
(
int16_t
int16_t
int16_t
int16_t
int16_t
int16_t
handle,
source,
threshold,
direction,
delay,
auto_trigger_ms
)
This function is used to enable or disable basic triggering and set its parameters.
For oscilloscopes that support advanced triggering, see
ps2000SetAdvTriggerChannelConditions, ps2000SetAdvTriggerDelay and
related functions.
Applicability Triggering is available in block mode and fast streaming mode
Arguments handle: the handle of the required oscilloscope
source: where to look for a trigger. Use PS2000_CHANNEL_A (0),
PS2000_CHANNEL_B (1) or PS2000_NONE(5). The number of
channels available depends on the oscilloscope.
threshold: the threshold for the trigger event. This is scaled in 16-
bit ADC counts at the currently selected range.
direction: use PS2000_RISING (0) or PS2000_FALLING (1)
delay: the delay, as a percentage of the requested number of data
points, between the trigger event and the start of the block. It
should be in the range -100% to +100%. Thus, 0% means that the
trigger event is at the first data value in the block, and -50% means
that it is in the middle of the block. If you wish to specify the delay
as a floating-point value, use ps2000_set_trigger2 instead. Note
that if delay = 0 and you call ps2000_stop before a trigger event
occurs, the device will return no data.
auto_trigger_ms: the delay in milliseconds after which the
oscilloscope will collect samples if no trigger event occurs. If this is
set to zero the oscilloscope will wait for a trigger indefinitely.
Returns 0: if one of the parameters is out of range
non-zero: if successful

Other manuals for pico Technology PicoScope 2205A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the pico Technology PicoScope 2205A and is the answer not in the manual?

pico Technology PicoScope 2205A Specifications

General IconGeneral
Brandpico Technology
ModelPicoScope 2205A
CategoryTest Equipment
LanguageEnglish

Related product manuals