User manual
USB DrDAQ Programmer's Guide 33
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved. usbdrdaqpg.en
3.5.24
UsbDrDaqGetPulseCount
PICO_STATUS UsbDrDaqGetPulseCount(
short handle,
USB_DRDAQ_GPIO IOChannel,
short * count
)
This function will return the current pulse count. It should be called after pulse
counting has been started using UsbDrDaqStartPulseCount .
Arguments:
handle: handle returned from UsbDrDaqOpenUnit or
UsbDrDaqOpenUnitProgress
IOChannel: GPIO of interest.
count: A location where the driver will write the current count.
Returns:
PICO_OK
PICO_NOT_FOUND
PICO_NOT_RESPONDING
PICO_INVALID_PARAMETER
32
11
23
37
37
37
37