SOURce:MODule:CLOCk:STATe

34980A

SOURce:MODule:CLOCk:STATe

Syntax

SOURce:MODule:CLOCk:STATe <mode>, <slot>

SOURce:MODule:CLOCk:STATe? <slot>

Description

This command disables or enables the external clock output on the module in the specified slot.

Used With:

  • 34950A Digital I/O Module

  • 34951A Isolated DAC Module

Parameters

Name

Type

Range of Values

Default Value

<mode>

Boolean

{OFF|0|ON|1}

OFF

<slot>

Discrete

{1|2|3|4|5|6|7|8}

This is a required parameter

Remarks

  • On the 34950A, you can set the clock output frequency to any value between 10 Hz and 20 MHz using the SOURce:MODule:CLOCk:FREQuency command.

  • On the 34951A, you can set the clock output frequency to any value between 305.2 Hz and 10 MHz using the SOURce:MODule:CLOCk:FREQuency command.

  • If desired, you can use the SOURce:FUNCtion:CLOCk:EXTernal:DIVisor command (34951A only) to divide the external clock frequency. Since the maximum point-to-point rate for trace waveforms on the 34951A is 200 kHz, you must set the divisor such that the resulting clock input is less than 200 kHz. For example, with an external clock input of 2 MHz, the minimum divisor would be: 2 MHz/200 kHz = 10.

  • A Factory Reset (*RST command), Instrument Preset (SYSTem:PRESet command), and Card Reset (SYSTem:CPON command) will disable the clock output and reset the clock output frequency to 1 kHz.

Return Format

The query command returns "0" (OFF) or "1" (ON).

Examples

The following command sets the clock frequency for slot 4 to 5 kHz and enables the output.

SOUR:MOD:CLOCK:FREQ 5E+3,4  !Set clock frequency to 5 kHz SOUR:MOD:CLOCK:STATE ON,4

The following query returns the state of the clock output mode for slot 4.

SOUR:MOD:CLOCK:STATE? 4

Typical Response:  1

See Also

SOURce:FUNCtion:CLOCk:EXTernal:DIVisor  (34951A only)

SOURce:MODule:CLOCk:FREQuency

SOURce:MODule:CLOCk:LEVel  (34950A only)