EasyManua.ls Logo

Keithley 6430 - Page 334

Keithley 6430
558 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
17-24 SCPI Command Reference
+817 “Unknown token” — Attempted to define an expression using an
invalid function name.
+818 “Error parsing mantissa” — Occurs when a floating point number has
an invalid mantissa.
+819 “Error parsing exponent” — Occurs when a floating point number has
an invalid exponent.
+820 “Error parsing value” — Occurs when an invalid floating point num-
ber is entered.
+821 “Invalid data handle index” — An invalid array index value was
assigned to a vectored expression. Array indices start at 0 and can be
as high as 2499.
Notes:
• Up to five user-defined math expressions can be created.
• A selected math expression can only be performed if CALC1 is enabled.
See :STATe.
• When the math expression is vectored, the math result will not be
generated until all source-measure operations for the vector array are
performed.
• Initializing memory (:SYSTem:MEMory:INITialize) deletes all user-
defined math expressions and selects the POWER expression.
Program examples
OFFCOMPOHM, VOLTCOEF, and VARALPHA require two source-
measure sweep points in order to perform the math expressions. Shown
below are code fragments that will properly configure the SourceMeter to
perform the built-in math expressions:
Power:
*RST
:SENS:FUNC:OFF:ALL
:SENS:FUNC “VOLT”,“CURR”
:CALC:MATH:EXPR:NAME “POWER”
:CALC:STAT ON
:OUTPUT ON
:INIT
:CALC:DATA?
Offset compensated ohms:
*RST
:SENS:FUNC:OFF:ALL
:SENS:FUNC “VOLT”,“CURR”
:SOUR:FUNC VOLT or CURR
if :SOUR:FUNC VOLT then :SOUR:VOLT:STAR <n>;
STOP <n>; MODE SWE
if :SOUR:FUNC CURR then :SOUR:CURR:STAR <n>;
STOP <n>; MODE SWE

Table of Contents