Method SetupNIDMMInstrumentation
- 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
tsmContextISemiconductorModuleContextThe NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
resetDeviceboolWhether to reset device during initialization.
apertureTimeUnitsDmmApertureTimeUnitsThe aperture time units.
apertureTimedoubleThe aperture time.
settleTimedoubleThe settle time.
powerLineFrequencydoubleThe power line frequency.
initialMeasurmentSettingsDMMMeasurementSettings?The initial measurement settings.