Tektronix AWG610 Instrukcja Użytkownika Strona 319

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 466
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 318
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
Przeglądanie stron 318
1 2 ... 314 315 316 317 318 319 320 321 322 323 324 ... 465 466

Komentarze do niniejszej Instrukcji

Brak uwag