Section 6: Reading buffers
2470 High Voltage SourceMeter Instrument Reference Manual
6-12
2470-901-01 Rev. A /
May
2019
Using SCPI commands to set buffer capacity:
To set the
testData
reading buffer to hold 300 readings, send the following command:
TRACe:POINts 300, "testData"
Using TSP commands to set buffer capacity:
To set the
testData
reading buffer to hold 300 readings, send the following command:
testData.capacity = 300
Setting the fill mode
The fill mode setting for the reading buffer controls how the incoming data is managed as the buffer
fills. You can set the read buffer to:
•
Fill once:
The buffer stops accepting data once it fills to capacity. When the buffer reaches
capacity, no more readings are made and event code 4915, "Attempting to store past capacity of
reading buffer," is displayed.
•
Fill continuously:
Data fills the buffer normally until the end of the buffer is reached. When the
end is reached, the data returns to the beginning of the buffer and overwrites the oldest reading.
This is a traditional circular buffer. In this case, the buffer never technically fills.
The following topics describe how to set the reading buffer fill mode.
When readings are made using a high sample rate and stored into a continuous reading buffer with a
capacity of less than 10,000 readings, the instrument may not be able to fully process the incoming
data before it is overwritten with new data. This can result in gaps in graph traces and the loss of
statistics and histogram information. To prevent these problems, increase the buffer capacity or
reduce the sample rate.