Installation guide
PicoScope 4000 Series (A API) Programmer's Guide 81
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved. ps4000apg.en r1
4.54
ps4000aSetTriggerChannelProperties
PICO_STATUS ps4000aSetTriggerChannelProperties
(
int16_t handle,
PS4000A_TRIGGER_CHANNEL_PROPERTIES * channelProperties,
int16_t nChannelProperties,
int16_t auxOutputEnable,
int32_t autoTriggerMilliseconds
)
This function is used to enable or disable triggering and set its parameters.
Applicability
All modes
Arguments
handle, the handle of the required device.
* channelProperties, an array of
PS4000A_TRIGGER_CHANNEL_PROPERTIES structures describing the
requested properties. The array can contain a single element
describing the properties of one channel or a number of elements
describing several channels. If NULL is passed, triggering is switched
off.
nChannelProperties, the size of the channelProperties
array. If zero, triggering is switched off.
auxOutputEnable, not used
autoTriggerMilliseconds, the time in milliseconds for which the
scope device will wait before collecting data if no trigger event occurs.
If this is set to zero, the scope device will wait indefinitely for a
trigger.
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_USER_CALLBACK
PICO_TRIGGER_ERROR
PICO_MEMORY_FAIL
PICO_INVALID_TRIGGER_PROPERTY