Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. C / August 2016
7-49
Example
ConfigPulseVMeasureISweepLog(smua, 0, 1,
10, 1, 10e-3, 20e-3, 10,
smua.nvbuffer1, 6)
Set up a pulsed logarithmic sweep that uses System
SourceMeter
®
instrument channel A. The pulsed
sweep starts at 1 V, ends at 10 V, and returns to a
0 V bias level between pulses. Each pulsed step is on
for 10 ms, and then at the bias level for 20 ms.
The current limit will be 1 A during the entire pulsed
sweep. The pulse train will be comprised of 10 pulsed
steps, and the pulse train will be assigned a
tag
index of 6.
Also see
(on page 7-114)
(on page 5-22)
dataqueue.add()
This function adds an entry to the data queue.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
result
= dataqueue.add(
value
)
result
= dataqueue.add(
value
,
timeout
)
result
The resulting value of
true
or
false
based on the success of the function
value
The data item to add;
value
can be of any type
timeout
The maximum number of seconds to wait for space in the data queue
Details
You cannot use the
timeout
value when accessing the data queue from a remote node (you can
only use the
timeout
value while adding data to the local data queue).
The
timeout
value is ignored if the data queue is not full.
The
dataqueue.add()
function returns
false
:
•
If the timeout expires before space is available in the data queue
•
If the data queue is full and a
timeout
value is not specified
If the value is a table, a duplicate of the table and any subtables is made. The duplicate table does
not contain any references to the original table or to any subtables.