Keithley 2601 Reference Manual page 300

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Section 12: Instrument Control Library
localnode.autolinefreq
Attribute
Automatic power line frequency detection control.
flag = localnode.autolinefreq
Usage
localnode.autolinefreq = true
Remarks
• When this attribute is set to true, the power line frequency is detected
automatically the next time the Series 2600 powers up.
• After the power line frequency is automatically detected at power-up, the
localnode.linefreq attribute will be set automatically to 50 or 60.
• If the localnode.linefreq attribute is explicitly set,
localnode.autolinefreq will be automatically set to false.
• When used in an expanded system (TSP-Link), localnode.autolinefreq is sent to the
remote master node only.
• Use node[N].autolinefreq (where [N] is the node number) to
send the command to any node in the system. See
TSP-Link.
• This command is compatible with firmware version 1.2.0 and later.
Also see
localnode.linefreq
Example
Disable automatic power line frequency detection:
localnode.autolinefreq = 0
localnode.execute
Function
Use this function to start test scripts on a remote node.
Usage
node[N].execute (myscript)
myscript
Remarks
• Only the master node can issue the execute command to a remote node.
• You cannot use the execute command to run test scripts on the master node.
-
Example
- Runs script code stored in the custom variable sourcecode.
node[N].execute (sourcecode)
-- Runs script code in a string constant.
node[N].execute ("x=5")
-- Runs a test script that was loaded into memory.
node[N].execute (myscript.source)
localnode.getglobal
Function
This function returns the value of a global variable.
Usage
value = node[N].getglobal(name)
name
value
N
Remarks
• Use this function to retrieve the value of a global variable from a remote node.
• Do not use this command to retrieve the value of a global variable from a local node.
Example
-- Retrieves and outputs the value of the global variable named meas_val from node 5.
print(node[5].getglobal("meas_val"))
12-40
Series 2600 System SourceMeter® Instruments Reference Manual
--
Read auto line frequency detection
--
Enable automatic line frequency detection
on power-up.
Section 9
Replace the custom variable myscript with the variable
name or the source code.
The name of the global variable.
The value of the global variable.
The number of the remote node.
Return to
Section Topics
setting.
for details on
2600S-901-01 Rev. C / January 2008

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents