5.13. ROUTe

The ROUTe command subsystem controls switching operations for relay modules such as SMX46 and PREL6 and defines channel labels.

 

Please note that when list of channels separated with comma is specified no space is allowed. For example (@111,121) instead of (@111, 121) or (@111 , 121).

 

SCPI command

Description

ROUTe

 

:CLOSe {<chanlist>}

Closes (turns on) specified relay matrix channels

:LABel

 

:CHANnel {<channel>}, {<label>}

Sets relay channel label

:COLumn {<slot>},{<column>},{<label>}

Sets relay matrix column label

:ROW {<slot>},{<row>},{<label>}

Sets relay matrix row label

:OPEN {<chanlist>}

Opens (turns off) specified relay matrix channels

5.13.1. ROUTe:CLOSe

Syntax

ROUTe:CLOSe {<chanlist>}

ROUTe:CLOSe? {<chanlist>}

Modules

 SMX  PREL 

Description

This command closes (turns it on) the relay matrix channels specified by <chanlist>. <chanlist> has the form (@nrc) where n is the module slot number, r is the channel row number and c is the column number.

Parameters

Name

Type

Range

Default

<chanlist>

ChannelList

SMX: (@n03) and (@n11) to (@n46), PREL: (@n01) to (@n06) where n is the slot number

Return

Returns the current state of the channel(s) queried. The command returns "1" if channel(s) are closed (relay is energized) or returns "0" if channel(s) are open (relay is idle).

Usage example

Close (activate) four crosspoints (X1Y1, X2Y1, X3Y1, X4Y1) at once on the SMX46 inserted into slot 1:

ROUT:CLOS (@111,112,113,114)

Close all crosspoints in row 3 (X3Y1 to X3Y6) at once on the SMX46 inserted into slot 1:

ROUT:CLOS (@113:163)

Close power relay on SMX46 inserted in slot 2:

ROUT:CLOS (@203)

Errors

-200,"Execution error"

Related Commands

ROUTe:OPEN

SYSTem:RELay:CYCLes?

5.13.2. ROUTe:LABel:CHANnel

Syntax

ROUTe:LABel:CHANnel {<channel>}, {<label>}

ROUTe:LABel:CHANnel? {<channel>}

Modules

PREL 

Description

Use this command to define the channel label specified by <channel>.

Parameters

Name

Type

Range

Default

<channel>

Channel

(@n01) to (@n06) where n is the slot number

 

<label>

Quoted string

Max. 10 characters

Return

Returns the label of the channel queried as a quoted string.

Usage example

Set label “Heater” for the first channel on the PREL6 inserted into slot 2:

ROUT:CHAN:LAB (@201),"Heater"

Errors

-200,"Execution error"

Related Commands

ROUTe:CLOSe

ROUTe:OPEN

5.13.3. ROUTe:LABel:COLumn

Syntax

ROUTe:LABel:COLumn {<slot>}, {<column>}, {<label>}

ROUTe:LABel:COLumn? {<slot>}, {<column>}

Modules

 SMX 

Description

Use this command to define the column label of the relay matrix specified by <slot> and <column>.

Parameters

Name

Type

Range

Default

<slot>

NR1

1 – 3

<column>

NR1

1 – 6

<label>

Quoted string

Max. 5 characters

Return

Returns the label of the column queried on the specified slot as a quoted string.

Usage example

Set label “Sense” for the fifth column of the SMX46 inserted into slot 2:

ROUT:LAB:COL 2, 5, "Sense"

Errors

-200,"Execution error"

Related Commands

ROUTe:CLOSe

ROUTe:LABel:ROW

ROUTe:OPEN

5.13.4. ROUTe:LABel:ROW

Syntax

ROUTe:LABel:ROW {<slot>}, {<row>}, {<label>}

ROUTe:LABel:ROW? {<slot>}, {<row>}

Modules

 SMX 

Description

Use this command to define the column label of the relay matrix specified by <slot> and <row>.

Parameters

Name

Type

Range

Default

<slot>

NR1

1 – 3

<row>

NR1

1 – 4

<label>

Quoted string

Max. 5 characters

Return

Returns the label of the row queried on the specified slot as a quoted string.

Usage example

Set label “Bias” for the third row of the SMX46 inserted into slot 2:

ROUT:LAB:COL 2, 3, "Bias"

Errors

-200,"Execution error"

Related Commands

ROUTe:CLOSe

ROUTe:LABel:COLumn

ROUTe:OPEN

5.13.5. ROUTe:OPEN

Syntax

ROUTe:OPEN {<chanlist>}

ROUTe:OPEN? {<chanlist>}

Modules

 SMX  PREL 

Description

This command closes (turns it off) the relay matrix channels specified by <chanlist>. <chanlist> has the form (@nrc) where n is the module slot number, r is the channel row number and c is the column number.

 

The *RST command will open all channels of all modules.

Parameters

Name

Type

Range

Default

<chanlist>

ChannelList

SMX: (@n03) and (@n11) to (@n46), PREL: (@n01) to (@n06) where n is the slot number

Return

Returns the current state of the channel(s) queried. The command returns "1" if channel(s) are open (relay is idle) or returns "0" if channel(s) are closed (relay is energized).

Usage example

Open (deactivate) two crosspoints (X1Y3 and X4Y2) at once on the SMX46 inserted into slot 1:

ROUT:OPEN (@131,124)

Open two sequence of crosspoints (X2Y2 to X4Y2 and X2Y4 to X4Y4, i.e. six crosspoints in total) at once on the SMX46 inserted into slot 1:

ROUT:OPEN (@122:124,142:144)

Open power relay on SMX46 inserted in slot 2:

ROUT:OPEN (@203)

Errors

-200,"Execution error"

Related Commands

*RST

ROUTe:CLOSe