Control Relay(s) (TSM)
- Updated2024-02-02
- 6 minute(s) read
Control Relay(s) (TSM)
Requires: TSM
Performs relay actions on one or more relays. You must manually select the polymorphic instance you want to use. Select the single relay or multiple relays polymorphic instance based on the number of relays for which you perform the actions.
Relay Configuration
Performs the relay actions on the relays in the relay configuration.
![]()
| Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object. | |
| Relay Configuration specifies the name of the relay configuration. | |
| error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. | |
| Wait (s) specifies the time to wait, in seconds, for the relays to settle after performing the relay action. This input is optional. The default is 0s. | |
| Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged. | |
| error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error. |
Single Relay - Single Relay Action
Performs the relay action on the relay.
![]()
| Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object. | |
| Relay specifies the name of the relay or relay group that identifies the relays. | |
| Relay Action specifies to open or close all identified relays. | |
| error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. | |
| Wait (s) specifies the time to wait, in seconds, for the relays to settle after performing the relay action. This input is optional. The default is 0s. | |
| Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged. | |
| error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error. |
Multiple Relays - Single Relay Action
Performs the relay action on the relays.
![]()
| Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object. | |
| Relays specifies the names of the relays or relay groups that identify the relays. | |
| Relay Action specifies to open or close all identified relays. | |
| error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. | |
| Wait (s) specifies the time to wait, in seconds, for the relays to settle after performing the relay action. This input is optional. The default is 0s. | |
| Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged. | |
| error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error. |
Multiple Relays - Multiple Relay Actions
Performs the relay actions on the relays.
![]()
| Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object. | |
| Relays specifies the names of the relays or relay groups that identify the relays. | |
| Relay Actions specifies to open or close the relays identified by the corresponding relay or relay group. | |
| error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. | |
| Wait (s) specifies the time to wait, in seconds, for the relays to settle after performing all relay actions. This input is optional. The default is 0s. | |
| Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged. | |
| error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error. |