Models 2500 and 2502 User’s Manual Data Store 8-7
Data store programming example
Table 8-2 summarizes the commands for basic data store operation. These commands set
up the Model 2500 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 H for a complete program listing which also shows how to deter-
mine when the buffer is full by reading the appropriate status register bits. See
Section 14 for details on the status structure.
Table 8-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 10V.
Store 10 readings in data store buffer.
Select channel 1 readings.
Enable 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.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com