SOURce:DIGital:STATe?

From Keysight 34970A/34972A

SOURce:DIGital:STATe?

Syntax

SOURce:DIGital:STATe? (@<ch_list>)

Description

This command returns the status (input or output) of the specified digital channels.

Used With:

  • 34907A   Multifunction Module (digital I/O channels only)

Parameters

Name Type Range of Values Default Value
<ch_list> Channel List

One or more digital I/O channels, as shown:

(@301) - channel 01 on the module in slot 300.

(@101:102,201,302) - channels 01 and 02 on the modules on slot 100, channel 01 on the module in slot 200, and channel 02 on the module in slot 300.

This is a required parameter.

Remarks

Return Format

The query returns 0 if the specified channel is an input channel or 1 if the channel is an output channel. Multiple responses are separated by commas.

Example

The following query returns the input/output state of channels 01 and 02 on the module in slot 300. In this case, both channels are configured for output.

SOUR:DIG:STAT? (@301,302)

Typical Response: 1,1

See Also

SOURce Subsystem Introduction

SOURce:VOLTage