beautypg.com

Ml24xxa native commands gpib operation – Anritsu ML2430A User Manual

Page 115

background image

CHCFG

Channel input configuration

CHANNEL

Syntax:

CHCFG ,

c:

1 or 2

config:

OFF,
A, B, V
A–B, B–A
A/B, B/A

Remarks:

A, B, V = Sensor A, Sensor B, or External Volts
(If V is sent when in Profile or Source Sweep mode, an execution error will
occur.)
A–B, B–A = Sensor A minus Sensor B, Sensor B minus Sensor A
A/B, B/A = Sensor A divided by Sensor B, Sensor B divided by Sensor A

Example:

To set channel 2 to A–B:

CHCFG 1,A-B

Query:

CHCFG?

Returned

String:

CHCFG ,

CHRES

Set channel decimal point resolution

CHANNEL

Syntax:

CHRES ,

c:

1 or 2

val:

1 to 3

Remarks:

Set the number of decimal places displayed for the specified channel. For
example, specifying CHRES 1, 1 would yield a display of 1.5 dBm; CHRES
1, 2 would yield 1.47 dBm; CHRES 1, 3 would yield 1.468 dBm. If the num-
ber to be displayed is too large for the number of decimal places selected,
the decimal places displayed will be reduced so that the display value can
be shown.

Query:

CHRES?

Returned

String:

CHRES ,

CHUNIT

Set Channel units

CHANNEL

Syntax:

CHUNIT ,

c:

1 or 2

6-28

ML2430A OM

ML24XXA NATIVE COMMANDS

GPIB OPERATION