Table of Contents

Method ConfigureOutputConnected

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

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.

public static void ConfigureOutputConnected(this DCPowerSessionsBundle sessionsBundle, bool connectOutput)

Parameters

sessionsBundle DCPowerSessionsBundle

The DCPowerSessionsBundle object.

connectOutput bool

The boolean value to either connect (true) or disconnect (false) the output terminal.

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.

public static void ConfigureOutputConnected(this DCPowerSessionsBundle sessionsBundle, SiteData<bool> connectOutput)

Parameters

sessionsBundle DCPowerSessionsBundle

The DCPowerSessionsBundle object.

connectOutput SiteData<bool>

The boolean value to either connect (true) or disconnect (false) the output terminal.

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.

public static void ConfigureOutputConnected(this DCPowerSessionsBundle sessionsBundle, PinSiteData<bool> connectOutput)

Parameters

sessionsBundle DCPowerSessionsBundle

The DCPowerSessionsBundle object.

connectOutput PinSiteData<bool>

The boolean value to either connect (true) or disconnect (false) the output terminal.