![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750282.webp)
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 6: Instrument programming
2657A-901-01 Rev. B/December 2012
6-33
The Outline tab is visible by default in the TSP perspective.
Icon Name
Examples
Global function variable
function gFunction()
end
Local function variable
local function lFunction()
end
Anonymous function
myTest(function() return 1 end)
Global table variable
gTable = { }
Local table variable
local lTable = { }
Other table field
testTable.unit1 = "This is unit 1"
testTable.unit2 = "This is unit 2"
Global variable
gVariable = 3
Local variable
local lVariable = 5
Table method
gTable = { }
function gTable:testmethod()
end
[ ]
Nonfunction block
statement (example 1)
if true == true then
local var
end
Nonfunction block
statement (example 2)
for index = 1, 10 do
end
Programming interaction
This part of the workspace is where you interact with the scripts that you are building in Test Script
Builder (TSB). The actual contents of the programming interaction area of the workspace can vary.
You can send commands from the Instrument Console command line, retrieve data, view variables
and errors, and view and set breakpoints when using the debug feature. For additional information,
refer to the online help that is accessible from Test Script Builder (TSB).
Password management
The Model 2657A has password capabilities that let you decide how to password protect the
instrument. You can enable password policies to lock the instrument. Locking the instrument prevents
unauthorized access to any remote interface and reserves the instrument exclusively for your use.
Содержание 2657A
Страница 3: ......