Method SetupNIRelayModules
- 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 = "")