Table 3-1, Default Conditions After Power On, RESet or *RST
Output State:
Filter State:
ECLTRG0-1:
Output Trigger Source: BIT
Std. Wave Frequency:
Amplitude:
Output Mode:
Inter-module Phase
Synchronization State: Off
Trigger Slope:
Shared Memory State:
What To Do Now
Using The Instrument 3-2
Off Operating Mode:
Off Filter Type:
Off TTLTRG0-7:
SYNC State:
1 MHz
Arb. Wave Sample Clock:1 MHz
5 V Offset:
Std. Waveforms
Standard Waveform:
Advance Mode:
SYNC Out Position:
Positive
Internal Trigger Period:
Off
Shared Memory Mode:
When writing low level code to operate the Model 3151/3151A, follow
the instructions in this chapter to understand the meaning and
response that each command generates. Examples contained in the
following paragraphs show basic techniques on how to program
output waveforms.
Example 1
The following example programs the Model 3151/3151A to turn on
the main output, generate a square waveform, program the
frequency to 2 MHz, program the amplitude to 5 V and offset to 2.5
V.
/* Reset the Model 3151/3151A to its default condition as listed in
Table 3-1.*/
:RESet;
/* Change the output waveform to square. Note that there is no need
to use the FUNC:MODE command as the default value after RESet
is FIXed.*/
:FUNCtion:SHAPe SQUare;
/* Change the frequency to 2 MHz.*/
:FREQuency 2e6;
/*Change the amplitude to 5 V and the offset to 2.5 V.*/
:VOLTage 5;
:VOLTage: OFFSet 2.5;
Continuous
20 MHz
Off
0 V
Auto
SYNC Slate:
100F Sec
Read
3151 And 3151A User Manual
Off
Sine
Point n-6
Off