Localnode.setglobal(); Localnode.showerrors - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Models 707B and 708B Switching Matrix Reference Manual

localnode.setglobal()

This function sets the value of a global variable.
Type
TSP-Link accessible
Function
Yes (see Details)
Usage
node[N].setglobal(name, value)
N
name
value
Details
From a remote node, use this function to create and assign the given value to a global variable.
Do not use this command to create or set the value of a global variable from the local node. It is provided for the
sole purpose of accessing global variables on a node from a remote master node. The localnode prefix to the
function listing describes how remote commands are shared between nodes, rather than this command being a
localnode command.
Example
node[3].setglobal("x", 5)
Also see
localnode.getglobal()

localnode.showerrors

This attribute sets whether or not the instrument automatically sends generated errors.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
errorMode = localnode.showerrors
localnode.showerrors = errorMode
errorMode
Details
If this attribute is set to 1, the instrument automatically sends any generated errors stored in the error queue, and
then clears the queue. Errors are processed after executing a command message (just before issuing a prompt,
if prompts are enabled).
If this attribute is set to 0, errors are left in the error queue and must be explicitly read or cleared.
707B-901-01 Rev. A / August 2010
Affected by
The node number of the instrument
The global variable name to create
The value to assign to the variable
(on page 7-128)
Affected by
Power cycle
Enables (1) or disables (0) show-errors state
Where saved
Default value
Sets the global variable x on Node 3 to the value of 5.
Where saved
Default value
Not saved
Disabled
Section 7: Command reference
7-133

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents