C-6
Example Programs
Storing readings in buffer
The reading buffer in the Model 2010 is flexible and capable. It has three controls, which are
found in the TRACe subsystem. There are commands to control:
•
•
•
The following example program sets up the Model 2010 to take 20 readings as fast as it can
into the buffer, and then reads the data back after the buffer has filled.
The size of the buffer (in readings).
TRACe:POINts <NRf>
Where the data is coming from (before or after the CALCulate1 math post-processing).
TRACe:FEED SENSe1
TRACe:FEED CALCulate1
Select buffer control mode.
TRACe:FEED:CONTrol NEVer
TRACe:FEED:CONTrol NEXT
store unprocessed readings
store math processed readings
immediately stop storing readings
start now, stop when buffer is full