Keithley SourceMeter 2600 Series Reference Manual page 328

Table of Contents

Advertisement

12-54 Instrument Control Library
Example
This example prints all timestamps and readings in one buffer and all readings from
another buffer
format.data = format.ASCII
printbuffer(1, rb1.n, rb1.timestamps, rb1, rb2)
Example of returned data (timestamps, rb1.readings, rb2.readings):
1.02345E-04, 8.76542E-04, 5.29372E-01, 1.02445E-04, 8.66543E-04,
5.24242E-01, 1.02545E-04, 8.56547E-04, 5.19756E-01, 1.02645E-04,
8.44546E-04, 5.14346E-01
printnumber
Function
Prints numbers using the format selected for printing reading buffers.
There are multiple ways to use this function, depending on how many numbers are to
Usage
be printed:
printnumber(v1)
printnumber(v1 ,v2)
printnumber(v1 ,v2, ..., vn)
v1, v2, ..., vn
• This function will print the given numbers using the data format specified by
Remarks
format.data
• At least one number must be given. There is an upper limit that is dictated by the
output format and the maximum output message length. All values will be written in
a single message. Care must be taken not to exceed the maximum output message
length.
Also see
printbuffer,
Prints three measurements that were previously performed:
Example
format.data = format.ASCII
printnumber(i, v, t)
Example of returned data (i, v, t):
1.02345E-04, 8.76542E-02, 5.29372E-01
2600S-901-01 Rev. A / May 2006
Series 2600 System SourceMeters Reference Manual
, where n is 4:
Numbers to print.
and other associated attributes.
format.data
Return to
Section 12 topics

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents