Using The Instrument 3-6
The query:
APPLy:<function_shape>?
queries parameters associated with the specified function shape.
Returns a string of values depending on the parameters that are
available for the selected function shape.
The query:
APPLy?
queries parameters associated with the currently selected function
shape and returns a string of values depending on the parameters
available for the selected function shape. For example, if the
synthesizer is programmed to output a ramp waveform, the APPL?
command returns: "1e+6, 5, 0 , 0, 10, 10, 10".
Example 2
The following example programs the Model 3152 using the APPLy
command. This example turns on the main output, generates a
square waveform, programs frequency to 2 MHz, programs
amplitude to 5 V and offset to 2.5 V. It also changes the square
wave duty cycle parameter to 25%.
/* Reset the Model 3152 to its default condition as listed in Table 3-
1.*/
:RESet;
/* Change the output waveform to square, frequency to 2 MHz,
amplitude to 5 V, offset to 2.5 V and duty cycle to 25%. Note that
there is no need to use the FUNC:MODE command because the
default value after RESet is FIXed.*/
:APPLy:SQUare 2e6,5,2.5,25
/* Turn the main output on.*/
:OUTPut ON
/*Turn the SYNC output on, if required. */
:OUTPut:SYNC ON
If the above commands are executed correctly, a square waveform
will be seen on your oscilloscope.
Output
Configuration
Commands
The output configuration commands control the output function,
shape, frequency, amplitude, filter and state. Optional modes are
omitted from these commands.
Содержание 3152
Страница 16: ...Getting Started 1 7 Figure 1 1 Segment 1 Sin x x Waveform Figure 1 2 Segment 2 Sine Waveform...
Страница 25: ...Configuring The Instrument 2 6 This page was intentionally left blank...
Страница 63: ...Using The Instrument 3 38 This page was intentionally left blank...
Страница 80: ...SCPI Command Reference 4 17 Figure 4 1 SCPI Status Registers...
Страница 121: ...Specifications A 12 This page was intentionally left blank...