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 software24
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.usbdrdaqpg.en
3.5.15
UsbDrDaqGetScalings
PICO_STATUS UsbDrDaqGetScalings(
short handle
USB_DRDAQ_INPUTS channel,
short * nScales,
short * currentScale,
char * names,
short namesSize
This function discovers the scalings, both built-in and custom, that are available for a
particular channel.
Arguments:
handle: handle returned from UsbDrDaqOpenUnit or
UsbDrDaqOpenUnitProgress
channel: the channel of interest
nScales: the function will write the number of available scales here
currentScale: The function will write an index to the currently
selected scale here
names: The function will write a string containing the scaling names
and indices
namesSize: the size of names
Returns:
PICO_OK
PICO_NOT_FOUND
PICO_INVALID_CHANNEL
11
23
37
37
37