Function type

Variables 
read

SLONG r_NumGreenCycles(BYTE TsId, BYTE Cycles);

EN

VLWORT l_GruenproStd_ab(BYTE VSID, BYTE Zyklen);

DE

Description

Reads the number of green seconds (free) over completed cycles and converts them into green seconds per hour.

Version information

from version 6.2.5

Arguments

BYTE

TsId

ID number of the desired traffic stream.

BYTE

Cycles

Number of completed cycles.

Return value

SLONG

Error or seconds

-1

There is no evaluation for this traffic stream. 

-2

The number of specified cycles is too large ( > 14). 

-3

The number of specified cycles is too small ( = 0). 

-4

Not enough data available yet for a calculation.

> 0

Number of green seconds per hour (seconds).