
Command Reference
SCPI Basics
Chapter 4152
Quote Usage with SCPI Commands
As a general rule, programming languages require that SCPI commands be enclosed in double
quotes as shown in the following example:
":FM:EXTernal:IMPedance 600"
However, when a string is the parameter for a SCPI command, additional quotes or other
delimiters may be required to identify the string. Your programming language may use two
sets of double quotes, one set of single quotes, or back slashes with quotes to signify the string
parameter. The following examples illustrate these different formats:
"MEMory:LOAD:LIST ""myfile""" used in BASIC programming languages
"MEMory:LOAD:LIST \"myfile\"" used in C, C++, Java, and PERL
"MEMory:LOAD:LIST ’myfile’" accepted by most programming languages
Consult your programming language reference manual to determine the correct format.
Comentarios a estos manuales