
Prog ramming the 3000A Series oscilloscopes
32
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.9 ps3000aGetChannelInformation
PICO_STATUS ps3000aGetChannelInformation
(
short handle,
PS3000A_CHANNEL_INFO info,
int probe,
int * ranges,
int * length,
int channels
)
This function queries which ranges are available on a scope device.
Applicability
All modes
Arguments
handle,
the handle of the required device.
info,
the type of information required. The following value is
currently supported:
PS3000A_CI_RANGES
probe,
not used, must be set to 0.
* ranges,
an array that will be populated with available
values for the given info. If
NULL
, length is set to
the number of ranges available.
* length,
on input: the length of the ranges array; on output: the
number of elements written to ranges array.
channels,
the channel for which the information is required.
PICO_OK
PICO_HANDLE_INVALID
PICO_BUSY
PICO_DRIVER_FUNCTION
PICO_NOT_RESPONDING
PICO_NULL_PARAMETER
PICO_INVALID_CHANNEL
PICO_INVALID_INFO