Function type

Variables 
write

VOID w_TsSetState(UBYTE TsId, UBYTE State);

EN

LEER m_SetzeZustVS(BYTE VSID, BYTE Zust);

DE

Description

Sets the state of the traffic stream.

Version information

from version 6.1.3

Arguments

UBYTE

TsId

ID number of the desired traffic stream.

State

New state to be set. The following values can be transferred:

0

inactive

TS inactive

1

IT_1

TS is registered in intervention type 1

2

IT_2

TS is registered in intervention type 2

3

IT_3

TS is registered in intervention type 3

4

IT_4

TS is registered in intervention type 4

101

IT_1_and_trans

TS is registered in intervention type 1 and transition

102

IT_2_and_trans

TS is registered in intervention type 2 and transition

103

IT_3_and_trans

TS is registered in intervention type 3 and transition

104

IT_4_and_trans

TS is registered in intervention type 4 and transition

8

GIssue

Issue green command 

9

GGiven

Green order given

10

GMin1

Green time < minimum green time 1

11

GMin2

Green time < minimum green time 2 

12

GMax1

Green time < maximum green time 1

13

GMax2

Green time < maximum green time 2 

14

GWithTraffic

Green time > GMax2 with traffic

15

GWithReset

Green without traffic: reset to 11-14 possible

16

GWithoutReset

Green without traffic: cannot be reset 

19

RSpecial

Issue red command from leading or laging position

20

RIssue

Issue red order

21

RGiven

Red order given

Return value

None