Step.SwitchExecMulticonnectMode
- Updated2025-04-09
- 1 minute(s) read
Step.SwitchExecMulticonnectMode
Syntax
Step.SwitchExecMulticonnectMode
Data Type
Use the following constants with this data type:
- SwitchExecMulticonnectMode_Default –(Value: -1) Defaults to the multiconnect mode as predefined for each route in the NI Switch Executive.
- SwitchExecMulticonnectMode_Multiconnect –(Value: 1) A route can connect multiple times. The route must contain the same endpoints and path. NI Switch Executive automatically reference counts the routes. If you issue multiple Connect operations for a specific route, the route is not physically disconnected until an equal number of Disconnect operations occur. You can either issue the Disconnect operation manually or use a lifetime setting for the route. The Disconnect All operation disconnects a route even if the route reference count is greater than one.
- SwitchExecMulticonnectMode_None –(Value: 0) A route can connect only once.
Purpose
Specifies the behavior when more than one connection operation occurs on a specific route.
Note
If the value of this property is
Multiconnect
, a route can exist longer if another step specifies a lifetime for the same route.