background image

CVI

TM

, IVI

TM

,LabVIEW

TM

, National Instruments

TM

, NI

TM

, ni.com

TM

, and TestStand

TM

are trademarks of

National Instruments Corporation. Product and company names mentioned herein are trademarks or
trade names of their respective companies. For patents covering National Instruments products, 
refer to the appropriate location: 

Help»Patents

in your software, the 

patents.txt

file on your CD, 

or  

ni.com/patents.

© 2001

2004 National Instruments Corporation.

All rights reserved.   Printed in Ireland.

*371308A-01*

371308A-01

Jul04

Switch Control Functions

Miscellaneous Functions

Error Codes (continued)

VALUE

VALUE

(HEX)

(DECIMAL)

DESCRIPTION

FILE_READ

FFFF8E9C 

–29028 

An error occurred while attempting to read from file. 

INVALID_MULTICONNECT_MODE

FFFF8E9B 

–29029 

Invalid multiconnect mode. 

INVALID_OPERATION_ORDER

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_CONFLICT

FFFF8E98 

–29032 

Connecting this route would cause excluded channels to be shorted 
together. 

ROUTE_EXISTS_WITH_DIFFERENT_MODE

FFFF8E97 

–29033 

The route you are trying to connect already exists with a different
multiconnect mode. It must be disconnected before you can make this
connection. 

DISABLED_CHANNEL

FFFF8E96

–29034

The channel you are trying to use has been disabled for this virtual 
device.

CANNOT_CONNECT_TO_ITSELF

FFFF8E95

–29035

You cannot connect a channel to itself. Either your endpoint channels are

the same or they reside on the same hardwire.

ROUTE_NOT_FOUND

FFFF8E94

–29036

Route cannot be found between the specified endpoints. 

Programming Flow

The following diagram shows a typical programming flow for NI Switch Executive.

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

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: