
Prog ramming the 3000A Series oscilloscopes
68
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.40 ps3000aSetChannel
PICO_STATUS ps3000aSetChannel
(
short handle,
PS3000A_CHANNEL channel,
short enabled,
PS3000A_COUPLING type,
PS3000A_RANGE range,
float analogueOffset
)
This function specifies whether an input channel is to be enabled, its input coupling
type, voltage range, analog offset and bandwidth limit.
Applicability
All modes
Arguments
handle,
the handle of the required device
channel
, the channel to be configured. The values are:
Channel A input
Channel B input
Channel C input
Channel D input
enabled,
whether or not to enable the channel (
TRUE
or
FALSE
)
type,
the impedance and coupling type. The values are:
PS3000A_AC:
1 megohm impedance, AC coupling. The channel
accepts input frequencies from about 1 hertz up to its maximum -
3 dB analog bandwidth.
PS3000A_DC:
1 megohm impedance, DC coupling. The scope
accepts all input frequencies from zero (DC) up to its maximum
-3 dB analog bandwidth.
range
, the input voltage range:
±50 mV
±100 mV
±200 mV
±500 mV
±1 V
±2 V
±5 V
±10 V
±20 V
analogueOffset,
a voltage to add to the input channel before
digitization. The allowable range of offsets depends on the input
range selected for the channel, as obtained from
PICO_OK
PICO_USER_CALLBACK
PICO_INVALID_HANDLE
PICO_INVALID_CHANNEL
PICO_INVALID_VOLTAGE_RANGE
PICO_INVALID_COUPLING
PICO_INVALID_ANALOGUE_OFFSET
PICO_DRIVER_FUNCTION