Method ConfigureOutputConnected
- 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.
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
sessionsBundleDCPowerSessionsBundleThe DCPowerSessionsBundle object.
connectOutputboolThe 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.
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
sessionsBundleDCPowerSessionsBundleThe DCPowerSessionsBundle object.
connectOutputSiteData<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.
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
sessionsBundleDCPowerSessionsBundleThe DCPowerSessionsBundle object.
connectOutputPinSiteData<bool>The boolean value to either connect (true) or disconnect (false) the output terminal.