API Functions
43Copyright © 2006–2022 Pico Technology Ltd. All rights reserved.ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.22 ps2000SetAdvTriggerChannelProperties
int16_t ps2000SetAdvTriggerChannelProperties
(
int16_t handle,
PS2000_TRIGGER_CHANNEL_PROPERTIES *channelProperties,
int16_t nChannelProperties,
int32_t autoTriggerMilliseconds
)
This function is used to enable or disable triggering and set its parameters.
Available in block mode and fast streaming mode only
PicoScope 2202, 2204, 2204A, 2205 and 2205A only
handle: the handle of the required oscilloscope
channelProperties: a pointer to a
PS2000_TRIGGER_CHANNEL_PROPERTIES structure describing the
requested properties. If NULL, triggering is switched off.
nChannelProperties: should be set to 1 if channelProperties is
non-null, otherwise 0
autoTriggerMilliseconds: the time in milliseconds for which the
oscilloscope will wait before collecting data if no trigger event occurs. If this
is set to zero, the oscilloscope will wait indefinitely for a trigger.
0: if unsuccessful, or if one or more of the arguments are out of range
non-zero: if successful