Skip to content

RigolDg1000Z#

Controls a two-channel Rigol DG1000Z function/pulse generator (used as a pulser) from Python. This class inherits from MeasmaticDevice.


property channels#

Gets the pulser channels of the device.

Returns#

Type Description
Any The channels as a .NET IEnumerable<IDeviceChannel> .

Example#

pulser = measmatic.get_device('device-pulser')
for channel in pulser.channels:
print(channel.Name)

property number_of_channels#

Gets the number of channels of the device.

Returns#

Type Description
int The number of channels.

Example#

pulser = measmatic.get_device('device-pulser')
count = pulser.number_of_channels

method check_errors()#

Reads the device error queue and raises an error if the device reports one.

Example#

pulser = measmatic.get_device('device-pulser')
pulser.check_errors()

method check_pulse_option()#

Checks that the pulse option is available. This device performs no check.

Example#

pulser = measmatic.get_device('device-pulser')
pulser.check_pulse_option()

method pulse_start()#

Starts the pulse sequence. On this device the call has no effect; pulses are controlled per channel.

Example#

pulser = measmatic.get_device('device-pulser')
pulser.pulse_start()

method reset()#

Resets the pulser to its default state ( *RST ).

Example#

pulser = measmatic.get_device('device-pulser')
pulser.reset()

method wait_completed()#

Waits until the device has completed all pending operations ( *OPC? ) and raises an error otherwise.

Example#

pulser = measmatic.get_device('device-pulser')
pulser.wait_completed()