Clock

SCPI Commands :

[SOURce<HW>]:BB:ARBitrary:CLOCk:MODE
[SOURce<HW>]:BB:ARBitrary:CLOCk:MULTiplier
[SOURce<HW>]:BB:ARBitrary:CLOCk:SOURce
[SOURce<HW>]:BB:ARBitrary:CLOCk
Commands in total: 4
Subgroups: 0
Direct child commands: 4
get_mode() ClocModeB[source]
# [SOURce<HW>]:BB:ARBitrary:CLOCk:MODE
value: enums.ClocModeB = driver.source.bb.arbitrary.clock.get_mode()

Enters the type of externally supplied clock.

Returns:

mode: SAMPle

get_multiplier() int[source]
# [SOURce<HW>]:BB:ARBitrary:CLOCk:MULTiplier
value: int = driver.source.bb.arbitrary.clock.get_multiplier()

No help available

get_source() ClockSourceC[source]
# [SOURce<HW>]:BB:ARBitrary:CLOCk:SOURce
value: enums.ClockSourceC = driver.source.bb.arbitrary.clock.get_source()

Selects the clock source:

  • INTernal: Internal clock reference

  • ELCLock: External local clock

  • EXTernal = ELCLock: Setting only Provided for backward compatibility with other Rohde & Schwarz signal generators

Returns:

source: INTernal | ELCLock | EXTernal

get_value() float[source]
# [SOURce<HW>]:BB:ARBitrary:CLOCk
value: float = driver.source.bb.arbitrary.clock.get_value()

Sets the clock frequency. If you load a waveform, the clock rate is determined as defined with the waveform tag {CLOCK: frequency}. This command subsequently changes the clock rate; see specifications document for value range. In the case of an external clock source, the clock of the external source must be specified with this command. For more information, refer to the specifications document.

Returns:

clock: float Range: depends on options , Unit: Hz E.g. 400 Hz to 200 MHz (R&S SMW-B10)

set_mode(mode: ClocModeB) None[source]
# [SOURce<HW>]:BB:ARBitrary:CLOCk:MODE
driver.source.bb.arbitrary.clock.set_mode(mode = enums.ClocModeB.MSAMple)

Enters the type of externally supplied clock.

Parameters:

mode – SAMPle

set_multiplier(multiplier: int) None[source]
# [SOURce<HW>]:BB:ARBitrary:CLOCk:MULTiplier
driver.source.bb.arbitrary.clock.set_multiplier(multiplier = 1)

No help available

set_source(source: ClockSourceC) None[source]
# [SOURce<HW>]:BB:ARBitrary:CLOCk:SOURce
driver.source.bb.arbitrary.clock.set_source(source = enums.ClockSourceC.ELCLock)

Selects the clock source:

  • INTernal: Internal clock reference

  • ELCLock: External local clock

  • EXTernal = ELCLock: Setting only Provided for backward compatibility with other Rohde & Schwarz signal generators

Parameters:

source – INTernal | ELCLock | EXTernal

set_value(clock: float) None[source]
# [SOURce<HW>]:BB:ARBitrary:CLOCk
driver.source.bb.arbitrary.clock.set_value(clock = 1.0)

Sets the clock frequency. If you load a waveform, the clock rate is determined as defined with the waveform tag {CLOCK: frequency}. This command subsequently changes the clock rate; see specifications document for value range. In the case of an external clock source, the clock of the external source must be specified with this command. For more information, refer to the specifications document.

Parameters:

clock – float Range: depends on options , Unit: Hz E.g. 400 Hz to 200 MHz (R&S SMW-B10)