
2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-331
In addition to the above constants,
enableRegister
can be set to the numeric equivalent of the bit
to set. To set more than one bit of the register, set
enableRegister
to the sum of their decimal
weights. For example, to set bits B1 and B4, set
enableRegister
to 18 (which is the sum of
2 + 16).
Bit
B7
B6
B5
B4
B3
B2
B1
B0
Binary value
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Decimal
128
64
32
16
8
4
2
1
Weights
(2
7
)
(2
6
)
(2
5
)
(2
4
)
(2
3
)
(2
2
)
(2
1
)
(2
0
)
Bit
B15
B14
B13
B12
B11
B10
B9
B8
Binary value
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Decimal
32,768
16,384
8,192
4,096
2,048
1,024
512
256
Weights
(2
15
)
(2
14
)
(2
13
)
(2
12
)
(2
11
)
(2
10
)
(2
9
)
(2
8
)
Example 1
enableRegister = status.system5.
status.system5.NODE60
status.system2.enable = enableRegister
Uses constants to set bits B1 and B4 of
the system summary 5 enable register.
Example 2
-- decimal 18 = binary 0000 0000 0001 0010
enableRegister = 18
status.system5.enable = enableRegister
Uses a decimal value to set bits B1 and
B4 of the system summary 5 enable
register.
Also see
(on page 7-327)
System summary and standard event registers
(on page E-6)
SweepILinMeasureV()
This KISweep factory script function performs a linear current sweep with voltage measured at every step (point).
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
SweepILinMeasureV(
smu, starti, stopi, stime, points
)
smu
Instrument channel (for example,
smua
refers to SMU channel A)
starti
Sweep start current in amperes
stopi
Sweep stop current in amperes
stime
Settling time in seconds; occurs after stepping the source and before performing a
measurement
points
Number of sweep points (must be
≥
2)
Details
Data for voltage measurements, current source values, and timestamps are stored in
smu
X
.nvbuffer1
.