
Table of Contents Series 2600A System SourceMeter®Instruments Reference Manual
viii 2600AS-901-01 Rev. B / September 2008
Section Topic Page
Variables and types ............................................................................ 19-3
Operators............................................................................................ 19-4
Functions............................................................................................ 19-4
Tables/arrays ...................................................................................... 19-5
Precedence ........................................................................................ 19-6
Logical operators................................................................................ 19-6
Concatenation .................................................................................... 19-7
Branching ........................................................................................... 19-7
Loop control........................................................................................ 19-8
Command programming notes.................................................................. 19-9
Conventions........................................................................................ 19-9
Functions and attributes ................................................................... 19-10
TSP-Link nodes................................................................................ 19-12
Logical instruments........................................................................... 19-12
Reading buffers ................................................................................ 19-13
Time and date values ....................................................................... 19-14
Remote versus local state ................................................................ 19-14
Standard libraries.................................................................................... 19-15
String library functions ...................................................................... 19-16
Math library functions ....................................................................... 19-17
File I/O..................................................................................................... 19-18
Instrument Control Library....................................................................... 19-19
beeper .............................................................................................. 19-23
bit...................................................................................................... 19-23
data queue........................................................................................ 19-29
delay................................................................................................. 19-31
digio.................................................................................................. 19-31
display .............................................................................................. 19-38
errorqueue........................................................................................ 19-54
event log........................................................................................... 19-56
exit.................................................................................................... 19-58
file I/O ............................................................................................... 19-58
format ............................................................................................... 19-61
file system......................................................................................... 19-62
gpib................................................................................................... 19-65
io....................................................................................................... 19-65
LAN................................................................................................... 19-69
localnode .......................................................................................... 19-85
makegetter and makesetter.............................................................. 19-93
meminfo............................................................................................ 19-94
opc.................................................................................................... 19-94
printbuffer and printnumber .............................................................. 19-95
reset.................................................................................................. 19-96
script................................................................................................. 19-97
serial................................................................................................. 19-98
setup............................................................................................... 19-101
smuX .............................................................................................. 19-103
Status .................................................................................................... 19-150
Status register sets......................................................................... 19-150
Status byte and SRQ...................................................................... 19-150
timer................................................................................................ 19-204
trigger ............................................................................................. 19-205
tsplink.............................................................................................. 19-212
tspnet.............................................................................................. 19-221
userstring........................................................................................ 19-234
waitcomplete................................................................................... 19-236
Standard libraries.................................................................................. 19-236
String library functions .................................................................... 19-237
Math library functions ..................................................................... 19-237
Factory scripts....................................................................................... 19-238
Introduction..................................................................................... 19-238
Running a factory script.................................................................. 19-239