EasyManua.ls Logo

Tektronix AFG3000 Series - Page 208

Tektronix AFG3000 Series
230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming Examples
5-4 AFG3000 Series Arbitrary/Function Generators Reference Manual
Next i
For i = 1000 To 1999 'Part of Low Level (1000 Points)
Data = 0
High = Int(Data / 256)
Low = Data - (High * 256)
wave(2 * i) = High
wave(2 * i + 1) = Low
Next i
'
'Transfer waveform
' Transfer arbitrary block data to edit memory
'
Tvc1.SendEndEnabled = False
Tvc1.WriteString ("TRACE:DATA EMEMORY,#44000")
Tvc1.SendEndEnabled = True
Tvc1.WriteByteArray (wave)
'
'Copy contents of edit memory to USER1
'
Tvc1.WriteString ("TRAC:COPY USER1,EMEM")
'
'Set CH1 output parameters
'
Tvc1.WriteString ("FUNCTION USER1") 'Set output waveform USER1
Tvc1.WriteString ("FREQUENCY 8K") 'Set frequency 8kHz
Tvc1.WriteString ("OUTPUT ON") 'Set CH1 output on
End Sub

Table of Contents

Other manuals for Tektronix AFG3000 Series

Related product manuals