Relative and Math
7-11
User-de
fi
ned 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.
Summary of Contents for 6430
Page 26: ......
Page 32: ......
Page 78: ...2 14 Connections ...
Page 98: ...3 20 Basic Source Measure Operation ...
Page 138: ...5 30 Source Measure Concepts ...
Page 156: ...6 18 Range Digits Speed and Filters ...
Page 168: ...7 12 Relative and Math ...
Page 176: ...8 8 Data Store ...
Page 202: ...9 26 Sweep Operation ...
Page 248: ...11 22 Limit Testing ...
Page 310: ...16 6 SCPI Signal Oriented Measurement Commands ...
Page 418: ...17 108 SCPI Command Reference ...
Page 450: ...18 32 Performance Verification ...
Page 477: ...A Specifications ...
Page 489: ...B StatusandErrorMessages ...
Page 498: ...B 10 Status and Error Messages ...
Page 499: ...C DataFlow ...
Page 503: ...D IEEE 488BusOverview ...
Page 518: ...D 16 IEEE 488 Bus Overview ...
Page 519: ...E IEEE 488andSCPI ConformanceInformation ...
Page 523: ...F MeasurementConsiderations ...
Page 539: ...G GPIB488 1Protocol ...
Page 557: ......