
10-32
2000-OSM, F1
START ANALYSIS Command
Description:
Starts an analysis cycle.
Syntax
START
STOP ANALYSIS Command
Description:
Stops the analyzer from performing further analyses.
Syntax:
STOP(n%)
Comments:
n%
If n = 0, analysis stops immediately; otherwise it stops at the end of the
analysis.
Example:
0010 IF FLAME_OUT_ALARM THEN STOP(0)
If the detector flame is extinguished, the analyzer immediately stops the
current
analysis.
STREAM NAME Function
Description:
Returns the name of the associated stream.
Syntax:
STR_NAME$(stream%)
Comments:
stream%
is the stream number (1-32).
Example:
0010 A$ = STR_NAME$(2)
STREAM STATUS Function
Description:
Returns the active/inactive status of the stream.
Syntax:
STATUS(stream%)
Comments:
0 = Inactive
1 = Active
Example:
0010 IF STATUS(5) = 0 THEN
0020 :LPRINT “STREAM 5 INACTIVE”
Prints the message if stream 5 is inactive.
SUBSTRING Function
Description:
Returns a sub-string of a string.
Syntax:
MID$(string$,position%,length%)
Comments:
string$
is any string expression.
position%
is the starting point in the string (1-255).
length%
is the number of characters (0-255) to be copied from the string,
from the starting point.
Example:
0010 A$ = MID$("ABCDEFGHIJKLMNOP
0020
:QR",8,2)
The string variable A$ gets the string “HI”.
TCF ERROR ALARM Function
Description
Returns the state of GCC Time Coded Function Error Alarms.
Syntax:
TCF_ERROR_ALARM
Example:
0010 IF TCF_ERROR_ALARM GOTO 100
TEMPERATURE UNITS Function
Description:
Returns units of temperature for the analyzer as specified in the Sim Dis
Setup Screen (Sim Dis analyzers only).
Syntax:
T_UNITS