Skip to content

ISegCc24#

Controls an iseg high-voltage source with CC24 controller from Python. This class inherits from MeasmaticDevice.


property channels#

The measurement channels (high-voltage channels) of the device.

Returns#

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

Example#

hv = measmatic.get_device('device-iseg')
for channel in hv.channels:
print(channel.name)

property model#

The model string of the device.

Returns#

Type Description
str The model string.

Example#

hv = measmatic.get_device('device-iseg')
model = hv.model

property num_logical_channels#

The number of channels that the device determined during initialization, summed over all modules.

Returns#

Type Description
int The number of logical channels.

Example#

hv = measmatic.get_device('device-iseg')
count = hv.num_logical_channels

property number_of_channels#

The number of channels of the device.

Returns#

Type Description
int The number of channels.

Example#

hv = measmatic.get_device('device-iseg')
count = hv.number_of_channels

method auto_query(cmd: str)#

Sends a command to the device and returns the response line. A command without a question mark is sent with ;*OPC? appended so that it always produces a response. Access to the device is serialized.

Parameters#

Name Description
cmd The command to send, e.g. :READ:MOD:LIST? .

Returns#

Type Description
str The response of the device, or an empty string if the command is empty.

Example#

hv = measmatic.get_device('device-iseg')
response = hv.auto_query(':READ:MOD:LIST?')

method clear_emgcy_off_events()#

Clears the emergency off events of all channels of all modules.

Example#

hv = measmatic.get_device('device-iseg')
hv.clear_emgcy_off_events()

method get_available_modules()#

Returns the information about the modules that are populated in the device.

Returns#

Type Description
Any The modules as a .NET List<ISegCc24.ISegCc24ModuleInfo> .

Example#

hv = measmatic.get_device('device-iseg')
modules = hv.get_available_modules()

method get_card_configurations()#

Returns the channel configurations for all logical channels of the device.

Returns#

Type Description
Any The configurations as a .NET IEnumerable<ChannelConfigurationBase> .

Example#

hv = measmatic.get_device('device-iseg')
configs = hv.get_card_configurations()

method get_current_limit(logicChannel: int)#

Queries the current limit of a channel. Raises an error if the channel number is out of range.

Parameters#

Name Description
logicChannel The zero-based logical channel number.

Returns#

Type Description
float The current limit in amperes.

Example#

hv = measmatic.get_device('device-iseg')
limit = hv.get_current_limit(0)

method get_nominal_current(logicChannel: int)#

Queries the nominal current of a channel.

Parameters#

Name Description
logicChannel The zero-based logical channel number.

Returns#

Type Description
float The nominal current in amperes, or NaN if the channel number is out of range.

Example#

hv = measmatic.get_device('device-iseg')
current = hv.get_nominal_current(0)

method get_nominal_voltage(logicChannel: int)#

Queries the nominal voltage of a channel.

Parameters#

Name Description
logicChannel The zero-based logical channel number.

Returns#

Type Description
float The nominal voltage in volts, or NaN if the channel number is out of range.

Example#

hv = measmatic.get_device('device-iseg')
voltage = hv.get_nominal_voltage(0)

method get_num_modules()#

Returns the number of populated module slots.

Returns#

Type Description
int The number of modules.

Example#

hv = measmatic.get_device('device-iseg')
count = hv.get_num_modules()

method output_off()#

Turns off the voltage on all channels of all modules. The voltage is ramped down with the current ramp parameters, which can take a long time.

Example#

hv = measmatic.get_device('device-iseg')
hv.output_off()

method output_on(module: int, firstChannel: int, lastChannel: int)#

Turns on the voltage output of a channel range of a module. The voltage is ramped up, which can take a long time depending on the setup.

Parameters#

Name Description
module The index of the module.
firstChannel The first channel of the range.
lastChannel The last channel of the range.

Example#

hv = measmatic.get_device('device-iseg')
hv.output_on(0, 0, 3)

method output_on(channels: Any)#

Turns on the voltage output of the given channels. The voltage is ramped up, which can take a long time depending on the setup.

Parameters#

Name Description
channels A list of channel identifiers in iseg syntax, e.g. (#0@0-3) .

Example#

hv = measmatic.get_device('device-iseg')
hv.output_on(['(#0@0-3)', '(#1@0)'])

method read_module_event_status(moduleId: int)#

Reads the event status register of a module.

Parameters#

Name Description
moduleId The index of the module.

Returns#

Type Description
Any The status flags as .NET enumeration
Atv.Framework.Devices.Smu.ISegModuleEventStatus .

Example#

hv = measmatic.get_device('device-iseg')
status = hv.read_module_event_status(0)

method set_voltage(firstChannel: int, lastChannel: int, voltage: float)#

Sets the voltage of a channel range without turning on the output.

Parameters#

Name Description
firstChannel The first logical channel.
lastChannel The last logical channel.
voltage The voltage in volts.

Example#

hv = measmatic.get_device('device-iseg')
hv.set_voltage(0, 3, 500.0)

method set_voltage(channels: Any, voltage: float)#

Sets the voltage of the given channels without turning on the output.

Parameters#

Name Description
channels A list of channel identifiers in iseg syntax, e.g. (#0@0-3) .
voltage The voltage in volts.

Example#

hv = measmatic.get_device('device-iseg')
hv.set_voltage(['(#0@0-3)', '(#1@0)'], 500.0)

method set_voltage_ramp_speed(speedInPercent: float)#

Sets the voltage ramp speed of all modules as a percentage of the nominal voltage per second.

Parameters#

Name Description
speedInPercent The ramp speed in percent of the nominal voltage per second.

Example#

hv = measmatic.get_device('device-iseg')
hv.set_voltage_ramp_speed(20.0)

method shutdown_voltage_output()#

Switches off the voltage output of all modules immediately without ramping down, clears the emergency off events and resets the device.

Example#

hv = measmatic.get_device('device-iseg')
hv.shutdown_voltage_output()