5: Introduction to TSP operation Series 2600B System SourceMeter® Instrument
5-4 2600BS-901-01 Rev. C / August 2016
The Test Script Processor (TSP) scripting engine stores all numbers internally as IEEE Std 754
double-precision floating point values. The logical operations work on 32-bit integers. Any fractional
bits are truncated. For numbers larger than 4294967295, only the lower 32 bits are used.
bit.bitand() (on page 7-9)
bit.bitor() (on page 7-10)
bit.bitxor() (on page 7-10)
bit.clear() (on page 7-11)
bit.get() (on page 7-12)
bit.getfield() (on page 7-12)
bit.set() (on page 7-13)
bit.setfield() (on page 7-14)
bit.test() (on page 7-15)
bit.toggle() (on page 7-16)
Data queue
Use the data queue commands to:
• Share data between test scripts running in parallel
• Access data from a remote group or a local node on a TSP-Link
®
network at any time
The data queue in the Test Script Processor (TSP
®
) scripting engine is first-in, first-out (FIFO).
You can access data from the data queue even if a remote group or a node has overlapped
operations in process.
dataqueue.add() (on page 7-49)
dataqueue.CAPACITY (on page 7-50)
dataqueue.clear() (on page 7-51)
dataqueue.count (on page 7-51)
dataqueue.next() (on page 7-52)