EasyManua.ls Logo

pico Technology PicoScope 2000 Series - Ps2000 SetChannel

pico Technology PicoScope 2000 Series
68 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
API Functions
46Copyright © 20062022 Pico Technology Ltd. All rights reserved.ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.24 ps2000_set_channel
int16_t ps2000_set_channel
(
int16_t handle,
int16_t channel,
int16_t enabled,
int16_t dc,
int16_t range
)
Specifies if a channel is to be enabled, the AC/DC coupling mode and the input range.
Note: The channels are not configured until capturing starts.
Applicability
All modes
Arguments
handle: the handle of the required oscilloscope
channel: an enumerated type specifying the channel. Use
PS2000_CHANNEL_A (0) or PS2000_CHANNEL_B (1).
enabled: specifies if the channel is active:
TRUE = active
FALSE = inactive
dc: specifies the AC/DC coupling mode:
TRUE: DC coupling
FALSE: AC coupling
range: a code between 1 and 10. See the table below, but note that each
oscilloscope variant supports only a subset of these ranges.
Returns
0: if unsuccessful, or if one or more of the arguments are out of range
non-zero: if successful
Code
Enumeration
Range
1
PS2000_20MV
±20 mV
2
PS2000_50MV
±50 mV
3
PS2000_100MV
±100 mV
4
PS2000_200MV
±200 mV
5
PS2000_500MV
±500 mV
6
PS2000_1V
±1 V
7
PS2000_2V
±2 V
8
PS2000_5V
±5 V
9
PS2000_10V
±10 V
10
PS2000_20V
±20 V

Table of Contents

Other manuals for pico Technology PicoScope 2000 Series

Related product manuals