Disable()
- Updated2025-10-06
- 1 minute(s) read
Disables the SourceTrigger. The specified channel(s) do not wait for a Source trigger before performing a source operation.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public void Disable()
Remarks
This method cannot be called in the Running state. Refer to the Programming States topic in the NI DC Power Supplies and SMUs Help for information about the specific NI-DCPower software states.
NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.
This method is not supported by all instruments. Refer to the Supported Functions by Device topic in the NI DC Power Supplies and SMUs Help for information about supported instruments.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The method was called after the associated NIDCPower object was disposed. |
| Ivi.Driver.OperationNotSupportedException | The method was called to unsupported hardware. |
| Ivi.Driver.SelectorNameException | The method was called with an unknown channel name. |
| Ivi.Driver.IviCDriverException | The underlying NI-DCPower driver returned an error. |