
PicoScope 3000A Series Prog rammer's Guide
99
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.58 ps3000aSetTriggerDigitalPortProperties
ps3000aSetTriggerDigitalPortProperties
(
short handle,
PS3000A_DIGITAL_CHANNEL_DIRECTIONS * directions
short nDirections
)
This function will set the individual digital channels' trigger directions. Each trigger
direction consists of a channel name and a direction. If the channel is not included in
the array of
PS3000A_DIGITAL_CHANNEL_DIRECTIONS
the driver assumes the
digital channel's trigger direction is
PS3000A_DIGITAL_DONT_CARE
.
Applicability
All modes
Arguments
handle,
the handle of the required device.
* directions,
a pointer to an array of
PS3000A_DIGITAL_CHANNEL_DIRECTIONS
the requested properties. The array can contain a single element
describing the properties of one channel, or a number of elements
describing several digital channels. If
directions
is
NULL,
digital
triggering is switched off. A digital channel that is not included in the
array will be set to
.
nDirections,
the number of digital channel directions being passed
to the driver.
PICO_OK
PICO_INVALID_HANDLE
PICO_DRIVER_FUNCTION
PICO_INVALID_DIGITAL_CHANNEL
PICO_INVALID_DIGITAL_TRIGGER_DIRECTION