Installation guide

API functions28
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved.ps4000apg.en r1
4.9
ps4000aGetChannelInformation
PICO_STATUS ps4000aGetChannelInformation
(
int16_t handle,
PS4000A_CHANNEL_INFO info,
int32_t probe,
int32_t * ranges,
int32_t * length,
int32_t channel
)
This function queries which extra ranges are available on a scope device.
Applicability
Reserved for future expansion
Arguments
handle, the handle of the required device
info, the type of information required. The only value supported is:
PS4000A_CI_RANGES, returns the extra ranges available
probe, not used, must be set to 0
* ranges, on exit, an array populated with available ranges for the
given value of info. May be NULL. See ps4000aSetChannel for
possible values.
* length, on entry: the length of the ranges array; on exit: the
number of elements written to ranges or, if ranges is NULL, the
number of elements that would have been written.
channel, the channel for which the information is required. See
ps4000aSetChannel for possible values.
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_INVALID_PARAMETER