User-Defined Math Function Programming Example - Keithley SourceMeter 2400 User Manual

Sourcemeter 2400 series source measure unit
Hide thumbs Also See for SourceMeter 2400:
Table of Contents

Advertisement

8-10
Relative and Math
Table 8-5
Commands for user-defined math functions
Command
:CALCulate:MATH:UNITs <name>
:CALCulate:MATH:NAME <name>
:CALCulate:MATH[EXPression] <form>
:CALCulate:STATe <state>
:CALCulate:DATA?
User-defined math function programming example
Table 8-6
shows the command sequence for a typical user-defined math function. This
example defines a percent deviation math function.
Table 8-6
User-defined math function programming example
*RST
:SENS:FUNC:OFF:ALL
:SENS:FUNC:ON "RES"
:CALC:MATH:UNIT "%"
:CALC:MATH:EXPR:NAME "PER_DEV"
:CALC:MATH:EXPR (((RES - 10e3) / 10e3) * 100)
:CALC:STAT ON
:OUTP ON
:INIT
:CALC:DATA?
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
2400 Series SourceMeter
Description
Specified units for user-defined function (name = three ASCII
characters in quotes).
Define math name (name = "user-name").
Define math formula (form = formula).
Valid names: VOLTage, CURRent, RESistance, TIME.
Valid math operators: + - * / ^ log, ln, sin, cos, tan, exp.
Enable/disable math (state = ON or OFF).
Query math data.
Command
Restore GPIB defaults.
Disable concurrent functions.
Select resistance function.
Define "%" units name.
Define math expression name.
Define math expression.
Enable math data.
Turn on output.
Trigger unit.
Request math data.
®
User's Manual
Description

Advertisement

Table of Contents
loading

Table of Contents