Programmable AC Source 6404/6408 Userās Manual
A program message terminator terminates a program message. Three permitted
terminators are:
(1) <END>: end or identify (EOI).
(2) <NL>: new line, which is a single ASCII-encoded byte 0A (10 decimal).
(3) <NL><END>: new line with EOI.
The response message is terminated by <NL> <END> for GPIB, <NL>
for RS-232C.
6.4 Traversal of the Command Tree
Multiple program message unit elements may be sent in a program message. The first
command is always referenced to the root node. Subsequent commands are referenced to
the same tree level as the previous command in a program message.
Note that the common command and query headers don't affect the header path. A column
preceding a program message unit alters the header path to the root level.
For example:
(1) VOLT:RANG 150;LIM 140 <PMT> shall set the output voltage to 150V range and the
maximum rms output voltage to 140V.
(2) CURR:PEAK 8;VOLT 110 <PMT> shall set the output peak current to 8A and
generate a command error because VOLTage is not a node at the current level.
(3) CURR:PEAK 8;:VOLT 110 <PMT> shall set the output peak current to 8A and the
voltage to 110V.
(4) VOLT:RANG 300;*ESE 32;LIM 250 <PMT> shall set the output voltage to 300V
range and the ESE register to 32 and the maximum rms output voltage to 250 Volt.
Optional nodes in the tree shall not alter the header path. For example:
(1) FREQ 120;VOLT 110 <PMT> shall set the frequency to 120Hz and voltage to 110
Volt. Note that FREQ 120 doesn't change the header path to FREQ:CW.
(2) VOLT:LEV 110;RANG 150 <PMT> shall set the rms output voltage to 110 Volt and
set the output voltage range to 150V range.
6.5 The AC Source Commands
6.5.1 Command Tree Table
MEASure|FETCh
[:SCALar]
:CURRent
:AC? Returns output ac rms current
:CREStfactor? Returns output current crest factor
:FREQuency? Returns output frequency
:POWer
:AC