sweep_delay

sweep_delay#

method

TSL550.sweep_delay(val: float = None) float[source]#

Set the time between consecutive sweeps in continuous mode.

If a new value is not provided, the current one will be returned.

The valid range is 0 - 999.9 (s) with a minimum step of 0.1 s.

Parameters:
valfloat, optional

The delay between sweeps in seconds.

Returns:
float

The set delay between sweeps in seconds.

Examples

>>> laser.sweep_delay()
0.0
>>> laser.sweep_delay(1.5)
1.5