Product specifications
Instrumentation Laboratory Exercise 32
4.4 VEE programming
First, set up the analog input on channel 101, as done in previous
exercises. We want to read in V
L
as a full waveform or trace
consisting of many points acquired in rapid succession. Instead of
sampling the signal through the "MEAS:VOLT:DC?" command we will
have to set it up to read an array of points. We need to set up both
the number of points required as well as the frequency. Key in the
following commands one line at a time:
1 "SENS:VOLT:POL UNIP, (@101)" // Sets the input to
unipolar mode
2 "SENS:VOLT:STYP SING, (@101)" // Sets the channel to be
read relative to ground
3 "SENS:VOLT:RANG 10, (@101)" // Sets the channel to a 1
V maximum input
4 "ACQ:POIN 2000" // Sets up to read 2000
points
5 "ACQ:SRAT 10000" // Sets up read frequency
of 10 kHz
6 "ROUT:SCAN, (@101)" // Tells the DAQ to scan
channel 101 only
7 "DIG" // Starts the digitization
process