Contains methods that provide a basic set of utility operations.

Derives from

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public class DCPowerDriverUtility : DCPowerSubObject, IIviDriverUtility

Remarks

For more information, refer to NI DC Power Supplies and SMUs Help.

Thread Safety

All members of this type are safe for multithreaded operations.

Methods

NameDescription
Disable()

This method performs the same actions as Reset, except that this method also immediately sets the Enabled property to false.

ExportAttributeConfigurationBuffer()

Exports a session configuration to a System.Byte array buffer.

ExportAttributeConfigurationFile(string)

Exports a session configuration to the specified file.

GetChannelName(int)

Returns the channel name(s) from a one-based index. Use the Count property to determine the upper bound of valid values for the index.

GetChannelNameFromString(string)

Returns a comma-separated list of channel names from a string index list.

ImportAttributeConfigurationBuffer(byte[])

Imports a configuration  to the session from the specified buffer.

ImportAttributeConfigurationFile(string)

Imports a configuration to the session from the specified file.

Lock(Ivi.Driver.PrecisionTimeSpan)

Attempts to acquire a synchronization lock on this instance of the driver and specifies the maximum amount of time to wait to acquire the lock.

Lock()

Attempts to acquire a synchronization lock on this instance of the driver.

Reset()

Resets all properties to their default value and stops export of all external signals and events.

Reset(string)

Resets the specified channel(s) to a known state. This method disables power generation, resets channel properties to their default values, commits the channel properties, and leaves the channel(s) in the Uncommitted state.

ResetDevice()

Resets all instruments in the session to a known state.

ResetWithDefaults()

Resets all channels in the session to a known state. This method disables power generation, resets session properties to their default values, clears errors such as overtemperature and unexpected loss of auxiliary power, commits the session properties, and leaves the session in the Running state. In addition to exhibiting the behavior of the Reset method, this method can assign user-defined default values for configurable properties from the IVI configuration.

SelfTest()

Performs the instrument self-test routine and returns the test result(s). Calling this method implicitly calls the Reset method.