background image

QUICK REFERENCE GUIDE

National Instruments

TM

Switch Executive

This document contains quick reference information about examples, VIs/functions,

route specification strings, and error codes for NI Switch Executive (NISE).

Examples

ICON

VI/FUNCTION NAME AND DESCRIPTION

Using Find Route to Connect Two Channels

Uses Find Route to determine a path 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 Example

Demonstrates the many different aspects of route specifications, including
usage of routes, route groups, fully specified routes, and combinations of
route types.

Interactive Control

Uses many of the API functions through an interactive tool.

Getting Started

Opens a session and makes a route connection.

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

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: