Skip to content

Agilent81110#

Controls a two-channel Agilent 81110 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 add_channel_output_voltage(add: bool)#

Enables or disables the addition of the two channel output voltages (channel math PLUS or OFF ).

Parameters#

Name Description
add True to add the channel output voltages, False to switch the channel math off.

Example#

pulser = measmatic.get_device('device-pulser')
pulser.add_channel_output_voltage(True)

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 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()