Publication No. 980935 Rev. A
3152B User Manual
The Command
Editor
The Command Editor is a tool for doing low-level programming of
the 3152B. Invoke the Command Editor from the System menu at
the top of the screen. The Command Editor dialog box, as shown in
Figure 4-61, will pop up. If you press the Download button, the
function call in the Command field will be sent to the instrument.
Figure 4-65, Command Editor
Low-level SCPI commands and queries can be sent directly to the
3152B from the
Command
field. Instrument responses to queries
automatically appear in the
Response
field. The command editor is
a useful troubleshooting tool. This way you can be sure of
command syntax and functionality before you use it in your
application. The complete list of 3152B SCPI commands is
available in Chapter 5.
Logging SCPI
Commands
The Log File is very useful for programmers that do not wish to
spend a lot of time on manuals. When you use ArbConnection,
every time you click on a button or change parameter, the
command is logged in the same format as should be used in
external applications. Figure 4-62 shows an example of a log file
and a set of SCPI commands as resulted from some changes made
on ArbConnection panels. You can set up the 3152B from
ArbConnection to the desired configuration, log the commands in
the log file and then copy and paste to your application without any
modifications. Of course, this is true for simple commands that do
not involve file download but, on the other hand, this is a great tool
to get you started with SCPI programming.
EADS North America Test and Services
ArbConnection 4-83
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com