National Instruments Switch Executive Switch User Manual


 
NI Switch Executive Quick Reference Guide
2 ni.com
Functions†
ICON TYPE PARAMETER VALUE TO SET, COMMENTS
NISEConstString virtualDeviceName Name of the NISE virtual device to
open a session to
NISEConstString options Used to pass information to each of
the IVI devices on startup
NISESession* [out] sessionHandle Reference to virtual device session
NISESession sessionHandle Reference to virtual device session
NISESession sessionHandle Reference to virtual device session
NISEConstString connectSpec String describing the connections
to be made
NISEInt32 multiconnectMode USE_DEFAULT_MODE (–1)
• NO_MULTICONNECT (0)
MULTICONNECT_ROUTES (1)
NISEBoolean waitForDebounce • NISE_TRUE
• NISE_FALSE
NISESession sessionHandle Reference to virtual device session
NISEConstString connectSpec String describing the connections
to be made
NISEConstString disconnectSpec String describing the
disconnections to be made
niSE Connect And Disconnect
(niSE_ConnectAndDisconnect)
Connects the routes specified by the connection specification.
When connecting, it may allow for multiconnection based on the
multiconnection mode. Disconnects the routes specified in the
disconnection specification. This VI/ function is useful for switching
from one state to another state.
niSE Connect
(niSE_Connect)
Connects the routes specified by the connection specification.
When connecting, it may allow for multiconnection based on the
multiconnection mode.
niSE Close Session
(niSE_CloseSession)
Reduces the reference count of open sessions by one. If the reference count
goes to zero, any open IVI switch sessions are closed.
niSE Open Session
(niSE_OpenSession)
Opens a session to a specified NISE virtual device. Opens communications
with all of the IVI switches associated with the specified NISE virtual device.
Returns a session handle used to identify the virtual device in all subsequent
NISE calls.
† Function names for C, C++, LabWindows
TM
/CVI
TM
, and Visual Basic are in parentheses.
323249d.qxp 7/22/2004 4:39 PM Page 2