17 remote programming – SRS Labs SR850 User Manual

Page 193

Advertising
background image

6-17

Remote Programming

CALC

The CALC command starts the calculation selected by the COPR com-
mand. This may take some time. Use a status query command to detect
when the calculation is done. Make sure that CTRC or CARG have been
used to set the argument (if required by the operation) before using the
CALC command. If a scan is in progress, the CALC command will Pause
the scan.

CAGT (?) {i}

The CAGT command sets or queries the argument type. The parameter i
selects Trace (i=0) or Constant (i=1).

CTRC (?) {i}

The CTRC command sets or queries the trace argument number. The
parameter i selects Trace 1, 2, 3 or 4 (i=1, 2, 3, 4). The selected trace
must be stored.

CARG (?) {x}

The CARG command sets or queries the constant argument value. The
parameter x is a real number.

FTYP (?) {i}

The FTYP i command sets or queries the type of fit. The parameter i
selects the Line (i=0), Exponential (i=1) or Gaussian (i=2).

FITT i, j

The FITT i,j command starts the fitting calculations. The fit takes place
only within the chart region defined as i% and j% from the left edge. The
parameters i and j are integers from 0 to 100 and j must be greater than
i.

The fit may take some time. Use a status query command to detect when
the fir operation is done. If a scan is in progress, the FITT command will
Pause the scan.

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
unused in the fit, the PARS? command returns invalid data. The curve fit
parameters are a, b, c and t0 (see the Math menu section of this
manual). The parameter i selects a fit parameter to read. The value of i
from 0 to 3 selects a, b, c or t0.

STAT i, j

The STAT i,j command starts the statistics calculations. Only the data
within the chart region defined as i% and j% from the left edge are ana-
lyzed. The parameters i and j are integers from 0 to 100 and j must be
greater than i.

The analysis may take some time. Use a status query command to
detect when the calculation is done.

SPAR ? i

The SPAR? i command queries the results of a statistical calculation. If
no analysis has been done, the SPAR? command returns invalid data.
The STAT command calculates the mean, standard deviation, total data,
and delta time (see the Math menu section of this manual). The parame-
ter i selects the parameter to read. The value of i from 0 to 3 selects
mean, standard deviation, total data, and delta time.

Advertising