Keithley 2651A Reference Manual page 265

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Example: User script
User script created in Test Script Builder
function myDisplay(name)
display.clear()
display.settext(
name .. "$N is here!")
end
Operators
Lua variables and constants can be compared and manipulated using operators.
Arithmetic operators
Operator
Description
addition
+
subtraction
-
multiplication
*
division
/
negation (for example, c = -a)
-
exponentiation
^
Relational operators
Operator
Description
less than
<
greater than
>
less than or equal
<=
greater than or equal
>=
not equal
~=
equal
==
2651A-901-01 Rev. A / March 2011
User script created in user's own program
loadscript
function myDisplay(name)
display.clear()
display.settext(
name .. " $N is here!")
end
endscript
Section 6: Instrument programming
6-21

Advertisement

Table of Contents
loading

Table of Contents