NI Switch Executive VIs
- Updated2023-02-21
- 2 minute(s) read
August 2015, 372552D-01
Use the VIs on the NI Switch Executive palette to build the block diagram.
Palette Object | Description |
---|---|
niSE Open Session VI |
Opens a session to a specified NI Switch Executive virtual device. Opens communications with all of the IVI switches associated with the specified NI Switch Executive virtual device. Returns a session handle that you use to identify the virtual device in all subsequent NI Switch Executive VI calls. |
niSE Close Session VI |
Reduces the reference count of open sessions by one. If the reference count goes to zero, the VI closes any open IVI switch sessions. |
niSE Connect VI |
Connects the routes specified by the connection specification. When connecting, it may allow for multiconnection based on the multiconnection mode. |
niSE Connect And Disconnect VI |
Connects the routes specified by the Connection Specification. When connecting, it may allow for multiconnection based on the Multiconnect Mode. Disconnects the routes specified in the Disconnection Specification. This VI is useful for switching from one state to another state. This function will not wait for debounce. Call the niSE Wait for Debounce function to wait for debounce. |
niSE Disconnect VI |
Disconnects the routes specified in the Disconnection Specification parameter. This function will not wait for debounce. Call the niSE Wait for Debounce function to wait for debounce. |
niSE Disconnect All VI |
Disconnects all connections on every IVI switch device managed by the NI Switch Executive session reference passed to this VI. This function will not wait for debounce. Call the niSE Wait for Debounce function to wait for debounce. |
niSE Expand Route Spec VI |
Expands a route spec string to yield more information about the routes and route groups within the spec. |
niSE Find Route VI |
Finds an existing or potential route between channel 1 and channel 2. |
niSE Get All Connections VI |
Returns all connected routes and route groups. |
niSE Is Connected VI |
Checks to see whether the specified route or route group is connected. |
niSE Is Debounced VI |
Checks to see if the switching system is debounced or not. This VI does not wait for debouncing to occur. It returns true if the system is fully debounced. This VI is similar to the IviSwtch specific function. |
niSE Wait For Debounce VI |
Waits for all of the switches in the NI Switch Executive virtual device to debounce. |
Subpalette | Description |
---|---|
Configuration |
Use the VIs on the Configuration subpalette to programmatically access the NI Switch Executive Virtual Device configuration. |
Low Level |
Use the VIs on the IVI and NI-SWITCH subpalettes to access IVI sessions to instrument drivers of switch devices that are a part of a session to the Switch Executive Virtual Device. |
© 2002–2015 National Instruments. All Rights Reserved.