manualshive.com logo in svg
background image

Route Specification Strings

Route specification strings are the paths connecting two channels and are composed of

one or more routes delimited by ampersands (

&

). For example, in the following line of

syntax, there are three defined routes or route groups:

routeOrGroup & routeOrGroup & routeOrGroup...

where 

routeOrGroup

can be: 

• Route name 

•  Route group name

• Two endpoint channels to be connected that are delimited by 

->

. NISE dynamically

determines the path between the endpoints. In this mode, a hardwire alias name may
be substituted for the endpoints.

channel -> channel

• Fully specified path enclosed in square brackets consisting of one or more endpoint 

channels delimited by

->

:

[channel -> channel -> channel...]

where

channel

can be: 

• A channel alias name 

• A unique name created by combining the IVI device logical name and IVI 

channel name separated by 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 endpoint channels

.

Channels

used as endpoints must 

not be reserved for routing 

channels.

• When connecting a route, the list of channels must obey the 

exclusion rules by both explicitly in the route specification string, as 
well as implicitly by any previous connections. Exclusion violations 
result in an error.

The following are samples of route specification strings for a matrix:

• [SampleMatrix1/c0->SampleMatrix1/r1->SampleMatrix1/c4] 

• [Scope->R3->SampleMatrix1/c6] 

• ArbToInput & ScopeToOutput 

• PowerDevice & [Scope->R3->UUT_Out]

• DCPower->UUT_Vcc 

Each supported ADE has an associated Route Specification String Example. Refer to the
examples for the appropriate ADE to see how route specification strings are used when
programming.

©

National Instruments Corporation

5

NI Switch Executive Quick Reference Guide

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

Содержание 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...

Отзывы: