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 . . .
routeOrGroup can be the following:
channel -> channel
[channel -> channel -> channel...]where channel can be the following:
|Tip NI Switch Executive has the option of finding an available path at run time by slightly modifying the syntax. Remove the square brackets and enter the two endpoints of a route delimited by a ->.|
The following are samples of route specification strings for a matrix:
|Route Specification String Examples||Description|
|A->B||Connect channel A to channel B. NI Switch Executive automatically determines the path between the two channels.|
|[SampleMatrix1/c0->SampleMatrix1/r1->SampleMatrix1/c4]||A fully specified path between column 0 and column 4 of SampleMatrix1. Row 1 must be marked as reserved for routing.|
|[Scope->R3->SampleMatrix1/c6]||A fully specified path between the channel named Scope and column 6 of SampleMatrix1. Row 3 must be marked as reserved for routing.|
|Scope->SampleMatrix1/c6||Connect the channel named Scope to column 6 of SampleMatrix1. NI Switch Executive automatically determines the path between the two channels.|
|ArbToInput & ScopeToOutput||Complete the connections for route group ArbToInput and ScopeToOutput.|
|PowerDevice & [Scope->R3->UUT_Out]||Complete the connections for route group PowerDevice and complete the fully specified path between the channel named Scope and the channel named UUT_Out. R3 must be marked as a reserved for routing.|
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.