![background image](http://html.mh-extra.com/html/keithley/2520/2520_user-manual_661719205.webp)
14-16
SCPI Command Reference
Model 2520 User’s Manual
Query
:MMFactor?
Query M (slope) value for MX + B
Description
These commands program the M (slope) value for the MX + B math
function. Use CALC1 for the laser diode, CALC2 for detector #1, and
CALC3 for detector #2.
UNITs <name>
:CALCulate[1]:KMATh:MUNits <name>
Specify units for laser diode MX + B
:CALCulate2:KMATh:MUNits <name>
Specify units for detector #1 MX + B
:CALCulate3:KMATh:MUNits <name>
Specify units for detector #2 MX + B
Parameters
<name> = One ASCII character enclosed in single or double quotes
Query
:MUNits?
Query units for MX + B
Description
These commands are used to specify the units suffix name for the MX +
B math function for CALC1 through CALC3. Use one upper- or lower-
case ASCII character for the units suffix name (no numbers, spaces,
dashes, etc.).
Enable and read math function result
STATe <b>
:CALCulate[1]:STATe <b>
Control laser diode math function
:CALCulate2:STATe <b>
Control detector #1 math function
:CALCulate3:STATe <b>
Control detector #2 math function
:CALCulate4:STATe <b>
Control delta (detector #1 - detector #2)
math function
Parameters
<b> =
0 or OFF
Disable CALC1to CALC4 math
function.
Parameters
1 or ON
Enable CALC1 to CALC4 math
function.
Query
:STATe?
Query state (on or off) of CALC1 to CALC4
Description
These commands are used to enable or disable the CALC1, CALC2,
CALC3, and CALC4 math function for the laser diode, detector #1, and
detector #2 respectively. When enabled, the selected math function cal-
culation will be performed when the Model 2520 is triggered to perform
the programmed source and measure operations (use INIT).
After the Model 2520 returns to idle, you can read the result of the
selected math function using the :CALC1:DATA?, :CALC2:DATA?,
:CALC3:DATA?, or CALC4:DATA? query. (See below). When dis-
abled, the :CALC1:DATA?, :CALC2:DATA?, :CALC3:DATA?, and
:CALC4:DATA? queries will return the NAN (not a number) value of
+9.91e37.
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 ...