User Manual
Programming with the PicoScope 4000 Series82
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.10.55
ps4000SetTriggerChannelProperties
PICO_STATUS ps4000SetTriggerChannelProperties
(
short handle,
TRIGGER_CHANNEL_PROPERTIES * channelProperties
short nChannelProperties
short auxOutputEnable,
long 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, a pointer to an array of
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