Table of Contents

Method SetupNIDMMInstrumentation

Namespace
NationalInstruments.SemiconductorTestLibrary.TestStandSteps
Assembly
NationalInstruments.SemiconductorTestLibrary.TestStandSteps.dll

SetupNIDMMInstrumentation(ISemiconductorModuleContext, bool, DmmApertureTimeUnits, double, double, double, DMMMeasurementSettings?)

Initializes NI DMM instrument sessions associated with the pin map. If the resetDevice input is set to True, then the instrument will be reset as the session is initialized (default = False). If the powerLineFrequency is set to -1, the method will attempt to automatically determine the power line frequency and set the power line frequency property for the respective driver sessions. If the power line frequency cannot be determined, the property will not be set and the driver will use the default value of this property (60Hz). This is currently only supported by systems that use a PXIe-109x chassis or newer. If the initialMeasurmentSettings is specified, all DMM sessions will be configured to the specified measurement function (not configured by default).

public static void SetupNIDMMInstrumentation(ISemiconductorModuleContext tsmContext, bool resetDevice = false, DmmApertureTimeUnits apertureTimeUnits = DmmApertureTimeUnits.PowerLineCycles, double apertureTime = 1, double settleTime = 0.01, double powerLineFrequency = -1, DMMMeasurementSettings? initialMeasurmentSettings = null)

Parameters

tsmContext ISemiconductorModuleContext

The NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.

resetDevice bool

Whether to reset device during initialization.

apertureTimeUnits DmmApertureTimeUnits

The aperture time units.

apertureTime double

The aperture time.

settleTime double

The settle time.

powerLineFrequency double

The power line frequency.

initialMeasurmentSettings DMMMeasurementSettings?

The initial measurement settings.