
Simplified Programming Overview
This section gives an overview of the basic techniques used to program
the function generator over the remote interface. This section is only an
overview and does not give all of the details you will need to write your
own application programs. Refer to the remainder of this chapter and
also chapter 6, “Application Programs”, for more details and examples.
Also refer to the programming reference manual that came with your
computer for details on outputting command strings and entering data.
Using the APPLy Command
The
APPLy
command provides the most straightforward method to
program the function generator over the remote interface. For example,
the following statement executed from your computer will output a
3 Vpp sine wave at 5 kHz with a -2.5 volt offset:
"APPL:SIN 5.0E+3, 3.0, -2.5"
Using the Low-Level Commands
Although the
APPLy
command provides the most straightforward
method to program the function generator, the low-level commands give
you more flexibility to change individual parameters. For example, the
following statements executed from your computer will output a 3 Vpp
sine wave at 5 kHz with a -2.5 volt offset:
"FUNC:SHAP SIN"
Select sine wave function
"FREQ 5.0E+3"
Set frequency to 5 kHz
"VOLT 3.0"
Set amplitude to 3 Vpp
"VOLT:OFFS -2.5"
Set offset to -2.5 Vdc
First-time
SCPI users,
see page 211.
Chapter 4 Remote Interface Reference
Simplified Programming Overview
136
Summary of Contents for 33120A
Page 2: ......
Page 10: ...8 ...
Page 14: ...Contents Contents 12 ...
Page 15: ...1 Quick Start 1 ...
Page 31: ...2 Front Panel Menu Operation 2 ...
Page 55: ...3 Features and Functions 3 ...
Page 126: ...124 ...
Page 127: ...4 Remote Interface Reference 4 ...
Page 204: ...SCPI Status System Chapter 4 Remote Interface Reference The SCPI Status Registers 202 ...
Page 228: ...226 ...
Page 229: ...5 Error Messages 5 ...
Page 244: ...242 ...
Page 245: ...6 Application Programs 6 ...
Page 272: ...270 ...
Page 273: ...7 Tutorial 7 ...
Page 299: ...8 Specifications 8 ...
Page 304: ...302 ...