Sense Switch

When you use the M9485A and M937xA, you can control the M9161D switch through the VNA firmware. The following commands are available when the launcher  includes the M9161D.

SENSe:SWITch:M9161

       | COUNt?

       | MODule

           | :CHASsis

           | :CONTrol[:STATe]

           | :RESet:IMMediate

           | :SLOT

           | :SWITch:PATH

    

Click on a keyword to view the command details.

 


SENSe<cnum>:SWITch:M9161:COUNt?

Applicable Models: M9485A, M937xA

(Read-only) Returns the total number of M9161D switch modules that are connected to the VNA firmware.

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1. This command is common for all channels and the setting is ignored.

Examples

SENS:SWIT:M9161:COUN?
sense:switch:m9161:count

Return Type

Numeric

Default

Not applicable


SENSe<cnum>:SWITch:M9161:MODule<mod>:CHASsis?

Applicable Models: M9485A, M937xA

(Read Only) Returns the chassis number where the specified M9161D module is located.

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1. This command is common for all channels and the setting is ignored.

<mod>

Module number of M9161D. The number starts from 1 for the leftmost module of M9161D.

Examples

SENS:SWIT:M9161:MOD1:CHAS?

sense:SWITch:m9161:module2:chassis?

Return Type

Numeric

Default

Not applicable


SENSe<cnum>:SWITch:M9161:MODule<mod>:CONTrol[:STATe] <bool>

Applicable Models: M9485A, M937xA

(Read-Write) Sets and reads the status of M9161D control.

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1.

<mod>

Module number of M9161D. The number starts from 1 for the leftmost module of M9161D.

<bool>

Module control state. Choose from:

O or OFF - Skips to control the M9161D at the specified channel.

1 or ON - Enables to control the M9161D at the specified channel.

Examples

SENS:SWIT:M9161:MOD1:CONT ON

sense2:SWITch:M9161:module2:control 0

Query Syntax

SENSe<cnum>:SWITch:M9161:MODule<mod>:CONTrol[:STATe]?

Return Type

Boolean

Default

1 or ON


SENSe<cnum>:SWITch:M9161:MODule<mod>:RESet:IMMediate

Applicable Models: M9485A, M937xA

(Write Only) Resets the switches in the specified module to "All Open" state immediately.

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1. This command is common for all channels and the setting is ignored.

<mod>

Module number of M9161D. The number starts from 1 for the leftmost module of M9161D.

Examples

SENS:SWIT:M9161:MOD1:RES:IMM

sense:SWITch:M9161:module2:reset:immediate

Query Syntax

Not applicable

Return Type

Not applicable

Default

Not applicable


SENSe<cnum>:SWITch:M9161:MODule<mod>:SLOT?

Applicable Models: M9485A, M937xA

(Read Only) Reads the slot number where the specified M9161D is located.

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1. This command is common for all channels and the setting is ignored.

<mod>

Module number of M9161D. The number starts from 1 for the leftmost module of M9161D.

Examples

SENS:SWIT:M9161:MOD1:SLOT?

sense:SWITch:M9161:module2:slot?

Return Type

Numeric

Default

Not applicable


SENSe<cnum>:SWITch:M9161:MODule<mod>:SWITch:PATH <char>

Applicable Models: M9485A, M937xA

(Read-Write) Sets and reads the path for the M9161D switch

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1.

<mod>

Module number of M9161D. The number starts from 1 for the leftmost module of M9161D.

<char>

Path. Choose from:

STATe1 to STATe4 - State 1 to 4

NFRFout - NF RF Out port (NF measurement only)

NFLO2 - NF LO 2 (Option 720 only)

NFPort1 to NFPort24 - NF port 1 to 24 (NF measurement only)

Examples

SENS:SWIT:M9161:MOD1:SWIT:PATH A

sense2:SWITch:M9161:module2:switch:path b

Query Syntax

SENSe<cnum>:SWITch:M9161:MODule<mod>:SWITch:PATH?

Return Type

<char>

Default

STATe1