Programming Examples
3-202
AWG610 Arbitrary Waveform Generator User Manual
Likewise, the marker2 signal is 1 if the waveform data is less than or equal to
–0.5, and 0 for all other values.
The MOD02.WFM signal is 0.5 if the marker1 signal of the MOD01.WFM is
equal to the marker2 signal, otherwise the signal value is 0.
The results are shown in Figure 3–63.
MOD.WFM
MOD01.WFM
MOD02.WFM
Figure 3-63: Source waveform and those generated by the Example 4equation
The following example shows how to use filter functions. There are four digital
filter functions: lpf(), hpf(), bpf() and brf(), which are the same as those provided
in the digital filter dialog box of the waveform editor. Refer to Digital Filter... on
page 3–69 for more information on the filter arguments and the digital filter
characteristics.
size = 2000
hf = 45e6 ’ Cutoff frequency High: 1 Hz to 50 MHz
lf = 5e6 ’ Cutoff frequency Low
: 1 Hz to 50 MHz
taps = 97 ’ Taps: 3 to 101
att = 30 ’ Attenuation: 21 dB to 100 dB
”NOISE.WFM” = noise()
”NOISE.WFM” = norm(”NOISE.WFM”)
”N1.WFM” = lpf(”NOISE.WFM”, lf, taps, att)
”N2.WFM” = hpf(”NOISE.WFM”, hf, taps, att)
”N3.WFM” = bpf(”NOISE.WFM”, lf, hf, taps, att)
”N4.WFM” = brf(”NOISE.WFM”, lf, hf, taps, att)
Example 5
Содержание AWG610
Страница 4: ......
Страница 24: ...Preface AWG610 Arbitrary Waveform Generator User Manual...
Страница 94: ...Tutorials 2 56 AWG610 Arbitrary Waveform Generator User Manual Figure 2 36 The Standard Function dialog box...
Страница 216: ...Quick Editing AWG610 Arbitrary Waveform Generator User Manual...
Страница 220: ...The Table Editor AWG610 Arbitrary Waveform Generator User Manual...
Страница 242: ...The Sequence Editor AWG610 Arbitrary Waveform Generator User Manual...
Страница 288: ...The UTILITY Window AWG610 Arbitrary Waveform Generator User Manual...
Страница 292: ...Capturing Waveforms AWG610 Arbitrary Waveform Generator User Manual...
Страница 325: ...Programming Examples AWG610 Arbitrary Waveform Generator User Manual 3 207 Figure 3 66 Gaussian noise and ramp waveforms...
Страница 326: ...Programming Examples AWG610 Arbitrary Waveform Generator User Manual...
Страница 338: ...File Management AWG610 Arbitrary Waveform Generator User Manual...
Страница 424: ...Appendix B Performance Verification AWG610 Arbitrary Waveform Generator User Manual...
Страница 440: ...Appendix E File Transfer Interface Outline AWG610 Arbitrary Waveform Generator User Manual...