NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerOutputMeasurement.MeasureWhen Property

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

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: DCPowerMeasurementWhen
The 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

ExceptionCondition
ObjectDisposedExceptionThe property was accessed after the associated NIDCPower object was disposed.
SelectorNameExceptionThe property was accessed with an unknown channel name.
IviCDriverExceptionThe 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.

Note Note
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.
Note Note
NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.

See Also

Log in to get a better experience