Printbuffer And Printnumber Functions - Keithley 2601 Reference Manual

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Series 2600 System SourceMeter® Instruments Reference Manual
makesetter
Creates a function to set the value of an attribute.
Function
Usage
setter = makesetter(table, attributename)
table
attributename
setter
Remarks
• This function creates a function that when called sets the value of the attribute. This
function is useful for aliasing attributes to improve execution speed. Calling the
setter
• Creating a setter function is only useful if it is going to be called several times.
Otherwise the overhead of creating the setter function outweighs the overhead of
accessing the attribute directly.
Creates a
Example
setlevel = makesetter(smua.source, "levelv")
for v = 1, 10 do
setlevel(v)
end
Using setlevel in the loop sets the value of smua.source.levelv, thereby
performing a source sweep.
opc function
This function sets the OPC bit in the status register when all overlapped commands are
completed.
opc
Function
Sets the Operation Complete status bit when all overlapped commands are completed.
Usage
opc()
Remarks
• This function will cause the Operation Complete bit in the Standard Event Status Register
to be set when all previously started local overlapped commands are
complete. Note that each node will independently set their Operation Complete bits in
their own status models.
• Any nodes not actively performing overlapped commands will set their bits
immediately. All remaining nodes will set their own bits as they complete their own
overlapped commands.
Details
See
Appendix
Also see
waitcomplete

printbuffer and printnumber functions

These functions are used to print data and numbers.
printbuffer
Function
Prints data from tables and reading buffer sub-tables.
2600S-901-01 Rev. C / January 2008
function will execute faster than accessing the attribute directly.
function called
setter
setlevel
D.
Return to
Read-only table where the attribute is located.
The string name of the attribute.
Function that sets the value of the given attribute.
:
Section Topics
Section 12: Instrument Control Library
12-43

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents