Timebase

SCPI Commands :

TIMebase:DIVisions
TIMebase:RANGe
TIMebase:REFerence
TIMebase:SCALe
Commands in total: 8
Subgroups: 2
Direct child commands: 4
get_divisions() int[source]
# TIMebase:DIVisions
value: int = driver.timebase.get_divisions()

Returns the number of horizontal divisions on the screen. The number cannot be changed.

get_range() float[source]
# TIMebase:RANGe
value: float = driver.timebase.get_range()

Sets the time of one acquisition, which is the time across the 10 divisions of the diagram: Acquisition time = Time scale * 10 divisions.

Returns:

timebase_range: 2E-9 to 100E+3

get_reference() float[source]
# TIMebase:REFerence
value: float = driver.timebase.get_reference()

Sets the position of the reference point in % of the screen. It defines which part of the waveform is shown.

Returns:

rescale_ctr_pos: 0 to 100

get_scale() float[source]
# TIMebase:SCALe
value: float = driver.timebase.get_scale()

Sets the horizontal scale, the time per division, for all waveforms in the time domain, for example, channel and math waveforms.

Returns:

timebase_scale: 200E-12 to 10E+3

set_range(timebase_range: float) None[source]
# TIMebase:RANGe
driver.timebase.set_range(timebase_range = 1.0)

Sets the time of one acquisition, which is the time across the 10 divisions of the diagram: Acquisition time = Time scale * 10 divisions.

Parameters:

timebase_range – 2E-9 to 100E+3

set_reference(rescale_ctr_pos: float) None[source]
# TIMebase:REFerence
driver.timebase.set_reference(rescale_ctr_pos = 1.0)

Sets the position of the reference point in % of the screen. It defines which part of the waveform is shown.

Parameters:

rescale_ctr_pos – 0 to 100

set_scale(timebase_scale: float) None[source]
# TIMebase:SCALe
driver.timebase.set_scale(timebase_scale = 1.0)

Sets the horizontal scale, the time per division, for all waveforms in the time domain, for example, channel and math waveforms.

Parameters:

timebase_scale – 200E-12 to 10E+3

Cloning the Group

# Create a copy of the original group, that exists independently
timebase_copy = driver.timebase.clone()

Subgroups