lightlab.equipment.lab_instruments.Tektronix_DPO4032_Oscope module

Reference

class Tektronix_DPO4032_Oscope(name='The DPO scope', address=None, **kwargs)[source]

Bases: lightlab.equipment.lab_instruments.Tektronix_DPO4034_Oscope.Tektronix_DPO4034_Oscope

Manual: https://www.imperial.ac.uk/media/imperial-college/research-centres-and-groups/centre-for-bio-inspired-technology/7293027.PDF

totalChans = 2
timebaseConfig(avgCnt=None, duration=None)[source]

Timebase and acquisition configure

Parameters:
  • avgCnt (int) – averaging done by the scope
  • duration (float) – time, in seconds, for data to be acquired
Returns:

(dict) The present values of all settings above

acquire(chans=None, timeout=None, **kwargs)[source]

Get waveforms from the scope.

If chans is None, it won’t actually trigger, but it will configure.

If unspecified, the kwargs will be derived from the previous state of the scope. This is useful if you want to play with it in lab while working with this code too.

Parameters:
  • chans (list) – which channels to record at the same time and return
  • avgCnt (int) – number of averages. special behavior when it is 1
  • duration (float) – window width in seconds
  • position (float) – trigger delay
  • nPts (int) – number of sample points
  • timeout (float) – time to wait for averaging to complete in seconds If it is more than a minute, it will do a test first
Returns:

recorded signals

Return type:

list[Waveform]