FTG Series Programming Manual
_________________________________________________________________
7
colon becomes the root specifier, it tells the command parser that this is the root or the top
node of the command tree.
Space
Used for seperating command and parameter.
Semicolon “;”
A semicolon (;) is used to separate two commands within the same subsystem, and can
also minimize typing. For example, sending the following command string,
“CURR:RANG 0;MVAL 10”
is the same as sending the following two commands:
“CURR:RANG 0”
“CURR:MVAL 10”
Comma “,”
A comma “,” is used to seperate parameters, as below command,
“CAL:STAT ON,6900”
Query syntax
You can query the value of most parameters by adding a question mark (?) to the command.
For example, the following command sets the output voltage to 80 V:
VOLTage 80
You can query the value by executing:
VOLTage?
After the power supply receives the query command and completes the analysis, it
executes the command and generates a response message. The response message is first
written into the output buffer. If the current remote interface is a GPIB interface, it will wait
for the controller to read the response; otherwise, the response message will be sent to the
interface immediately.
Most of the setting commands have corresponding query syntax. If a command that
cannot be queried is received, the power supply will report the error message "-115
Command can not query" and nothing is returned.
Command terminator
There are two types of command terminators: new line character (ASCII symbol LF
,
ASCII
value 10) and EOI (available only in GPIB interface). Command string termination will always