Width
- Updated2025-10-06
- 1 minute(s) read
Gets or sets the width, in seconds, of the DCPowerOutputMeasureCompleteEvent.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public PrecisionTimeSpan Width { get; set; }
Remarks
This property is not supported by all instruments. Refer to the Supported Properties by Device topic in the NI DC Power Supplies and SMUs Help for information about supported instruments.
To use the per-channel version of this property, you must first initialize the session with the NIDCPower(string, bool, string) constructor. If the session was initialized with a deprecated constructor, use the per-session version of this property instead or include all channels.
The minimum event pulse width value for the NI PXI-4132 is 150 ns, and the minimum event pulse width value for PXI Express devices is 250 ns.
The maximum event pulse width value for all devices is 1.6 microseconds.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The property was accessed after the associated NIDCPower object was disposed. |
| Ivi.Driver.OperationNotSupportedException | The property was accessed to unsupported hardware. |
| Ivi.Driver.SelectorNameException | The property was accessed with an unknown channel name. |
| Ivi.Driver.IviCDriverException | The underlying NI-DCPower driver returned an error. |