Ocp:channel:active, Ocp:status – GW Instek PEL-2000 Series Programming User Manual User Manual
Page 92

PEL-2000 Programming Manual
92
:OCP:CHANnel:ACTive
Channel Specific
Command
Description
Queries or sets which bit(s) are the active channel
for the OCP Test Automation function. More than
one channel can be activated based on the bit
weight of the parameter.
Syntax
:OCP:CHANnel:ACTive {<NR1>0~255}
Parameter
<NR1>
(BIT WEIGHT)
Channel
number
<NR1>
(BIT WEIGHT)
Channel
number
1
1
16
5
2
2
32
6
4
3
64
7
8
4
128
8
Example
:OCP:CHAN:ACT 3
Activates channel 1 and
2.
Query Syntax
:OCP:CHANnel:ACTive?
Return Parameter <NR1>
(BIT WEIGHT)
Channel
number
<NR1>
(BIT WEIGHT)
Channel
number
1
1
16
5
2
2
32
6
4
3
64
7
8
4
128
8
Query Example
:OCP:CHAN:ACT?
4
Returns channel 4 as
the active channel.
:OCP:STATus?
Query
Description
Queries the status of the OCP Test Automation
function.
Query Syntax
:OCP:STATus? {0 | 1}
Return Parameter 0
Test ended