Timebase

SCPI Commands :

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

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

Returns:

horiz_div_cnt: 4 to 20

get_rac_time() float[source]
# TIMebase:RACTime
value: float = driver.timebase.get_rac_time()

Queries the required acquisition time. If FFT gating is used and the resolution BW is set to constant, record length can be extended to acquire the required number of samples. In this case, the required acquisition time differs from the adjusted acquisition time (method RsRtx.timebase.range() ) .

Returns:

hwa_cq_time: Required acquisition time for FFT

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

Defines the time of one acquisition, that is the time across the 10 divisions of the diagram: TimeScale``*10``.

Returns:

acq_time: 250E-12 to 100E+3 (RTO, RTP) | 50E+3 (RTE)

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

Sets the position of the reference point in % of the screen. The reference point marks the rescaling center of the time scale. If you modify the time scale, the reference point remains fixed on the screen, and the scale is stretched or compresses to both sides of the reference point.

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

Sets the horizontal scale - the time per division on the x-axis - for all channel and math waveforms. The setting accuracy depends on the current resolution (sample rate) .

  • No interpolation: The resolution is an integer multiple of the ADC sample rate.

  • With interpolation: Any value for the horizontal scale can be set.

Returns:

time_scale: 25E-12 to 10000 (RTO, RTP) | 5000 (RTE)

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

Defines the time of one acquisition, that is the time across the 10 divisions of the diagram: TimeScale``*10``.

Parameters:

acq_time – 250E-12 to 100E+3 (RTO, RTP) | 50E+3 (RTE)

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

Sets the position of the reference point in % of the screen. The reference point marks the rescaling center of the time scale. If you modify the time scale, the reference point remains fixed on the screen, and the scale is stretched or compresses to both sides of the reference point.

Parameters:

rescale_ctr_pt – 0 to 100

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

Sets the horizontal scale - the time per division on the x-axis - for all channel and math waveforms. The setting accuracy depends on the current resolution (sample rate) .

  • No interpolation: The resolution is an integer multiple of the ADC sample rate.

  • With interpolation: Any value for the horizontal scale can be set.

Parameters:

time_scale – 25E-12 to 10000 (RTO, RTP) | 5000 (RTE)

Cloning the Group

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

Subgroups