Moving Among Subsystems; Including Common Commands; Scpi Queries; Value Coupling - Agilent Technologies E4356A Operating & Programming Manual

Telecommunications dc power supply
Table of Contents

Advertisement

The optional header SOURCE precedes the current, digital, and voltage subsystems. This effectively makes :CURRENT,
:DIGITAL, and :VOLTAGE root-level commands.

Moving Among Subsystems

In order to combine commands from different subsystems, you need to be able to restore the active path to the root. You do
this with the root specifier (:). For example, you could clear the output protection and check the status of the Operation
Condition register as follows :
OUTPUT:PROTECTION:CLEAR
STATUS:OPERATION:CONDITION?
By using the root specifier, you could do the same thing in one message:
OUTPUT:PROTECTION:CLEAR;:STATUS:OPERATION:CONDITION?
Note
The SCPI parser traverses the command tree as described in Appendix A of the IEEE 488.2 standard. The
"Enhanced Tree Walking Implementation" given in that appendix is not implemented in the power supply.
The following message shows how to combine commands from different subsystems as well as within the same subsystem:
VOLTAGE:LEVEL 7;PROTECTION 8;:CURRENT:LEVEL I50;PROTECTION ON
Note the use of the optional header LEVEL to maintain the correct path within the voltage and current subsystems and the
use of the root specifier to move between subsytems.

Including Common Commands

You can combine common commands with system commands in the same message. Treat the common command as a
message unit by separating it with the message unit separator. Common commands do not affect the active header path;
you may insert them anywhere in the message.
VOLT:TRIG 7.5;INIT;*TRG
OUTP OFF;*RCL 2;OUTP ON

SCPI Queries

Observe the following precautions with queries:
Remember to set up the proper number of variables for the returned data.
Set the program to read back all the results of a query before sending another command to the power supply.
Otherwise, a Query Interrupted error will occur and the unreturned data will be lost.

Value Coupling

Value coupling results when a command directed to send one parameter also changes the value of a second parameter.
There is no direct coupling among any power supply SCPI commands. However, be aware that until they are programmed,
unititialized trigger levels will assume their corresponding immediate levels. For example, if a power supply is powered up
and VOLT:LEV is programmed to 6, then VOLT:LEV:TRIG will also be 6 until you program it to another value. Once
you program VOLT:LEV:TRIG to another value, it will remain at that value regardless of how you subsequently
reprogram VOLT:LEVEL.
48
Remote Programming

Advertisement

Table of Contents
loading

Table of Contents