photons.equipment.oscilloscope module

Base class for an oscilloscope.

class photons.equipment.oscilloscope.Oscilloscope(record, **kwargs)[source]

Bases: BaseEquipment

Base class for an oscilloscope.

Parameters:
  • record (EquipmentRecord) – The equipment record.

  • **kwargs – Keyword arguments. Can be specified as attributes of an XML element in a configuration file (with the tag of the element equal to the alias of record).

connection: ConnectionMessageBased
configure_channel(channel, **kwargs)[source]

Configure a channel.

Return type:

None

configure_timebase(**kwargs)[source]

Configure the timebase.

Return type:

None

configure_trigger(**kwargs)[source]

Configure the trigger.

Return type:

None

run()[source]

Start acquiring waveform data.

Return type:

None

single()[source]

Capture and display a single acquisition.

Return type:

None

trigger()[source]

Send a software trigger.

Return type:

None

stop()[source]

Stop acquiring waveform data.

Return type:

None

waveform(*channels, **kwargs)[source]

Get the waveform data.

Return type:

ndarray