DCPowerOutputMeasurement.ConfigureApertureTime Method
- Updated2024-01-04
- 1 minute(s) read

DCPowerOutputMeasurementConfigureApertureTime Method
Configures the aperture time on the specified channel(s).
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public void ConfigureApertureTime( double apertureTime, DCPowerMeasureApertureTimeUnits units )
Public Sub ConfigureApertureTime ( apertureTime As Double, units As DCPowerMeasureApertureTimeUnits )
Parameters
- apertureTime
- Type: SystemDouble
Specifies the aperture time. - units
- Type: NationalInstruments.ModularInstruments.NIDCPowerDCPowerMeasureApertureTimeUnits
Specifies the units for apertureTime.
Field Value
Type:The supported values depend on the units.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The ConfigureApertureTime(Double, DCPowerMeasureApertureTimeUnits) method was accessed after the associated NIDCPower object was disposed. |
Remarks
Refer to the Aperture Time topic in the NI DC Power Supplies and SMUs Help for information about how to configure your measurements and for information about valid values.
In general, devices support discrete apertureTime values, and if you configure apertureTime to
some unsupported value, NI-DCPower coerces it up to the next supported value.
Refer to the Measurement Configuration and Timing
or DC Noise Rejection topic for your device in the NI DC Power Supplies and SMUs Help for more information about how to configure your measurements.