18-26 SCPI Command Reference 2400 Series SourceMeter
®
User’s Manual
+814 “Mismatched brackets” — Improper use of brackets for vectored
math expression indices. For example, CALC1:MATH:EXPR
(VOLT[0*CURR[0]) generates this error.
+815 “Too many parenthesis” — Too many closed parentheses were
detected. For example, CALC1:MATH:EXPR (In(VOLT)) gener-
ates this error.
+816 “Entire expression not parsed” — Occurs when the input expres-
sion does not produce a function for the SourceMeter to calculate.
+817 “Unknown token” — Attempted to define an expression using an
invalid function name.
+818 “Error parsing mantissa” — Occurs when a floating point num-
ber has an invalid mantissa.
+819 “Error parsing exponent” — Occurs when a floating point num-
ber has an invalid exponent.
+820 “Error parsing value” — Occurs when an invalid floating point
number 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 <b>.”)
• 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?
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com