![](/images/new-backgrounds/1033321/33321715x1.webp)
A Brief Introduction to the SCPI Language
SCPI Language Basics
Special | Meaning | Example |
Character |
|
|
|
|
|
| A vertical stroke between | Command: |
| keywords indicates identical | SENSe:BANDwidthBWIDth: |
| effects exist for both keywords. | OFFSet |
| The command functions the | Two identical commands are: Ex1: |
| same for either keyword. Only | |
| SENSE:BWIDTH:OFFSET Ex2: | |
| one of these keywords is used at | |
| SENSE:BAND:OFFSET | |
| a time. | |
|
| |
|
|
|
[ ] | keywords in square brackets are | Command: |
| optional | [SENSe:]BANDwidth[:RESolu |
| when composing the | tion]:AUTO |
| command. These implied | The following commands are all |
| keywords are executed even if | |
| valid and have identical effects: | |
| they are omitted. | |
| Ex1: bandwidth:auto | |
|
| |
|
| Ex2: band:resolution:auto |
|
| Ex3: sense:bandwidth:auto |
|
|
|
< > | Angle brackets around a word, | Command: |
| or words, indicates they are not | SENS:FREQ <freq> |
| to be used literally in the | In this command example the word |
| command. They represent the | |
| <freq> should be replaced by an | |
| needed item. | |
| actual frequency. | |
|
| |
|
| Ex: SENS:FREQ 9.7MHz. |
|
|
|
{ } | Parameters in braces can | Command: |
| optionally be used in the | MEASure:BW <freq>{,level} |
| command either not at all, once, | A valid command is: |
| or several times. | |
| meas:BW 6 MHz, 3 dB, 60 | |
|
| |
|
| dB |
|
|
|