Table of Contents

Method ControlRelay

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Relay
Assembly
NationalInstruments.SemiconductorTestLibrary.Extensions.dll

ControlRelay(ISemiconductorModuleContext, string, RelayDriverAction)

Performs the relay action on the relay.

public static void ControlRelay(ISemiconductorModuleContext tsmContext, string relay, RelayDriverAction relayAction)

Parameters

tsmContext ISemiconductorModuleContext

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

relay string

The name of the relay to control.

relayAction RelayDriverAction

The relay action to perform.

ControlRelay(ISemiconductorModuleContext, string[], RelayDriverAction)

Performs the same relay action on multiple relays.

public static void ControlRelay(ISemiconductorModuleContext tsmContext, string[] relays, RelayDriverAction relayAction)

Parameters

tsmContext ISemiconductorModuleContext

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

relays string[]

The name of the relays to control.

relayAction RelayDriverAction

The relay action to perform.

ControlRelay(ISemiconductorModuleContext, string[], RelayDriverAction[])

Performs the relay actions on the relays.

public static void ControlRelay(ISemiconductorModuleContext tsmContext, string[] relays, RelayDriverAction[] relayActions)

Parameters

tsmContext ISemiconductorModuleContext

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

relays string[]

The name of the relays to control.

relayActions RelayDriverAction[]

The relay actions to perform.

ControlRelay(ISemiconductorModuleContext, IDictionary<string, RelayDriverAction>)

Performs the relay actions on the relays.

public static void ControlRelay(ISemiconductorModuleContext tsmContext, IDictionary<string, RelayDriverAction> relayNameToActionDictionary)

Parameters

tsmContext ISemiconductorModuleContext

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

relayNameToActionDictionary IDictionary<string, RelayDriverAction>

A dictionary that maps the relay name to the relay action to apply on that relay.

ControlRelay(ISemiconductorModuleContext, string[], SiteData<RelayDriverAction>)

Performs the relay actions on the relays.

public static void ControlRelay(ISemiconductorModuleContext tsmContext, string[] relays, SiteData<RelayDriverAction> perSiteRelayActions)

Parameters

tsmContext ISemiconductorModuleContext

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

relays string[]

The name of the relays to control.

perSiteRelayActions SiteData<RelayDriverAction>

The per-site relay actions to perform.