Information

Technical reference18
Copyright © 2009 Pico Technology Ltd. All rights reserved.pl1000pg.en
3.3.12
pl1000SetDo
PICO_STATUS pl1000SetDo(
short handle,
short do_value,
short doNo
)
This function controls the digital outputs DO0 to DO3 on the unit.
Arguments:
handle: handle returned from pl1000OpenUnit or
pl1000OpenUnitProgress
do_value: whether to switch the output on or off:
1 - turns the digital output on
0 - turns the digital output off
doNo: which output to switch, from PL1000_DO_CHANNEL_0 to
PL1000_DO_CHANNEL_3
Returns:
PICO_OK
PICO_INVALID_HANDLE
PICO_NOT_RESPONDING
13
15
23
23
23