Control Commands


Specifies the settings to remotely control the rear panel connectors, an external test set, Calpod modules, and ECal Module state.

CONTrol

CALPod:COMMand

DC

| INPut

| CURRent?

| OUTPut

| VOLTage

ECAL:MODule:

     | PATH:

          | COUNt?

          | STATe

     | STATe

HANDler - More Commands

PHASe

     | COUNt?

     | MODule

          | DATA

          | STORe

          | MODel?

          | SERial?

          | SETup

SIGNal:

     | AIO

| PIN

          | COUNt?

          | FUNCtion

               | CATalog?

 | INPut:LEVel?

 | CHANnel

 |FUNCtion

 | CATalog

Click on a keyword to view the command details.

Blue command is superseded.

See Also


CONTrol:CALPod:COMMand <string>

Applicable Models: E505xA

(Write-Read)  Sends commands that control a Calpod module. Reads query versions Calpod commands.

See ALL Calpod commands.

Learn more about Calpod.

Parameters

 

<string>

Calpod command. See ALL Calpod commands that can be used in this string.

Write Example

CONT:CALP:COMM 'CALP:INIT:ACT'

'Enclose all strings in SINGLE quotes (NOT double quotes)

Query Syntax

CONTrol:CALPod:COMMand? <string>

Relevant only for query strings.

Read Example

CONT:CALP:COMM? '*OPC?'

'returns 0 if the calpod software is currently processing an operation

'returns 1 if operations are complete

Return Type

String

Default

Not Applicable


CONTrol:DC:INPut:CURRent? <device>

Applicable Models: E505xA

(Read)  Return the current measurement for DC sources.

Parameters

 

<device>

String. Choose from:

VControl

VSupply1

VSupply2

Examples

CONT:DC:INP:CURR? "VControl"

control:dc:input:current? "vsupply2"

Query Syntax

CONTrol:DC:INPut:CURRent? <device>

Return Type

Numeric

Default

N/A


CONTrol:DC:OUTPut:VOLTage <device>,<value>

Applicable Models: E505xA

(Read-Write) Set the voltage immediately. This function is not available on Soft Front Panel.

Parameters

 

<device>

String. Choose from:

VControl

VSupply1

VSupply2

<value>

Voltage value.

Examples

CONT:DC:OUTP:VOLT "VControl",2

control:dc:output:voltage "vsupply2",1

Query Syntax

CONTrol:DC:OUTPut:VOLTage? <device>

Return Type

Numeric

Default

0


CONTrol:ECAL:MODule<num>:PATH:COUNt? <name>

Applicable Models: E505xA with VNA ports

(Read-only)  Returns the number of unique states that exist for the specified path name on the selected ECal module.

This command performs exactly the same function as SENS:CORR:CKIT:ECAL:PATH:COUNt?

Use the CONT:ECAL:MOD:PATH:STAT command to set the module into one of those states.  

Use SENS:CORR:CKIT:ECAL:PATH:DATA? to read the data for a state.

Parameters

 

[num]

Optional argument. USB number of the ECal module.  If unspecified (only one ECal module is connected to the USB), <num> is set to 1. If two or more modules are connected, use SENS:CORR:CKIT:ECAL:LIST? to determine how many, and SENS:CORR:CKIT:ECAL:INF? to verify their identities.

<name>

Name of the path for which to read number of states.  Choose from:

Reflection paths

  • A

  • B

  • C (4-port modules)

  • D (4-port modules)

Transmission paths

  • AB

  • AC (4-port modules)

  • AD (4-port modules)

  • BC (4-port modules)

  • BD (4-port modules)

  • CD (4-port modules)

Note: For each transmission path, the first of the available states is the through state, the second is the confidence (attenuator) state.

Examples

CONT:ECAL:MOD:PATH:COUNt? A

control:ecal:module2:path:count? cd

See example program

Return Type

Integer

Default

Not Applicable


CONTrol:ECAL:MODule<num>:PATH:STATe <path>, <stateNum>

Applicable Models: E505xA with VNA ports

(Write-only) Sets the internal state of the selected ECAL module. This command supersedes CONT:ECAL:MOD:STAT.

Parameters

 

[num]

Optional argument. USB number of the ECal module.  If unspecified (only one ECal module is connected to the USB), <num> is set to 1. If two or more modules are connected, use SENS:CORR:CKIT:ECAL:LIST? to determine how many, and SENS:CORR:CKIT:ECAL:INF? to verify their identities.

<path>

Path name for which to set a state.  

Note: The impedance paths are not independent. For example, changing the impedance presented on path A will cause a change to the impedance on path B.

Choose from:

Reflection paths

  • A

  • B

  • C (4-port modules)

  • D (4-port modules)

Transmission paths

  • AB

  • AC (4-port modules)

  • AD (4-port modules)

  • BC (4-port modules)

  • BD (4-port modules)

  • CD (4-port modules)

<stateNum>

Number of the state to set. Refer to the following table to associate the <stateNum> with a state in your ECal module.

In addition, CONT:ECAL:MOD:PATH:COUNt? returns the number of states in the specified ECal module.

<stateNum>

N4432x and
N4433x States

N4431x States

N469x and N755x States**

8509x States

One-Port Reflection States

1

Open

Open

Impedance 1

Open

2

Short

Short

Impedance 2

Short

3

Impedance 1

Impedance 1

Impedance 3

Impedance 1

4

Impedance 2

Impedance 2

Impedance 4

Impedance 2

5

 

 

Impedance 5

 

6

 

 

Impedance 6

 

7

 

 

Impedance 7

 

Two-Port Transmission States

1

Thru

Thru

Thru

Thru

2

Confidence

Confidence

Confidence

Confidence

** The following modules have only FOUR Impedance states (1, 2, 3, 4): N4690B ,N4691B ,N4692A ,N4696B, N7550A - N7556A.

Examples

CONT:ECAL:MOD:PATH:STATe A,5

control:ecal:module2:state BC,1

See example program

Query Syntax

Not Applicable

Default

Not Applicable


CONTrol:PHASe:COUNt?

Applicable Models: E505xA with VNA ports

(Read only) Reads the number of phase reference modules connected.

Parameters

None

Examples

CONT:PHAS:COUN?

control:phase:count?

Return Type

Numeric value

Default

N/A


CONTrol:PHASe:MODule[x]:DATA:STORe <path>

Applicable Models:  E505xA with VNA ports

(Write-only) Reads the calibration data from the phase reference of the specified module (x), and writes the data to the Path

Parameters

 

<path>

(String) Directory path to stored data.

Examples

CONT:PHAS:MOD1:DATA:STOR "D:MyPhaseRefCalData.csv"

control:phase:module1:data:store "D:MyPhaseRefCalData.csv"

Return Type

N/A

Default

N/A


CONTrol:PHASe:MODule[x]:MODel?

Applicable Models:  E505xA with VNA ports

(Read only) Reads the model number of the specified module (x).

Parameters

None

Examples

CONT:PHAS:MOD1:MOD?

control:phase:module1:model?

Return Type

String

Default

N/A


CONTrol:PHASe:MODule[x]:SERial?

Applicable Models:  E505xA with VNA ports

(Read only) Reads the serial number of the specified module (x).

Parameters

 

Examples

CONT:PHAS:MOD1:SER?

control:phase:module1:serial?

Return Type

Numeric

Default

N/A


CONTrol:PHASe:MODule[x]:SETup <divideNumber>

Applicable Models: E505xA with VNA ports

(Write-only) Turns on the phase reference, and sets the divide number.

Parameters

 

<divideNumber>

Divide number can be 1, 2, 4, 8, 16.

Examples

CONT:PHAS:MOD1:SET 2

control:phase:module1:setup 2

Return Type

Numeric

Default

N/A


CONTrol:SIGNal:AIO:PIN:COUNt?

Applicable Models: E505xA

(Read only) Read the total number of pin on the application I/O. In case for the E5080B, always 15. For more information, see application I/O.

Parameters

None

Examples

CONT:SIGN:AIO:PIN:COUN?

control:signal:aio:pin:count?

Query Syntax

CONTrol:SIGNal:AIO:PIN:COUNt?

Return Type

Numeric value

Default

15


CONTrol:SIGNal:AIO:PIN<pin>:FUNCtion <func>

Applicable Models:  E505xA

(Write-Read) Set and Read the function for the specified port in the application I/O interface. The assigned settings are not saved in a state file, but the setting is stored when changing function and recall them at the next firmware start up.

Parameters

 

<pin>

Pin Number.

<func>

function name

Function name

Description

Type

Assignable

pot number

Default

Assignment

PULSE_OUT1

1st pulse output

Output

10

10

PULSE_OUT2

2nd pulse output

Output

11

11

PULSE_OUT3

3rd pulse output

Output

12

12

PULSE_OUT4

4th pulse output

Output

13

13

RF_PULSE_MOD_IN

RF pulse modulation

Input

8

8

PULSE_SYNC_IN

Pulse generator synchronization trigger input

INPUT

7

7

AUX TRIG IN

AUX trigger input

INPUT

7

N/A

INPUT

Arbitrary input (CONT:SIGN:APPL:INP:LEV? to query the level on the assigned port)

Input

1 to 5, 10 to 13

N/A

LOW

Set the Low (Output Low level) at the assigned port.

Output

1 to 5, 10 to 13

1 to 5

HIGH

Set the High (Output High level) at the assigned port

Output

1 to 5, 10 to 13

N/A

NF_SOURCEx (x=1,2,...) *1

Noise Figure source switch control for port x

Output

1 to 5, 10 to 13

N/A

NF_RECEIVERx (x=1,2,...) *1

Noise Figure receiver switch control for port x

Output

1 to 5, 10 to 13

N/A

DCV_ON

+12V power output enable

Output

14

N/A

DCV_OFF

+12V power output disable

Output

14

14

CHANNEL_CTRL

Function is controlled per channel by :CONTrol:SIGNal:AIO:PIN<pin>:CHANnel<ch>:FUNCtion

 

1 to 5, 10 to 13

N/A

*1) For Noise Figure switch control, the signal is asserted no matter which pins are used in the NF channel if the port index(x) is not specified.

Examples

CONT:SIGN:AIO:PIN:FUNC "LOW"

control:signal:aio5:pin:function "NF_SOURCE15"

Query Syntax

CONTrol:SIGNal:AIO:PIN:FUNC?

Return Type

<sting>

Default

See the table in <func>


CONTrol:SIGNal:AIO:PIN<pin>:FUNCtion:CATalog?

Applicable Models:  E505xA

(Read Only) Read the list of the available function for the specified pin in the application I/O. Example, "RF_PULSE_MOD_IN" is returned for the pin 8.

Parameters

 

<pin>

Pin Number.

Examples

CONT:SIGN:AIO:PIN3:FUNC:CAT?

control:signal:aio:pin3:function:catalog?

Query Syntax

CONTrol:SIGNal:AIO:PIN:FUNC:CAT?

Return Type

<sting>, available function list with Comma separated chars

Default

See the table in <func> of  CONTrol:SIGNal:APPLication:FUNC?


:CONTrol:SIGNal:AIO:PIN<pin>:CHANnel<ch>:FUNCtion <func>

Applicable Models:  E505xA

(Write-Read) Set and read the function for the selected pin on the Application I/O connector. It is set on channel basis and reflected only when “CHANNEL_CTRL” is selected in :CONTrol:SIGNal:AIO:PIN<pin>:FUNCtion <func> for the specified pin. The setting is saved in the state file and subject to preset. Function can be selected from Output signals

Parameters

 

<pin>

Pin Number 1-5, 10-13

<ch>

Channel number

Examples

:CONT:SIGN:AIO:PIN3:CHAN1:FUNC?

:CONT:SIGN:AIO:PIN3:CHAN1:FUNC “HIGH”

Query Syntax

CONTrol:SIGNal:AIO:PIN:CHAN:FUNC?

Return Type

<char>

Default

HIGH


:CONTrol:SIGNal:AIO:PIN<pin>:CHANnel<ch>:FUNCtion:CATalog

Applicable Models:  E505xA

(Read Only) Read the catalog of the functions assignable to the pin on the Application I/O connector.

Parameters

 

<pin>

Pin Number 1-5, 10-13

Examples

:CONT:SIGN:AIO:PIN5:CHAN1:FUNC:CAT?

control:signal:aio:pin5:channel:function:catalog?

Query Syntax

CONTrol:SIGNal:AIO:PIN:CHAN:FUNC:CAT?

Return Type

Comma separated chars

Default

NA


CONTrol:SIGNal:AIO:PIN<pin>:INPut:LEVel?

Applicable Models:   E505xA

(Read only) Read the level of the specified INPUT pin of the application I/O. This command reads the level immediately after its execution. It is not necessary to assign the pin as INPUT by command.  When the specified pin number is 6 to 9 or 14, "Specified Application IO port is not input port." error is returned.

Parameters

 

<pin>

Pin Number. (E5080B: 1 to 5, 10 to 13)

Examples

CONT:SIGN:AIO:PIN:INP2:LEV?

control:signal:aio:pin:input1:level?

Query Syntax

CONTrol:SIGNal:AIO:PIN:INPut:LEVel?

Return Type

Char ("HIGH" or "LOW")

Default

N/A