Rigol

RigolDS1000Series Oscilloscope

class instruments.rigol.RigolDS1000Series(filelike)[source]

The Rigol DS1000-series is a popular budget oriented oscilloscope that has featured wide adoption across hobbyist circles.

Warning

This instrument is not complete, and probably not even functional!

class AcquisitionType[source]

Enum containing valid acquisition types for the Rigol DS1000

average = 'AVER'
normal = 'NORM'
peak_detect = 'PEAK'
class Channel(parent, idx)[source]

Class representing a channel on the Rigol DS1000.

This class inherits from DataSource.

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the RigolDS1000Series class.

query(cmd)[source]

Passes a command from the Channel class to the parent RigolDS1000Series, appending the required channel identification.

Parameters:cmd (str) – The command string to send to the instrument
Returns:The result as returned by the instrument
Return type:str
sendcmd(cmd)[source]

Passes a command from the Channel class to the parent RigolDS1000Series, appending the required channel identification.

Parameters:cmd (str) – The command string to send to the instrument
bw_limit
coupling
display
filter
invert
vernier
class Coupling[source]

Enum containing valid coupling modes for the Rigol DS1000

ac = 'AC'
dc = 'DC'
ground = 'GND'
class DataSource(parent, name)[source]

Class representing a data source (channel, math, or ref) on the Rigol DS1000

Warning

This class should NOT be manually created by the user. It is designed to be initialized by the RigolDS1000Series class.

read_waveform(bin_format=True)[source]

Gets the waveform of the specified data source channel. This is an abstract property.

Parameters:bin_format (bool) – If the waveform should be transfered in binary (True) or ASCII (False) formats.
Returns:The waveform with both x and y components.
Return type:numpy.ndarray
name

Gets the name of the channel. This is an abstract property.

Type:str
force_trigger()[source]

Forces a trigger event to occur on the attached oscilloscope.

release_panel()[source]

Releases any lockout of the local control panel.

run()[source]

Starts running the oscilloscope trigger.

stop()[source]

Stops running the oscilloscope trigger.

acquire_averages

Gets/sets the number of averages the oscilloscope should take per acquisition.

Type:int
acquire_type
channel

Gets an iterator or list for easy Pythonic access to the various channel objects on the oscilloscope instrument. Typically generated by the ProxyList helper.

math

Gets an iterator or list for easy Pythonic access to the various math data sources objects on the oscilloscope instrument. Typically generated by the ProxyList helper.

panel_locked
ref

Gets an iterator or list for easy Pythonic access to the various ref data sources objects on the oscilloscope instrument. Typically generated by the ProxyList helper.