Tektronix AWG610 Bedienungsanleitung Seite 324

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 466
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 323
Programming Examples

AWG610 Arbitrary Waveform Generator User Manual
size = 1000
clock = 1e8
num = 4
’ Sub–sequence
write(”SUBSEQ.SEQ”, ”MAGIC 3002\n”)
write(”SUBSEQ.SEQ”, ”LINES ”:num:”\n”)
write(”SUBSEQ.SEQ”, ”\”SQUARE.WFM\”,\”\”,40000\n”)
write(”SUBSEQ.SEQ”, ”\”RAMP.WFM\”,\”\”,60000\n”)
write(”SUBSEQ.SEQ”, ”\”TRIANGLE.WFM\”,\”\”,60000\n”)
write(”SUBSEQ.SEQ”, ”\”SINE.WFM\”,\”\”,30000\n”)
’ Main sequence
write(”MAINSEQ.SEQ”, ”MAGIC 3002\n”)
write(”MAINSEQ.SEQ”, ”LINES ”:num:”\n”)
write(”MAINSEQ.SEQ”, ”\”SUBSEQ.SEQ\”,\”\”,2,1,–1\n”)
write(”MAINSEQ.SEQ”, ”\”RAMP.WFM\”,\”\”,0,0,0,0\n”)
write(”MAINSEQ.SEQ”, ”\”TRIANGLE.WFM\”,\”\”,40000,0,1,4\n”)
write(”MAINSEQ.SEQ”, ”\”SINE.WFM\”,\”\”,60000,0,0,0\n”)
write(”MAINSEQ.SEQ”, ”TABLE_JUMP
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,\n”)
write(”MAINSEQ.SEQ”, ”LOGIC_JUMP –1,–1,–1,–1,\n”)
write(”MAINSEQ.SEQ”, ”JUMP_MODE LOGIC\n”)
write(”MAINSEQ.SEQ”, ”JUMP_TIMING ASYNC\n”)
write(”MAINSEQ.SEQ”, ”STROBE 0\n”)
’ Standard functions
”GAUSSN.WFM” = noise()
”SINE.WFM” = sin(2 * pi * scale)
”RAMP.WFM” = 2 * scale –1
”TRIANGLE.WFM” = tri(2 * pi * scale)
”SQUARE.WFM” = sqr(2 * pi * scale)
See Figure 2–45 on page 2–74 to see the contents of the subseq.seq file, and
Figure 2–48 on page 2–78 to see the contents of the mainseq.seq file.
Figure 3–66 on page 3–207 shows the gaussn.wfm and ramp.wfm waveforms
created in above equation.
Refer to Appendix G: Sequence File Text Format for more information.
Seitenansicht 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 465 466

Kommentare zu diesen Handbüchern

Keine Kommentare