![pico Technology PicoScope 3425 User Manual Download Page 30](http://html1.mh-extra.com/html/pico-technology/picoscope-3425/picoscope-3425_user-manual_1555395030.webp)
PicoScope 3425 PC Oscilloscope
26
Copyright © 2007 Pico Technology Limited. All rights reserved.
ps3425.en
3.2.8.9
ps3000_set_trigger2
short ps3000_set_trigger2 (
short handle,
short source,
short threshold,
short direction,
float delay,
short auto_trigger_ms )
This function is used to enable or disable triggering and its parameters. It has the
same behaviour as
, except that the
delay
parameter is a
floating-point value.
Applicability
and
only.
Arguments
handle,
the handle of the required device.
source,
specifies where to look for a trigger. Use
PS3000_CHANNEL_A (0), PS3000_CHANNEL_B (1),
PS3000_CHANNEL_C (2), PS3000_CHANNEL_D (3)
or
PS3000_NONE (5)
.
threshold,
the threshold for the trigger event. This is scaled in
16-bit ADC counts at the currently selected range. If an external
trigger is enabled the range is fixed at ±20 V.
direction,
use
PS3000_RISING (0)
or
PS3000_FALLING
(1)
.
delay,
specifies 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 an integer, use
instead.
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
1 if successful
25
56
15
25
Summary of Contents for PicoScope 3425
Page 2: ......
Page 66: ......
Page 67: ...63 Copyright 2007 Pico Technology Limited All rights reserved ps3425 en ...