Tektronix VX4101A Drums User Manual


 
Using the Digital to Analog Converter (DAC)
VX4101A MultiPaq Instrument User Manual
2–49
Perform the following steps:
1. Select the DAC with the following command:
INST:SEL DAC
2. Enter the following command to set the number of data points used in the
waveforms:
TRACe:POINts 32
3. Enter the next command to set the sample rate for the waveforms:
TRACe:SRATe 2000
4. Enter the following command to create a Ramp waveform on Channel one:
TRACe1,1,0,.625,1.25,1.875,2.5,3.125,3.75,4.375,5,5.625,6.25,
6.875,7.5,8.125,8.75,9.375,10,0,.625,1.25,1.875,2.5,3.125,3.7
5,4.375,5,5.625,6.25,6.875,7.5,8.125
5. Enter the next command to create a Triangle waveform on Channel two:
TRACe 2,1,0,.625,1.25,1.875,2.5,3.125,3.75,4.375,5,4.375,
3.75,3.125,2.5,1.875,1.25,.625,0,-.625,-1.25,-1.875,-2.5,-3.1
25,-3.75,-4.37,-5,-4.375,-3.75,-3.125,-2.5,-1.875,-1.25,-.625
6. Enter the following two commands to create a 500Hz Square wave on
Channel three:
TRACe 3,(1:2,5:6,9:10,13:14,17:18,21:22,25:26,29:30),5
TRACe 3,(3:4,7:8,11:12,15:16,19:20,23:24,27:28,31:32),-5
7. Enter the following command to create a 250Hz Square wave on Channel
eight:
TRACe 8,1,0,0,0,0,5,5,5,5,0,0,0,0,5,5,5,5,0,0,0,0,5,5,5,5,0,
0,0,0,5,5,5,5
8. Enter the following command to initialize a continuous DAC output of
signals:
INIT:CONT ON
9. Enter the following command to abort the signals currently being generated:
INIT:CONT OFF
Programming Example