Command Separators; Querying Parameter Settings - Keysight U2722A Programmer's Reference Manual

Usb modular source measure units
Hide thumbs Also See for U2722A:
Table of Contents

Advertisement

Command Separators

A colon ( : ) is used to separate a command keyword from a lower-level keyword.
You must insert a blank space to separate a parameter from a command keyword.
If a command requires more than one parameter, you must separate adjacent
parameters using a comma as shown below.
A semicolon ( ; ) is used to separate commands within the same subsystem, and
can also minimize typing. For example, sending the following command string.
... is the same as sending the following two commands.
Use a colon and semicolon to link commands from different subsystems. For
example, in the following command string, an error is generated if you do not use
both the colon and semicolon.
Colons and semicolons can be used to link multple commands together, from
NOTE
the same subsystem or from different subsystems, in a single command string.
However, you are limited to a maximum of 3000 characters (combined) for each
command string.

Querying Parameter Settings

You can query the current value of most parameters by adding a question
mark ( ? ) to the command. For example, the following command sets the current
range to 10 mA for output 1.
You can then query the current range setting by sending:
Keysight U2722A/U2723A Programmer's Reference
SOUR:VOLT:RANG R2V, (@1)
SENS:SWE:POIN 1000, (@1); TINT 10, (@1)
SENS:SWE:POIN 1000, (@1)
SENS:SWE:TINT 10, (@1)
SOUR:VOLT:RANG R2V, (@1);:SENS:SWE:POIN 1000, (@1)
SOUR:CURR:RANG R10mA, (@1)
SOUR:CURR:RANG? (@1)
Typical Response: R10mA
Introduction to Programming
1
15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

U2723a

Table of Contents