
6-10
Range, Filter, and Math
Model 2520 User’s Manual
Math function programming example
summarizes commands that program the following math function parameters:
•
Laser diode math function: power
•
Detector #1 MX + B slope (M): 0.5
•
Detector #1 MX + B offset (B): 5e-3
Table 6-10
Math function programming example
Command
Description
:CALC1:FORM POWER1
Select laser diode power function.
:CALC1:KMAT:MUN ‘W’
Set “W” math units.
:CALC1:STAT ON
Enable laser diode math.
:CALC2:KMAT:MBF 5e-3
Detector #1 MX + B offset (B) = 5e-3.
:CALC2:KMAT:MMF 0.5
Detector #1 slope (M) = 0.5.
:CALC2:STAT ON
Enable detector #1 math.
:OUTP1 ON
Turn on outputs.
:INIT
Trigger math readings.
:CALC1:DATA?
Request laser diode power result.
:CALC2:DATA?
Request detector #1 MX + B result.
:OUTP1 OFF
Outputs off.
Summary of Contents for 2520
Page 250: ...A Specifications ...
Page 254: ...B StatusandErrorMessages ...
Page 262: ...C DataFlow ...
Page 266: ...D IEEE 488BusOverview ...
Page 281: ...E IEEE 488andSCPI ConformanceInformation ...
Page 285: ...F MeasurementConsiderations ...
Page 308: ...G GPIB488 1Protocol ...
Page 312: ...H ExamplePrograms ...
Page 317: ...I ContinuousPulseMode ...