EasyManuals Logo
Home>Keithley>Measuring Instruments>2614B

Keithley 2614B Reference Manual

Keithley 2614B
864 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #336 background imageLoading...
Page #336 background image
Series 2600B
System SourceMeter® Instrument Reference Manual Section 6:
Instrument programming
2600BS-901-01 Rev. B / May 2013 6-59
Removing stale values from the reading buffer cache
The node that acquires the data also stores the data for the reading buffer. To optimize data access,
all nodes can cache data from the node that stores the reading buffer data.
When you run Lua code remotely, it can cause reading buffer data that is held in the cache to
become stale. If the values in the reading buffer change while the Lua code runs remotely, another
node can hold stale values. Use the clearcache() command to clear the cache. For additional
detail on the reading buffer cache commands, see bufferVar.cachemode (on page 7-16
) and
bufferVar.clearcache() (on page 7-18).
The following example code demonstrates how stale values occur and how to use the
clearcache() command to clear the cache on node 2, which is part of group 7.
-- Create a reading buffer on a node in a remote group.
node[2].tsplink.group = 7
node[2].execute("rbremote = smua.makebuffer(20)" ..
"smua.measure.count = 20 " ..
"smua.measure.v(rbremote)")
-- Create a variable on the local node to
-- access the reading buffer.
rblocal = node[2].getglobal("rbremote")
-- Access data from the reading buffer.
print(rblocal[1])
-- Run code on the remote node that updates the reading buffer.
node[2].execute("smua.measure.v(rbremote)")
-- Use the clearcache command if the reading buffer contains cached data.
rblocal.clearcache()
-- If you do not use the clearcache command, the data buffer
-- values will never update. Every time the print command is
-- issued after the first print command, the same data buffer
-- values will print.
print(rblocal[1])
TSP-Net
Overview
The TSP-Net
®
library allows the Series 2600B to control LAN-enabled devices directly through its
LAN port. This enables the Series 2600B to communicate directly with a device that is not TSP
®
enabled without the use of a controlling computer.

Table of Contents

Other manuals for Keithley 2614B

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2614B and is the answer not in the manual?

Keithley 2614B Specifications

General IconGeneral
BrandKeithley
Model2614B
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals