Using the Digital to Analog Converter (DAC)
VX4101A MultiPaq Instrument User Manual 2–53
5. Program channel 1, starting at index 1 to a 10 Vpp triangle waveform:
TRAC
1,1,1,2,3,4,5,6,7,8,9,10,9,8,7,6,5,4,3,2,1,0,-1,-2,-3,-4,-5,-
6,-7,-8,-9,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0
6. Program a sequence of 10 segments:
TRIG:MODE SEQ,10
7. Set the handshake polarity:
TRIG:HAND:POL:REQ INV
TRIG:HAND:POL:STR INV
8. Start the DAC:
INIT:CONT ON
9. Stop the DAC:
INIT:CONT OFF
Programming a Trace with a Numeric Array List
This programs a 5 Vpp square wave with zero offset and 256 points per period.
1. Select the DAC as the active instrument:
INST:SEL DAC
2. Use the numeric list format to set the array for channel one:
a. Set the following channel one points to +5 V:
TRAC 1,(1:128,257:384,513:640,769:896),5
This sets points 1-128, 257–384, 513:640, and 769:896 to +5 V
b. Set the following channel one points to –5V:
TRAC 1,(129:256,385:512,641:768,897:1024),-5
This sets points 129-256, 385-512, 641:768, and 897:1024 to –5 V
3. Set the waveform period to 10 Hz:
TRAC:SRAT 2560
4. Set the number of points to 1024:
TRAC:POIN 1024