Skip to content

colby.pdl

flex_drivers.colby.pdl.ColbyPDL

Bases: VISAInstrument

Colby Instruments programmable delay line.

On connect the driver reads the stepper rate (RATE?) and re-sends it before each :meth:set_delay unless an explicit rate is given.

set_delay(delay, unit='ns', stepper_rate=None)

Set the delay.

Parameters:

Name Type Description Default
delay float

Delay value.

required
unit str

Delay unit string sent to the instrument (default "ns").

'ns'
stepper_rate float | None

Optional stepper rate; defaults to the last rate used (initially the rate read from the instrument at connect).

None

get_delay()

Get the current delay (raw instrument reply to DEL?).