
2000-OSM, F1
10-21
Example:
0010 LPRINT USING %3I;0,-1,10,100
will print “0 -1 10 100”
Note: With USING, all data items contained in the LPRINT statement must
be of the same data type and agree in type with the format
specification.
MAXIMUM SIM DIS PEAK HEIGHT Command
Description:
Returns the maximum Sim Dis peak height (Sim Dis analyzers only).
Syntax:
SD_PEAK_HEIGHT
Example:
0010 HEIGHT! = SD_PEAK_HEIGHT
Returns the maximum height found during the Sim Dis analysis.
NATURAL LOGARITHM Function
Description:
Returns natural Logarithm (to the base e) of floating point expression.
Syntax:
LN(fp!)
Comments:
fp!
is a floating point expression.
Example:
0010 A! = LN(2.71828)
The natural logarithm (logarithm to the base e) of 2.71828 is assigned to
floating
point
variable
A!.
NUMBER OF COMPONENTS Function
Description:
Returns the number of components in a method.
Syntax:
N_COMP(method%)
Comments:
method%
is the method table (1-8).
Example:
0010 FOR I = 1 TO N_COMP(1)
0020 LPRINT COMP_NAME$(1,I)
0030 NEXT I
For every component in analysis method one (statement 10), the component
name is printed (statement 20).
NUMBER OF PEAKS Function
Description:
Returns the number of peaks detected in an analysis.
Syntax:
N_PEAKS
Example:
0010 FOR I = 1 TO N_PEAKS
0020 IF PK_COMP_NUM(I) <> 0 THEN,
0030 :LPRINT GET_CC(1,PK_COMP_NUM(I))
0040 NEXT I
Prints the component concentration for the component that matches each
peak
detected.
OFFLINE ALARM Function
Description:
Returns the state of GCC Offline Alarms.
Syntax:
OFFLINE_ALARM
Example:
0010 IF OFFLINE_ALARM THEN LPRINT
0020
:”ALARM”
OPERATOR MESSAGE ALARM Function
Description:
Returns the state of GCC Operator Message Alarm.
Syntax:
OP_MSG_ALARM