Table of Contents

Method ResetInstrumentation

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

ResetInstrumentation(ISemiconductorModuleContext, bool, NIInstrumentType)

Resets the instrument sessions for the specified instrumentType associated with the pin map by invoking the Reset() method of the supported instrument driver. By default, the instrumentType input is set to All, which targets all supported instrument types in parallel. This can be configured to target a specific instrument type, which can be useful for debugging purposes and/or if there is a need to ensure instruments are reset individually or sequentially (requiring multiple instances of this step). Note that the following types are supported: niDCPower, niDigitalPattern, niRelayDriver, niDMM, niScope, niFGen, and niSync. For instrumentation that also have the ResetDevice() method (hard reset), this can optionally be invoked instead of the Reset() method (soft-reset) if the resetDevice input is set True (default = False): niDCPower, niDigitalPattern, niScope, and niFGen. Refer to the individual instrument driver documentation for more details.

public static void ResetInstrumentation(ISemiconductorModuleContext tsmContext, bool resetDevice = false, SetupAndCleanupSteps.NIInstrumentType instrumentType = NIInstrumentType.All)

Parameters

tsmContext ISemiconductorModuleContext

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

resetDevice bool

Whether to perform a hard reset on the device.

instrumentType SetupAndCleanupSteps.NIInstrumentType

The type of instrument to reset.