Programming Examples
AWG610 Arbitrary Waveform Generator User Manual
3-201
Figure 3-62: Sequence generated by the Example 3 equation
. The equation/text editor has a viewer that displays the waveforms after
the compile has been performed. However, this viewer cannot display the
sequence. Use the sequence editor to confirm the results.
The following example shows how to use boolean relational operations between
a waveform and its marker data.
delete(”MOD01.WFM”)
delete(”MOD02.WFM”)
“Mod.wfm” = sin (2 *
p
* scale)
”MOD01.WFM” = ”MOD.WFM”
”MOD01.WFM”.marker1 = ”MOD01.WFM” >= 0.5
”MOD01.WFM”.marker2 = ”MOD01.WFM” <= –0.5
”MOD02.WFM” = (”MOD01.WFM”.marker1 = ”MOD01.WFM”.marker2)
/ 2
The boolean relational operation results in a 1 value if the condition is true, and
a 0 value if the condition is false. Therefore the MOD01.WFM marker1 signal is
1 if the waveform data is greater than or equal to 0.5, and 0 for all other values.
Example 4
Summary of Contents for AWG610
Page 4: ......
Page 24: ...Preface AWG610 Arbitrary Waveform Generator User Manual...
Page 216: ...Quick Editing AWG610 Arbitrary Waveform Generator User Manual...
Page 220: ...The Table Editor AWG610 Arbitrary Waveform Generator User Manual...
Page 242: ...The Sequence Editor AWG610 Arbitrary Waveform Generator User Manual...
Page 288: ...The UTILITY Window AWG610 Arbitrary Waveform Generator User Manual...
Page 292: ...Capturing Waveforms AWG610 Arbitrary Waveform Generator User Manual...
Page 326: ...Programming Examples AWG610 Arbitrary Waveform Generator User Manual...
Page 338: ...File Management AWG610 Arbitrary Waveform Generator User Manual...
Page 424: ...Appendix B Performance Verification AWG610 Arbitrary Waveform Generator User Manual...
Page 440: ...Appendix E File Transfer Interface Outline AWG610 Arbitrary Waveform Generator User Manual...