question

yongkai liao avatar image
1 Like"
yongkai liao asked yongkai liao commented

TrafficControl coding problem

I want to achieve collision preventation in crossroad by TrafficControl on NetworkNode. I have completed a simple .It can achieve what i want but it also with System Console problems. I want know how why. thanks a lot.

FlexSim 16.0.9
trafficcontrol
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Raja Sekaran avatar image
3 Likes"
Raja Sekaran answered yongkai liao commented

Hi @yongkai liao ,

You have used the conditional value in the Variable update section in For Loop.

I have reattached your model with some changes in OnMessage trigger of both traffic controls. trafficcontrol-crossroadv16-1.fsm.

Thanks.


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

yongkai liao avatar image yongkai liao commented ·

Thank you so muck. I see .After the first of queue goes, the second of queue become the first.

1 Like 1 ·