308
Chapter 6 Application Programs
Program Listings
6
' Download data points to volatile memory
txtError.SelText = "Downloading Arb..." & vbCrLf
With Fgen
.WriteString "DATA VOLATILE, " & DataStr
End With
txtError.SelText = "Download Complete" & vbCrLf
' Set up arbitrary waveform and output
With Fgen
.WriteString "DATA:COPY PULSE, VOLATILE" ' Copy arb to non-volatile
' memory
.WriteString "FUNCtion:USER PULSE" ' Select the active arb waveform
.WriteString "FUNCtion:SHAPe USER" ' Output the selected arb waveform
.WriteString "OUTPut:LOAD 50" ' Output termination is 50 Ohms
.WriteString "FREQuency 5000;VOLTage 5" ' Output frequency is 5 kHz
' @ 5 Vpp
.WriteString "OUTPut ON" ' Enable Output
End With
Exit Sub
MyError:
txtError = Err.Description & vbCrLf
Resume Next
End Sub
33210A users guide.book Page 308 Wednesday, July 16, 2008 11:16 AM
Summary of Contents for 33210A
Page 1: ...Keysight 33210A 10 MHz Function Arbitrary Waveform Generator User s Guide ...
Page 2: ......
Page 3: ......
Page 14: ...12 Contents Contents 33210A users guide book Page 12 Wednesday July 16 2008 11 16 AM ...
Page 15: ...1 1 Quick Start 33210A users guide book Page 13 Wednesday July 16 2008 11 16 AM ...
Page 53: ...3 3 Features and Functions 33210A users guide book Page 51 Wednesday July 16 2008 11 16 AM ...
Page 273: ...5 5 Error Messages 33210A users guide book Page 271 Wednesday July 16 2008 11 16 AM ...
Page 301: ...6 6 Application Programs 33210A users guide book Page 299 Wednesday July 16 2008 11 16 AM ...
Page 311: ...7 7 Tutorial 33210A users guide book Page 309 Wednesday July 16 2008 11 16 AM ...
Page 335: ...8 8 Specifications 33210A users guide book Page 333 Wednesday July 16 2008 11 16 AM ...