:CONT:HAND:D

Type

Command/Query

Syntax

:CONTrol:HANDler:D[:DATA] <Value>

:CONTrol:HANDler:D[:DATA]?

Description

When input/output port D of the handler I/O is set to the output port, it outputs port information to output port D (D0 to D3).

When input/output port D of the handler I/O is set to the input port, it reads out port information to input to port D (D0 to D3).

Port information is output as 4-bit binary data using D0 as LSB and D3 as MSB.

Variable

Parameter

Value

Description

Port information (input/output)

Data Type

Numeric type (Integer)

Range

0 ~ 15

Query Response

{numeric}<newline><^END>

Examples

Dim Var as Long
Var= 0
Ana.WriteString ":CONT:HAND:D" & Str(Var), True
Ana.WriteString ":CONT:HAND:D?", True
Var=Ana.ReadNumber

Related Commands

:CONT:HAND:D:MODE

Equivalent Softkey

No equivalent key is available on the front panel.

COM Command Syntax (Internal Control Only)

SCPI.CONTROL.HANDLER.D.DATA