set_timebase

Set the left- and right-hand span for the time axis. Units are seconds relative to the trigger point.

In the PID instrument, this timebase refers to the Monitor unit. See `set_monitor`.

Parameters

number required
Time from the trigger point to the left of screen. This may be negative (trigger on-screen) or positive (trigger off the left of screen).
number required
Time from the trigger point to the right of screen.
boolean
Disable all implicit conversions and coercions.
default: true

Parameter conversion

The t1 and t2 parameters are converted to offset=-(t1+t2)/2 and span=(t2-t1) before sending to the Moku. Any error messages that occur due to values being out of range will refer to the value of the offset or span. If out of range values are given with strict=False then the returned t1 and t2 values will be recalculated based on the coerced offset and span values.

# Examples

# Sample response

{
    "t1": -0.001,
    "t2": 0.001
}
1
2
3
4