Series 2600 System SourceMeters Reference Manual
Instrument Control Library 12-53
Return to
2600S-901-01 Rev. A / May 2006
printbuffer
and
printnumber
functions
These functions are used to print data and numbers.
printbuffer
Function
Prints data from reading buffer sub-tables.
Usage
There are multiple ways to use this function, depending on how many sub-tables are
used:
printbuffer(start_index, end_index, st_1)
printbuffer(start_index, end_index, st_1, st_2)
printbuffer(start_index, end_index, st_1, st_2, ..., st_n)
start_index
Starting index of values to print.
end_index
Ending index of values to print.
st_1, st_2, … st_n
Sub-tables from which to print values.
Remarks
• Correct usage when there are no outstanding overlapped commands to acquire
data:
1 <= start_index <= end_index <= n
Where
n
refers to the index of the last entry in the tables to be printed.
If
end_index < start_index
or
n < start_index
, no data will be printed. If
start_index < 1,
1 will be used as the first index. If
n < end_index
,
n
will be
used as the last index.
• When any of the given reading buffers are being used in overlapped commands that
have not yet completed at least to the desired index, this function will return data as
it becomes available.
• When there are outstanding overlapped commands to acquire data,
n
refers to the
index that the last entry in the table will have after all the measurements have
completed.
• This function prints values from reading buffers. If a specific sub-table is not
specified (e.g., “rb1” rather than “rb1.statuses”), the default “readings” sub-table will
be used.
• At least one sub-table must be specified. There is an upper limit that is dictated by
the output format and the maximum output message length. Values will be
interleaved in one message. Care must be taken not to exceed the maximum output
message length.
• All the data will be put in one response message. The response message will be
formatted as dictated by
format.data
and other associated attributes.
Also see
Содержание SourceMeter 2600 Series
Страница 507: ...AppendixA Specifications Appendix A topics Model 2600S Specifications page A 2 2600S 901 01 Rev A May 2006...
Страница 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Страница 592: ......
Страница 593: ......