B-8
Frequently Asked Questions
Series 2600 System SourceMeters User’s Manual
2600S-900-01 Rev. A / May 2006
Return to
The three measure readings, timestamps, and source values will be stored in the
buffer.
Step 3: Read the buffer
The following code will output the three sets of data (nine values) in the same
message:
rb1 = smua.nvbuffer1
printbuffer(1, rb1.n, rb1, rb1.timestamps, rb1.sourcevalues)
For the above
printbuffer
function,
1
is the starting index for values to output;
rb1.n
is the ending index (
n
= the number of readings in the buffer, which in this
case is 3);
rb1
includes the measured readings;
rb1.timestamps
includes the
timestamps; and
rb1.sourcevalues
includes the source values.
Example output:
1.234567e-03, 5.555555e-02, 1.00, 2.362360e-03,
8.888888e-02, 1.00, 2.362368e-03, 1.111111e-01,
1.00
The above output is returned in the following order:
reading1, timestamp1, sourcevalue1, reading2, timestamp2, sourcevalue2,
reading3, timestamp3, sourcevalue3
Refer to Step 3 of “
reading the buffer.
Содержание SourceMeter 2611
Страница 103: ...W What is a script 3 2...
Страница 104: ......
Страница 106: ......
Страница 107: ......