manualshive.com logo in svg
background image

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

Содержание Switch Executive

Страница 1: ...ath between two channels and then connects the path Sequenced Connect And Disconnect Uses Connect and Disconnect to sequence through different switching system states Route Specification Syntax Exampl...

Страница 2: ...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 multiconnec...

Страница 3: ...to find NISEBuffer out routeSpec Returns the path between the channels if PATH_EXISTS or PATH_AVAILABLE NISEInt32 in out routeSpecSize Input size of the route string buffer being passed Return the siz...

Страница 4: ...ecent error NISESession sessionHandle Reference to virtual device session NISEStatus out errorNumber Returns the error number of the first error that occurred in the session since the error was last c...

Страница 5: ...y a forward slash delimiter For example device iviChan Note Any channel other than an endpoint within a route specification string must be reserved for routing or directly hardwired to one of the endp...

Страница 6: ...ing contains invalid characters or could not be understood EVAL_TIMED_OUT FFFF8EAF 29008 NI Switch Executive is running with an evaluation license and the time limit for this session has expired Resta...

Страница 7: ...E_ALREADY_EXISTS FFFF8EA2 29021 The route you are trying to connect or a route with the same endpoints is already connected ROUTE_EXISTS_AS_UNSHAREABLE FFFF8EA1 29022 The route you are trying to conne...

Страница 8: ...RDER FFFF8E9A 29030 Invalid operation order CONFIG_CHANNEL_CONFLICT FFFF8E99 29031 A reserved for routing channel required for connecting this route is already in use by another route SOURCE_CHANNEL_C...

Отзывы: