Table: “Creating Valid Commands” provides examples of valid command syntax:
:CALCulate:MARKer{1|2|3|4|5|6}:X <x-parameter> The first 2 commands set the location of marker 1. The third command sets the location of marker 2. Command statements read from left to right and from top to bottom. In the command statement above, the :FREQuency keyword immediately follows the :SENSe keyword with no separating space. A space (sp) is used between the command string and its argument.Note that the first keyword in the command string does not require a leading colon; however, it is good practice to always use a leading colon for all keywords. Note also that the :SENSe keyword is optional. This is a SCPI convention for all voltage or signal source type instruments that allows shorter command statements to be used.
A semicolon is used to join the commands and a leading colon used immediately after the semicolon to start the second command.The <new line> character (ASCII 10) in the last data byte of a command string is used as a command terminator. Use of a command terminator will reset the command path to the root of the tree.
Copyright 2010 Anritsu Company |
![]() |
Anritsu Company | |
1-800-ANRITSU | |
10450-00024, Rev. B | |
mmdtechpubs@anritsu.com |