DCPowerOutputMeasurement.MeasureWhen Property
- Updated2024-01-04
- 2 minute(s) read

DCPowerOutputMeasurementMeasureWhen Property
Gets or sets when the measure unit should acquire measurements. Unless this property is configured to OnMeasureTrigger, the DCPowerMeasureTriggerType property is ignored.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public DCPowerMeasurementWhen MeasureWhen { get; set; }
Public Property MeasureWhen As DCPowerMeasurementWhen Get Set
Property Value
Type: DCPowerMeasurementWhenThe default value is OnDemand, if you set the DCPowerSourceMode property to SinglePoint. This value supports only the Measure(String) method and Measure(String) method. The default value is AutomaticallyAfterSourceComplete, if you set the DCPowerSourceMode property to Sequence. This value supports only the Fetch(String, PrecisionTimeSpan, Int32) method.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The property was accessed after the associated NIDCPower object was disposed. |
SelectorNameException | The property was accessed with an unknown channel name. |
IviCDriverException | The underlying NI-DCPower driver returned an error. |
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.
![]() |
---|
To use the per-channel version of this property, you must first initialize the session with the NIDCPower(String, Boolean, String) constructor. If the session was initialized with a deprecated constructor, use the per-session version of this property instead or include all channels. |
![]() |
---|
NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively. |