set_timebase

Set 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. This may be negative (trigger on-screen) or positive (trigger off the left of screen).
units: Seconds
number required
Time from the trigger point to the right of screen. (Must be a positive number, i.e. after the trigger event)
units: Seconds
number
Requested maximum frame length. The subsequent calls to `get_data` will return frames with as close to this many points as possible without going over. Achievable frame lengths depend on the specific timebase and hardware version, so the user code should be written to work with frame lengths that change when the timebase changes.
default: 1024
allowed values:128, 256, 512, 1024, 2048, 4096, 8192, 16384
units: points
boolean
Disable all implicit conversions and coercions.
default: true

# Examples

# Sample response

{
    "offset": 0.0,
    "span": 0.002
}
1
2
3
4