Method ControlRelay
- 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
tsmContextISemiconductorModuleContext-
The NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
relaystring-
The name of the relay to control.
relayActionRelayDriverAction-
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
tsmContextISemiconductorModuleContext-
The NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
relaysstring[]-
The name of the relays to control.
relayActionRelayDriverAction-
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
tsmContextISemiconductorModuleContext-
The NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
relaysstring[]-
The name of the relays to control.
relayActionsRelayDriverAction[]-
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
tsmContextISemiconductorModuleContext-
The NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
relayNameToActionDictionaryIDictionary<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)