User manual

PicoScope 6000 Series Programmer's Guide 81
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved. ps6000pg.en r9
3.9.48
ps6000SetTriggerChannelProperties
PICO_STATUS ps6000SetTriggerChannelProperties
(
short handle,
PS6000_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
PICO_DRIVER_FUNCTION
PICO_INVALID_PARAMETER