User Manual 3153
Using The Instrument 3-4
/* Change the output waveform to triangle. */
:FUNCtion:SHAPe TRIangle;
/* Turn on the channel 2 high output. */
:OUTPut ON;
/* Turn on the channel 2 SYNC output, if required. */
:OUTPut:SYNC ON;
If the above commands are executed correctly, a square waveform will
be seen on your oscilloscope on channel 1 and a triangle waveform will
be seen on channel 2.
Using the APPLy
Command
The APPLy command provides a high level method of programming the
generator. Selection can be made for function, frequency, amplitude, offset and
other parameters, which are associated with the apply function. For example,
the following statement outputs a 5Vpk-pk square wave at 1MHz with a 0V
offset and 10% duty cycle using APPLy:
APPL:SQU 1E6, 5, 0, 10
It is not necessary to enter every parameter with the APPLy command. If only
the frequency and offset need to be changed, omit the other parameters while
keeping the commas. The other parameters will be set to the power-up default
values:
APPL:SQU 10E6,,1
Alternatively, if just the first parameters need to be changed, omit the commas.
The other parameters will be set to the power-up default values:
APPL:SQU 4e6,2
queries can also be made on all parameters associated with a standard
function using the APPL: <function_shape>? query. For example, if the
generator was programmed using the above APPLy:SQU command,
query the square wave parameters using the following query:
APPL:SQU?
The generator returns a string that contains all the parameters
associated with the square function similar to the following string:
"1.6,5.000,0.000,50"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com