AtvGateDrive#
Controls an ATV GateDrive pulser (1 to 4 channel variants) 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#
gate_drive = measmatic.get_device('device-gatedrive')
for channel in gate_drive.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#
gate_drive = measmatic.get_device('device-gatedrive')
count = gate_drive.number_of_channels
method check_errors()#
Checks the device for errors. This device performs no check.
Example#
gate_drive = measmatic.get_device('device-gatedrive')
gate_drive.check_errors()
method check_pulse_option()#
Checks that the pulse option is available. This device performs no check.
Example#
gate_drive = measmatic.get_device('device-gatedrive')
gate_drive.check_pulse_option()
method pulse_start()#
Starts the pulse sequence. On this device the call has no effect; pulses are controlled per channel.
Example#
gate_drive = measmatic.get_device('device-gatedrive')
gate_drive.pulse_start()
method wait_completed()#
Waits until the device has completed all pending operations. This device performs no wait.
Example#
gate_drive = measmatic.get_device('device-gatedrive')
gate_drive.wait_completed()