Table of Contents

Method SetupNIRelayModules

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

SetupNIRelayModules(ISemiconductorModuleContext, bool, string)

Initializes NI Switch instrument sessions and NI DAQmx tasks associated with relay modules within 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 initialRelayConfigurationToApply input is provided, the step will apply the specified relay configuration. Note that the relay configuration must be defined within the pin map, otherwise the step will throw an exception. Supported devices: PXI-2567 and PXIe-6368. This method expects each NI DAQmx task associated with relays in the pin map to have the Task Type set to "DAQmxRelay".

public static void SetupNIRelayModules(ISemiconductorModuleContext tsmContext, bool resetDevice = false, string initialRelayConfigurationToApply = "")

Parameters

tsmContext ISemiconductorModuleContext

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

resetDevice bool

Whether to reset device during initialization.

initialRelayConfigurationToApply string

The initial relay configuration to apply.