Agilent Technologies U3606B Programmer's Reference Manual page 18

Dc power supply
Hide thumbs Also See for U3606B:
Table of Contents

Advertisement

1
Introduction to SCPI
SCPI Conventions and Data Formats
Using whitespace
You must use whitespace characters, [tab], or [space] to separate a parameter
from a command keyword. Whitespace characters are generally ignored only
in parameter lists. You may omit the whitespace characters only in parameter
lists.
For example, sending the following command:
& CONF:AC 10,0.01
is the same as sending this command:
& CONF:AC 10, 0.01
However, an error is generated if you do not use a whitespace character to
separate a parameter from a command keyword in your command string.
& CONF:AC10,0.01
& SYST:ERR?
Typical response:
$ -113,"Undefined header"
Using "?" commands
The bus controller may send commands at any time, but a SCPI-equipped
instrument may only send responses when specifically instructed to do so.
Only query commands (commands that end with a "?") will instruct the
instrument to send a response message. Queries return either measured
values or internal instrument settings.
For example, the following command sets the U3606B to measure AC current
within a range of 100 mA.
& CONF:CURR:AC 0.1
You can then query the present measurement configuration by sending:
& CONF?
Typical response:
$ CURR:AC +1.000000E-01,+1000000E-05
6
U3606B Programmer's Reference

Advertisement

Table of Contents
loading

Table of Contents