2000-OSM, F1 10-9
Example: 0010 IF CUR_STRM = 2 GOTO 100
Note: use PREV_STRM for the stream that has just been analyzed.
CYCLE TIME Function
Description: Returns the Cycle Time for the specified method table.
Syntax: CYCLE_TIME(method%)
Comments: method% is the method table (1-8).
Example: 0010 A% = CYCLE_TIME(1)
Gets the cycle time from analysis method one and assigns it to integer
variable A%.
DEACTIVATE STREAM Command
Description: Removes a stream from the sequence of streams analyzed.
Syntax: DEACT(stream%)
Comments: stream% is the stream to be deactivated (from 1 to the maximum number of
streams).
Example: 0010 DEACT(2)
Stream two is deactivated.
DELETE ALL GATE TCFS Command
Description: Deletes all Forced Gate Time Coded Functions (TCFs) from a method table
(Sim Dis analyzers only).
Syntax: DELETE_ALL_GATE_TCFS (method%)
Comments: method% is the method table (1-8).
Example: 0010 N = DELETE_ALL_GATE_TCFS(1)
0020 FOR I = 1 TO N
0030 IF I/2*2 = I THEN
0040 :X = ADD_TCF(1,100+I*10,
0050 :“FORCED GATE”,“ON @ BASE”)
0060 :ELSE X = ADD_TCF(1,100+I*10,
0070 :“FORCED GATE”,“OFF @ BASE”)
0080 NEXT I
All Gate TCFs are deleted from method table 1; then a Gate TCF is added
for each one deleted.
Note: In the example, N represents one of the following numbers that
indicates if the function was successful, or why it was unsuccessful:
-1 means method% is not in the range 1-8.
-2 means the method table does not exist.
>0 is the number of TCFs deleted from the method table.
DELETE ALL TCFS OF A TYPE Command
Description: Deletes all Time Coded Functions (TCFs) of the type specified from a
method table (Sim Dis analyzers only).
Syntax: DELETE_ALL_TCFS(method%, function$)
Comments: method% is the method table (1-8).
function$ is the TCF to be deleted from the method table.
Example: 0010 N = DELETE_ALL_TCFS(1,
0020 :“FORCED GATE”)
0030 LPRINT N
All Forced Gate TCFs are deleted from method table 1; then the number of
deleted TCFs is printed.