User manual
Table Of Contents
- Introduction
- Getting started
- Writing your own software
- About the driver
- Installing the driver
- Connecting the logger
- Capture modes
- USB DrDAQ Routines
- Summary
- UsbDrDaqOpenUnit
- UsbDrDaqCloseUnit
- UsbDrDaqGetUnitInfo
- UsbDrDaqRun
- UsbDrDaqReady
- UsbDrDaqStop
- UsbDrDaqSetInterval
- UsbDrDaqSetTrigger
- UsbDrDaqGetValues
- UsbDrDaqGetTriggerTimeOffsetNs
- UsbDrDaqGetSingle
- UsbDrDaqOpenUnitAsync
- UsbDrDaqOpenUnitProgress
- UsbDrDaqGetScalings
- UsbDrDaqSetScalings
- UsbDrDaqSetSigGenBuiltIn
- UsbDrDaqSetSigGenArbitrary
- UsbDrDaqStopSigGen
- UsbDrDaqSetDO
- UsbDrDaqSetPWM
- UsbDrDaqGetInput
- UsbDrDaqStartPulseCount
- UsbDrDaqGetPulseCount
- UsbDrDaqEnableRGBLED
- UsbDrDaqSetRGBLED
- UsbDrDaqGetChannelInfo
- PICO_STATUS values
- Programming support
- Glossary

Writing your own software32
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.usbdrdaqpg.en
3.5.23
UsbDrDaqStartPulseCount
PICO_STATUS UsbDrDaqStartPulseCount(
short handle,
USB_DRDAQ_GPIO IOChannel,
short direction
)
This function is used to configure the general-purpose I/Os for pulse counting and to
start counting.
Arguments:
handle: handle returned from UsbDrDaqOpenUnit or
UsbDrDaqOpenUnitProgress
IOChannel: GPIOs 1 and 2 can be used as pulse-counting inputs.
direction: The direction of the edges to count (0:rising, 1:falling)
Returns:
PICO_OK
PICO_NOT_FOUND
PICO_NOT_RESPONDING
PICO_INVALID_PARAMETER
11
23
37
37
37
37