3151 And 3151A User Manual
Using The Instrument 3-6
The command:
APPLy:USER {<segment_number>,<sampling_clock>,
<amplitude>,<offset>}
programs the generator to output an arbitrary waveform. The
specified segment number must be loaded with an arbitrary
waveform before the generator can execute this command
successfully. This command lets you specify segment number,
sampling clock rate, amplitude and offset. The default settings for
these functions are: 1, 1 MHz, 5 Vp-p and 0 V.
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
generator 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 3151/3151A 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 3151/3151A 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.*/
Summary of Contents for 3151
Page 4: ...This page was left intentionally blank...
Page 24: ...3151 And 3151A User Manual Getting Started 1 12 This page was left intentionally blank...
Page 29: ...3151 And 3151A User Manual Configuring The Instrument 2 5 Figure 2 1 Set The Logical Address...
Page 74: ...3151 And 3151A User Manual Using The Instrument 3 44 This page was left intentionally blank...
Page 98: ...3151 And 3151A User Manual SCPI Command Reference 4 24 This page was left intentionally blank...
Page 127: ...3151 And 3151A User Manual Optional Harness Assemblies 6 3...
Page 131: ...3151 And 3151A User Manual Optional Harness Assemblies 6 7...