background image

Functions (continued)

ICON

TYPE

PARAMETER

VALUE TO  SET,  COMMENTS

NISESession

sessionHandle

Reference to virtual device session

NISEBoolean* [out]

isDebounced

• NISE_TRUE
• NISE_FALSE

NISESession

sessionHandle

Reference to virtual device session

NISEInt32

maxTime

Amount of time to wait (in ms) for 

the debounce to complete before 
timing out

Additional C/C++/Visual Basic Functions

C, C++, and Visual Basic users have two additional functions available that are not

needed in LabVIEW.

TYPE

PARAMETER

VALUE TO  SET,  COMMENTS

Clears the last queried error from memory.

NISESession

sessionHandle

Reference to virtual device session

Queries for and returns the most recent 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 cleared

NISEBuffer* [out]

errorDescription

Returns a string describing the error

NISEInt32* [out]

errorDescriptionSize

• Input = size of the error description 

buffer being passed

• Return = size required to hold entire 

string

niSE_GetError

niSE_ClearError

niSE Wait For Debounce

(niSE_WaitForDebounce)

Waits for all of the switches in the NISE virtual device to debounce. 

niSE Is Debounced

(niSE_IsDebounced)

Checks to see if the switching system is debounced or not. This VI/function
does not wait for debouncing to occur and returns true if the system is fully
debounced. 

NI Switch Executive Quick Reference Guide

4

ni.com

323249d.qxp  7/22/2004  4:39 PM  Page 4

Summary of Contents for Switch Executive

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: