EasyManua.ls Logo

Keysight Technologies DAQ970A - Calculate:math

Keysight Technologies DAQ970A
393 pages
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...
CALCulate:MATH
CALCulate:MATH <expression>, (@<computed_ch_list>)
CALCulate:MATH? (@<computed_ch_list>)
A computed channel performs mathematical operation on the readings from measurement channels, or other com-
puted channels list. Selects type of <expression> to specify the mathematical operation, and the operand channels
that are used for computing.
Only supported on computed channels (channels 401 through 420).
Computation type Mathematical operation Parameter (<
expression
>) Typical return
Basic math Add (@chan1+@chan2) (none)
Subtract (@chan1-@chan2)
Multiply (@chan1*@chan2)
Divide (@chan1/@chan2)
Power (power(@chan1, 2))
Square root (sqrt(@chan1))
Reciprocal (1/@chan1)
Polynomial Fifth order (poly(@chan1, <n5>, <n4>, <n3>, <n2>, <n1>, <n0>))
where n = value of variable in each order
Statistics Min (min(@<ch_list>))
Max (max(@<ch_list>))
Sum (sum(@<ch_list>))
Average (avg(@<ch_list>))
Standard deviation (sdev(@<ch_list))
Basic math examples:
Selects math operation (add), and operand channels (channel 101 and 102) that are used for computing in channel
401:
CALC:MATH (@101+@102),(@401)
Typical response: "(@101+@102)"
In this example, you can replace the (@101+@102) with (@101-@102), (@101*@102), and (@101/@102) for
subtract, multiply, and divide operations.
Selects math operation (power), and operand channels (channel 101) that are used for computing in channel 401:
CALC:MATH (power(@101, 2)),(@401)
Typical response: "(power(@101, 2))"
Keysight DAQ970A/DAQ973A Programming Guide 71
2 SCPI Programming

Table of Contents

Other manuals for Keysight Technologies DAQ970A