Relative and Math 7-11
User-defined math function programming example
Table 7-6 shows the command sequence for a typical user-defined math function. This
example defines a percent deviation math function.
Table 7-6
User-defined math function programming example
Command Description
*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?
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.