SOURce:DIGital:DRIVe

34980A

SOURce:DIGital:DRIVe

Syntax

SOURce:DIGital:DRIVe <mode>, (@<ch_list>)

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

Description

This command selects the drive mode for digital output operations on the 34950A Digital I/O Module. In the "active" drive mode, the digital output lines are driven directly by the module. In the "open collector" drive mode, the digital output lines are driven low by the module, but will go to a high-impedance state when asserted (external pullup resistors are required). You can send this command at any time, but the setting applies only to output channels.

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<mode>

Discrete

{ACTive|OCOLlector}

ACTive

<ch_list>

Numeric

One or more digital output channels in the form (@sccc).
Select from s101 through s104, s201 through s204.

This is a required parameter

Remarks

  • The selected drive mode applies to the specified channel, independent of the current channel width (see SOURce:DIGital:DATA[:<width>] command).

  • The selected drive mode is stored in volatile memory and will be set to "ACT" when power is turned off or after a Factory Reset (*RST command).

Return Format

The query command returns "ACT" or "OCOL" for the specified channels. Multiple responses are separated by commas.

Examples

The following command selects the open collector drive mode on channels 101 and 103 on the module in slot 3.  

SOUR:DIG:DRIVE OCOL,(@3101,3103)  !External pullup resistors are required

The following query returns the drive setting on channels 101 and 103 on the module in slot 3.

SOUR:DIG:DRIVE? (@3101,3103)

Typical Response:  OCOL,OCOL

See Also

SOURce:DIGital:DATA[:<width>]

SOURce:DIGital:LEVel