Factory Scripts; Introduction - Keithley 2600a series Reference Manual

Sourcemeter
Table of Contents

Advertisement

Section 19: Remote Commands
math.cos(x)
math.deg(x)
math.exp(x)
math.floor(x)
math.log(x)
math.log10(x)
math.max(x, y, ...)
math.min(x, y, ...)
math.mod(x, y)
math.pi
math.pow(x, y)
math.rad(x)
math.sin(x)
math.sqrt(x)
math.tan(x)
math.frexp()
math.ldexp(x, n)
math.random([x],[y])
math.randomseed(x)

Factory scripts

Introduction

The Keithley Instruments Series 2600A System SourceMeter
more Factory Scripts saved in its flash firmware memory. A factory script is made up of a number
of functions. Some of them can be called from the front panel LOAD TEST menu. All of them can
be called using remote programming.
As Keithley Instruments develops additional factory scripts, they will be made available on the
Keithley Instruments web site (www.keithley.com) as a flash firmware upgrade for the Series
2600A. See
2600A.
A factory script is similar to a user script, except a factory script is created by Keithley Instruments
at the factory and is permanently stored in nonvolatile memory. The differences between a user
script and a factory script include the following:
19-238
Returns the trigonometric cosine function of x.
Returns the value of x in degrees, where x is in radians.
Returns the exponential function of x; that is, e
logarithms.
Returns the largest floating-point number not greater than x whose value is an exact
mathematical integer.
Returns the natural logarithm function of x.
Returns the base-10 logarithm function of x.
Returns the maximum value of its numeric argument(s).
Returns the minimum value of its argument(s).
Returns an approximation to the mathematical value f such that f has the same sign
as x, the absolute value of f is less than the absolute value of y, and there exists an
integer k such that k*y+f = x.
Variable containing the value of π (3.141592654).
Returns x
Returns the value of x in radians, where x is in degrees.
Returns the trigonometric sine function of x.
Returns the non-negative square root of x.
Returns the trigonometric tangent function of x.
Splits x into a fraction f and exponent n, such that f is 0.0 or 0.5
<= | f | <= 1.0, and f * 2
f,n = math.frexp(x).
Returns the inverse of the math.frexp() function; it computes the value
n
x * 2
When called without an argument, returns a pseudo-random real number in the
range [0, 1).
When called with number x, returns a pseudo-random integer in the range [1,n].
When called with two arguments, x and y, returns a pseudo-random integer in the
range [x, y].
Sets a "seed" for the pseudo-random generator. Equal seeds produce equal
sequences of numbers.
Upgrading the firmware
A factory script cannot be deleted from nonvolatile memory.
The script listing for a factory script can be retrieved and modified, but it will then be treated
as a user script. A user script cannot be saved as a factory script.
Factory scripts are not stored in global variables. The only references to factory scripts are
in script.factory.scripts.
Return to
Series 2600A System SourceMeter® Instruments Reference Manual
y
.
n
is equal to x. Both f and n are returned;
for instructions on upgrading the flash firmware of your Series
Section Topics
x
, where e is the base of the natural
®
instrument is shipped with one or
2600AS-901-01 Rev. B / September 2008

Advertisement

Table of Contents
loading

Table of Contents