Gets or sets when the measure unit should acquire measurements. Unless this property is configured to OnMeasureTrigger, the DCPowerMeasureTriggerType property is ignored.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public DCPowerMeasurementWhen MeasureWhen { get; set; }

Remarks

For more information about how to configure your measurements, refer to the Acquiring Measurements topic in the NI DC Power Supplies and SMUs Help.

Note

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.

Note

NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.

The default value is OnDemand, if you set the DCPowerSourceMode property to SinglePoint. This value supports only the Measure method and Measure method. The default value is AutomaticallyAfterSourceComplete, if you set the DCPowerSourceMode property to Sequence. This value supports only the Fetch method.

Exceptions

TypeDescription
System.ObjectDisposedException

The property was accessed after the associated NIDCPower object was disposed.

Ivi.Driver.SelectorNameException

The property was accessed with an unknown channel name.

Ivi.Driver.IviCDriverException

The underlying NI-DCPower driver returned an error.