Tektronix AWG710B Manuel d'utilisateur Page 341

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 580
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 340
Programming Examples
AWG710&AWG710B Arbitrary Waveform Generator User Manual 3-211
Figure 3-66: Sequence generated by the Example 3 equation
Example 4
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.
Likewise, the marker2 signal is 1 if the waveform data is less than or equal to -0.5,
and 0 for all other values.
NOTE. 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.
Vue de la page 340
1 2 ... 336 337 338 339 340 341 342 343 344 345 346 ... 579 580

Commentaires sur ces manuels

Pas de commentaire