![background image](http://html2.mh-extra.com/html/racal-instruments/3152/3152_user-manual_3133316027.webp)
Using The Instrument 3-2
Table 3-1 Default Conditions After Power On, RESet or *RST
Output State:
Off
Operating Mode:
Continuous
Filter State:
Off
Filter Type:
20 MHz
ECLTRG0-1:
Off
TTLTRG0-7:
Off
Output Trigger Source:
BIT
SYNC State:
Off
Std. Wave Frequency:
1 MHz
Arb. Wave Sample Clock:
1 MHz
Amplitude:
5 V
Offset:
0 V
Output Mode:
Std. Waveforms
Standard Waveform:
Sine
Inter-module Phase
Advance Mode:
Auto
Synchronization State:
Off
SYNC Out Position:
Point n-6
SYNC Slate:
Off
Trigger Slope:
Positive
Internal Trigger Period:
100
F
Sec
Shared Memory State:
Off
Shared Memory Mode:
Read
What To Do Now
When writing low level code to operate the Model 3152, 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 3152 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 3152 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;
There are three offset windows (±8 V, ±800 mV, ±80 mV); the
window selected is a function of the amplitude setting. Table 3.2
shows the maximum offset available within each window.
Содержание 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...