set_timebase
Sets the left- and right-hand span for the time axis. Units are seconds relative to the trigger point.Parameters
number required
Time from the trigger point to the left of screen.
number required
Time from the trigger point to the right of screen.
boolean deprecated
This method is deprecated and will be removed soon. Use enable_rollmode() instead.
Toggle Roll Mode
default: false boolean required
Disable all implicit conversions and coercions.
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.5,
"t2": 0.0
}
1
2
3
4
2
3
4