87
Remote Programming
MATH OPERATION COMMANDS
When using the math commands SMTH, FITS, CALC, and STAT, the status bytes should be queried after the
command is sent to check if the command generated an error. Common sources of errors are divide by zero,
math overflow or underflow, and file not on disk. For example, the command line FITS;*ESR? <lf> will perform
a curve fit and return the Standard Event Status Byte when finished. The Execution Error bit may be checked
to make sure that the FITS command terminated without error.
SMTH i
The SMTH i command smooths the data. This may take some time. Use
a status byte query to detect when the smoothing operation is done.The
parameter i selects a smoothing width.
i
smoothing width
0
5 points
1
11 points
2
17 points
3
21 points
4
25 points
FTYP (?) {i}
The FTYP command sets or reads the type of fit. The parameter i selects
the type of fit. If i=0 the fit is a line, if i=1 the fit is exponential,and if i=2
the fit is Gaussian.
FITS
The FITS command starts the actual fitting calculations. The fit takes
place only within the fit region defined by the LLIM and RLIM commands.
The fit progresses until the change in chi-squared falls below 0.1%. This
may take some time. Use a status byte query to detect when the fit oper-
ation is done. If the FITS command is used before the LLIM and RLIM
commands have set the limits, the results are invalid and an execution
error may result.
The FITS command uses the limits set by LLIM and RLIM and not the
front panel limits. Conversely, the front panel Do Fit function uses the on
screen limits, and not the LLIM and RLIM limits. Using the View
Parameters function will display the most recent fit parameters, whether
the fit was performed from the front panel or from the computer interface.
PARS ? i
The PARS? i command queries the fit parameters after a curve fit has
been performed. If no fit has been done or the selected parameter is un-
used in the fit, the PARS? command returns invalid data. The curve fit
parameters are t0, a, b, and c (see the Math menu section of this manu-
al). The parameter i in the PARS? i command selects a fit parameter to
read. The value of i from 0 to 3 selects t0, a, b, and c.
LLIM (?) {i}
The LLIM command sets or reads the left limit of the curve fit region. The
parameter i is the bin # of the record which is the left limit. Unlike the lim-
its set by the cursor from the front panel, which must be on the graph,
the LLIM command can set the limit at any bin # within the record. The
parameter i must be in the range 0 ≤ i < number of bins per record and i
must be less than the right limit set by RLIM.
RLIM (?) {i}
The RLIM command sets or reads the right limit of the curve fit region.
The parameter i is the bin # of the record which is the right limit. Unlike
the limits set by the cursor from the front panel, which must be on the
graph, the RLIM command can set the limit at any bin # within the
record. The parameter i must be in the range 0 < i ≤ number of bins per
Содержание SR430
Страница 2: ......
Страница 6: ...4 ...
Страница 22: ...20 Guide To Operation ...
Страница 26: ...24 Guide To Operation ...
Страница 36: ...34 Mode Menu ...
Страница 54: ...52 Save Menu ...
Страница 60: ...58 Recall Menu ...
Страница 70: ...68 Plot Menu ...
Страница 74: ...72 Test Menu ...
Страница 76: ...74 Info Menu ...
Страница 97: ...96 Remote Programming ...
Страница 99: ...98 98 Program Examples ...
Страница 107: ...106 106 Test and Calibration ...
Страница 113: ...112 112 Using Photomultiplier Tubes ...
Страница 125: ...124 124 124 Circuit Description ...