Chapter 4 Remote Interface Reference

Simplified Programming Overview

Reading a Query Response

Only the query commands (commands that end with “ ? ” ) will instruct the power supply to send a response message. Queries return either output values or internal instrument settings. For example, the following statements executed from your computer will read the power supply’s error queue and print the most recent error:

dimension statement

Dimension string array (80 elements)

‘‘SYST:ERR?’’

Read error queue

bus enter statement

Enter error string into computer

print statement

Print error string

Selecting a Trigger Source

The power supply will accept a ‘‘bus’’ (software) trigger or an immediate internal trigger as a trigger source. By default, the ‘‘BUS’’ trigger source is selected. If you want the power supply to use an immediate internal trigger, you must select ‘‘IMMediate’’. For example, the following statements executed from your computer will set to an output of 3 V/1 A immediately:

‘‘VOLT:TRIG 3.0’’

Set the triggered voltage level to 3.0 V

‘‘CURR:TRIG 1.0’’

Set the triggered current level to 1.0 A

‘‘TRIG:SOUR IMM’’

Select the immediate trigger as a source

‘‘INIT’’

Cause the trigger system to initiate

79

4

Page 80
Image 80
Agilent Technologies E3632A manual Reading a Query Response, Selecting a Trigger Source, ‘‘Systerr?’’, ‘‘Trigsour Imm’’