Function type variables read |
WORD r_DetWait(WORD DetId, UBYTE Train); |
EN |
|
WORT l_DetektorWartezeit(WORT DetID, BYTE Zug); |
DE |
||
Description |
Reads the waiting time of the detector. |
||
Version information |
from version 6.1.3 to 8.0.1 and from version 9.1 |
||
Arguments |
|||
WORD |
DetId |
ID number of the desired detector. |
|
UBYTE |
Train |
For public transport detectors or message points, you can specify for which of the registered trains the waiting time is required. The variable "train" corresponds to the order of the registered trains, 1 for the first train. For the other non-public transport detector traffic stream types, the train must always be specified as 0. |
|
Return value |
|||
WORT |
Detector waiting time in 1/10 seconds. |
As this function does not work correctly in vs | plus versions 8.1.0 and 9.0, it should not be used. The error has been fixed in vs | plus version 9.1. |