Function type

Variables 
read

vsplib.GetGreenTimeDurationUntilNowInSecondsPerHour

SLONG r_DurGreenUntilCurrCycle(BYTE TsId, BYTE Cycles);

Description

Total duration of the completed cycles plus the current cycle (for green time).

The function returns the total duration of the cycles that are used for the function for calculating the number of vehicles in (4).

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 duration in seconds (See previous table for the values)