Relay Driver VIs (TSM)
- Updated2024-02-02
- 2 minute(s) read
Relay Driver VIs (TSM)
Use the Relay Driver VIs to manage PXI-2567 relay driver modules and sessions and to switch relays.
The VIs on this palette return general LabVIEW error codes.
| Palette Object | Description |
|---|---|
| Get Relay Driver Module Names | Returns the names of all relay driver modules in the Semiconductor Module context. You can use the relay driver module names to open driver sessions. |
| Get All Relay Driver NI-SWITCH Sessions | Returns NI-SWITCH sessions for all relay driver modules in the Semiconductor Module context. |
| Set Relay Driver NI-SWITCH Session | Associates an NI-SWITCH session with a relay driver module. |
| Relay(s) To Relay Driver NI-SWITCH Session(s) | Returns the NI-SWITCH sessions and relay names required to access one or more relays connected to relay driver modules. You must manually select the polymorphic instance you want to use. |
| Control Relay(s) | Performs relay actions to 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. |
| Get Relay Names | Returns all site and system relays available in the Semiconductor Module context that are connected to relay driver modules. This VI returns all relays defined in the Semiconductor Module context. |
TSM Controls
The Relay Driver palette also contains the relay and relay configuration controls, which you can use to create controls populated with the relays and relay configurations from a linked sequence file. This allows you to select a value from the control's populated list rather than entering the value as a string. If there is no sequence file linked to the LabVIEW project, or if you are editing the LabVIEW project on a system that cannot access the sequence file, the control acts a string.
| Note To create a control, place it on the front panel. Placing a control on the block diagram creates a constant. |
| Palette Object | Description |
|---|---|
| Relay | Contains a list of relays for the linked sequence file(s). |
| Relay Configuration | Contains a list of relay configurations for the linked sequence file(s). |