6-6 Return to Section Topics 6482-901-01 Rev. A / August 2012
Section 6: Data Store Model 6482 Dual-Channel Picoammeter / Voltage Source Reference Manual
Data store programming example
Table 6-2 summarizes the commands for basic data store operation. These commands set up the
Model 6482 as follows:
• Number of points: 10
• Trigger count: 10
• Data store feed: Channel 1 readings only
• Acquired data: All buffer readings, mean (average), and standard deviation.
NOTE See Appendix F for a complete program listing, which also shows how to determine when
the buffer is full by reading the appropriate status register bits. See Section 13 for details
on the status structure.
Table 6-2
Data store example
Command Description
*RST
:SOUR1:VOLT 10
:TRAC:POIN 10
:FORM:ELEM:TRAC CURR1
:TRAC:FEED:CONT NEXT
:TRIG:COUN 10
:OUTP1 ON
:INIT
:OUTP1 OFF
:TRACE:DATA?
:DISP:MODE CALC3
:CALC8:FORM MEAN
:CALC8:DATA?
:CALC8:FORM SDEV
:CALC8:DATA?
Restore GPIB defaults.
Source 10 V.
Store 10 readings in data store buffer.
Select channel 1 readings.
Enable the buffer.
Trigger count = Buffer points (10).
Turn on output #1.
Trigger readings.
Turn off output.
Request all buffer readings.
Select channel 1 for statistics.
Select mean buffer statistic.
Request buffer mean data.
Select standard deviation statistic.
Request standard deviation data.