:SERV:CHAN<Ch>:ACT

Type

Query

Syntax

:SERVice:CHANnel<Ch>:ACTive?

Description

This command gets the active channel number.

Variable

Parameter

Long

Description

Active channel number

Data Type

Long integer type (Long)

Range

1 to 12

 

Query Response

{numeric}<newline><^END>

Examples

Dim Var as Long
Ena.WriteString ":SERV:CHAN1:ACT?", True
Var=Ena.ReadString

Related Commands

:DISP:WIND:ACT

Equivalent Softkey

No equivalent key is available on the front panel.

COM Command Syntax (Internal Control Only)

SCPI.SERVICE.CHANNEL(Ch).ACTIVE