Table of Contents

Class Source

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DCPower
Assembly
NationalInstruments.SemiconductorTestLibrary.Extensions.dll

Defines methods for DCPower voltage/current sourcing.

public static class Source
Inheritance
Source
Inherited Members

Methods

CheckDCVoltageModeAndLevels(DCPowerSessionsBundle, out IEnumerable<string>, IDictionary<string, double>)

Checks if the output function is set to DCVoltage and the level(s) are set to the expected values.

ConfigureCurrentLimit(DCPowerOutput, double, double?)

Configures the current limit.

ConfigureCurrentLimit(DCPowerSessionsBundle, double, double?)

Configures the current limit.

ConfigureCurrentLimits(DCPowerSessionsBundle, IDictionary<string, double>, IDictionary<string, double>)

Configures the current limits.

ConfigureOutputConnected(DCPowerSessionsBundle, PinSiteData<bool>)

Configures the output relay of the underlying device channel (s) to either be connected (closed) or disconnected (open). Accepts a scalar input of type bool. With overrides for SiteData<T>, and PinSiteData<T> input.

Pass this method a false value to physically disconnect the output terminal from the front panel.

Excessive connecting and disconnecting of the output can cause premature wear on the relay. Disconnect the output only if physically disconnecting is necessary for your application. For example, a battery connected to the output terminal might discharge unless the relay is disconnected.

This method will configure the NationalInstruments.ModularInstruments.NIDCPower.DCPowerOutputSourceOutput.Connected property, which is not supported by all devices. Refer to the Supported Properties by Device topic in the NI-DCPower User Manual for information about supported devices.

This method is independent from the ConfigureOutputEnabled(DCPowerSessionsBundle, bool) method. It does not affect the NationalInstruments.ModularInstruments.NIDCPower.DCPowerOutputSourceOutput.Enabled property.

ConfigureOutputConnected(DCPowerSessionsBundle, SiteData<bool>)

Configures the output relay of the underlying device channel (s) to either be connected (closed) or disconnected (open). Accepts a scalar input of type bool. With overrides for SiteData<T>, and PinSiteData<T> input.

Pass this method a false value to physically disconnect the output terminal from the front panel.

Excessive connecting and disconnecting of the output can cause premature wear on the relay. Disconnect the output only if physically disconnecting is necessary for your application. For example, a battery connected to the output terminal might discharge unless the relay is disconnected.

This method will configure the NationalInstruments.ModularInstruments.NIDCPower.DCPowerOutputSourceOutput.Connected property, which is not supported by all devices. Refer to the Supported Properties by Device topic in the NI-DCPower User Manual for information about supported devices.

This method is independent from the ConfigureOutputEnabled(DCPowerSessionsBundle, bool) method. It does not affect the NationalInstruments.ModularInstruments.NIDCPower.DCPowerOutputSourceOutput.Enabled property.

ConfigureOutputConnected(DCPowerSessionsBundle, bool)

Configures the output relay of the underlying device channel (s) to either be connected (closed) or disconnected (open). Accepts a scalar input of type bool. With overrides for SiteData<T>, and PinSiteData<T> input.

Pass this method a false value to physically disconnect the output terminal from the front panel.

Excessive connecting and disconnecting of the output can cause premature wear on the relay. Disconnect the output only if physically disconnecting is necessary for your application. For example, a battery connected to the output terminal might discharge unless the relay is disconnected.

This method will configure the NationalInstruments.ModularInstruments.NIDCPower.DCPowerOutputSourceOutput.Connected property, which is not supported by all devices. Refer to the Supported Properties by Device topic in the NI-DCPower User Manual for information about supported devices.

This method is independent from the ConfigureOutputEnabled(DCPowerSessionsBundle, bool) method. It does not affect the NationalInstruments.ModularInstruments.NIDCPower.DCPowerOutputSourceOutput.Enabled property.

ConfigureOutputEnabled(DCPowerSessionsBundle, PinSiteData<bool>)

Configures whether to enable (true) or disable (false) output generation on the underlying device channel(s).

ConfigureOutputEnabled(DCPowerSessionsBundle, SiteData<bool>)

Configures whether to enable (true) or disable (false) output generation on the underlying device channel(s).

ConfigureOutputEnabled(DCPowerSessionsBundle, bool)

Configures whether to enable (true) or disable (false) output generation on the underlying device channel(s).

ConfigureSequence(DCPowerOutput, double[], int, double?)

Configures a hardware-timed sequence of values.

ConfigureSequence(DCPowerSessionsBundle, double[], int, double?)

Configures a hardware-timed sequence of values.

ConfigureSourceDelay(DCPowerSessionsBundle, PinSiteData<double>)

Configures the source delay. With overrides for SiteData<T>, and PinSiteData<T> input.

ConfigureSourceDelay(DCPowerSessionsBundle, SiteData<double>)

Configures the source delay. With overrides for SiteData<T>, and PinSiteData<T> input.

ConfigureSourceDelay(DCPowerSessionsBundle, double)

Configures the source delay. With overrides for SiteData<T>, and PinSiteData<T> input.

ConfigureSourceSettings(DCPowerSessionInformation, DCPowerSourceSettings, string)

Configures DCPowerSourceSettings.

ConfigureSourceSettings(DCPowerSessionsBundle, PinSiteData<DCPowerSourceSettings>)

Configures one or more source settings based on values populated within a DCPowerSourceSettings object. Accepts a scalar input of type DCPowerSourceSettings. With overrides for SiteData<T>, and PinSiteData<T> input.

ConfigureSourceSettings(DCPowerSessionsBundle, SiteData<DCPowerSourceSettings>)

Configures one or more source settings based on values populated within a DCPowerSourceSettings object. Accepts a scalar input of type DCPowerSourceSettings. With overrides for SiteData<T>, and PinSiteData<T> input.

ConfigureSourceSettings(DCPowerSessionsBundle, DCPowerSourceSettings)

Configures one or more source settings based on values populated within a DCPowerSourceSettings object. Accepts a scalar input of type DCPowerSourceSettings. With overrides for SiteData<T>, and PinSiteData<T> input.

ConfigureSourceSettings(DCPowerSessionsBundle, IDictionary<string, DCPowerSourceSettings>)

Configures DCPowerSourceSettings.

ConfigureTransientResponse(NIDCPower, string, string, DCPowerSourceTransientResponse)

Configures the transient response.

ForceCurrent(DCPowerSessionsBundle, PinSiteData<DCPowerSourceSettings>, bool)

Forces current using specified pin- and site-unique source settings.

ForceCurrent(DCPowerSessionsBundle, PinSiteData<double>, double?, double?, double?, bool)

Forces current on the target pins at the specified pin- and site-unique level. Must at least provide a level value, and the method will assume all other properties that have been previously set. Optionally, can also provide a specific voltage limit, current level range, voltage limit range values directly.

ForceCurrent(DCPowerSessionsBundle, SiteData<DCPowerSourceSettings>, bool)

Forces current using specified site-unique source settings.

ForceCurrent(DCPowerSessionsBundle, SiteData<double>, double?, double?, double?, bool)

Forces current on the target pins at the specified site-unique level. Must at least provide a level value, and the method will assume all other properties that have been previously set. Optionally, can also provide a specific voltage limit, current level range, voltage limit range values directly.

ForceCurrent(DCPowerSessionsBundle, DCPowerSourceSettings, bool)

Forces current using specified source settings.

ForceCurrent(DCPowerSessionsBundle, IDictionary<string, DCPowerSourceSettings>, bool)

Forces current using specified pin-unique source settings.

ForceCurrent(DCPowerSessionsBundle, IDictionary<string, double>, double?, double?, double?, bool)

Forces current on the target pins at the specified pin-unique level. Must at least provide a level value, and the method will assume all other properties that have been previously set. Optionally, can also provide a specific voltage limit, current level range, voltage limit range values directly.

ForceCurrent(DCPowerSessionsBundle, double, double?, double?, double?, bool)

Forces current on the target pins at the specified level. Must at least provide a level value, and the method will assume all other properties that have been previously set. Optionally, can also provide a specific voltage limit, current level range, voltage limit range values directly.

ForceCurrentAsymmetricLimit(DCPowerSessionsBundle, double, double, double, double?, double?, bool)

Behaves the same as the ForceCurrent() method, but has two voltage limit inputs for setting separate high and low voltage limits.

ForceVoltage(DCPowerSessionsBundle, PinSiteData<DCPowerSourceSettings>, bool)

Forces voltage using specified pin- and site-unique source settings.

ForceVoltage(DCPowerSessionsBundle, PinSiteData<double>, double?, double?, double?, bool)

Forces voltage on the target pins at the specified pin- and site-unique level. Must at least provide a level value, and the method will assume all other properties that have been previously set. Optionally, can also provide a specific current limit, current limit range, voltage level range values directly.

ForceVoltage(DCPowerSessionsBundle, SiteData<DCPowerSourceSettings>, bool)

Forces voltage using specified site-unique source settings.

ForceVoltage(DCPowerSessionsBundle, SiteData<double>, double?, double?, double?, bool)

Forces voltage on the target pins at the specified site-unique level. Must at least provide a level value, and the method will assume all other properties that have been previously set. Optionally, can also provide a specific current limit, current limit range, voltage level range values directly.

ForceVoltage(DCPowerSessionsBundle, DCPowerSourceSettings, bool)

Forces voltage using specified source settings.

ForceVoltage(DCPowerSessionsBundle, IDictionary<string, DCPowerSourceSettings>, bool)

Forces voltage using specified pin-unique source settings.

ForceVoltage(DCPowerSessionsBundle, IDictionary<string, double>, double?, double?, double?, bool)

Forces voltage on the target pins at the specified pin-unique level. Must at least provide a level value, and the method will assume all other properties that have been previously set. Optionally, can also provide a specific current limit, current limit range, voltage level range values directly.

ForceVoltage(DCPowerSessionsBundle, double, double?, double?, double?, bool)

Forces voltage on the target pins at the specified level. Must at least provide a level value, and the method will assume all other properties that have been previously set. Optionally, can also provide a specific current limit, current limit range, voltage level range values directly.

ForceVoltageAsymmetricLimit(DCPowerSessionsBundle, double, double, double, double?, double?, bool)

Behaves the same as the ForceVoltage() method, but as two current limit inputs for setting separate high and low current limits.

GetCurrentLimits(DCPowerSessionsBundle)

Gets the current limits.

GetSourceDelayInSeconds(DCPowerSessionsBundle)

Gets the source delay in seconds for each of the underlying device channel(s), per-pin and per-site.

PowerDown(DCPowerSessionsBundle, double?)

Powers down the channel by disabling output generation on the underlying device channel(s).