Parsing scenario file

3 views
Skip to first unread message

José Carlos de Campos

unread,
Jul 25, 2011, 3:02:56 PM7/25/11
to dx-comp...@googlegroups.com
Hi,

When I try to load the "scenario_file"-test-3.scn I get always the same error, for example:
tcas-test-3.scn:4.61: syntax error, unexpected ',', expecting '}'
grep-test-3.scn:4.63: syntax error, unexpected ',', expecting '}' 
tot_info-test-3.scn:4.62: syntax error, unexpected ',', expecting '}' 
and so on...

---8< ---

Other thing, when I run my algorithm with grep scenario I get this message:
SL: WARNING: DA has not exited. Terminating.

Thanks in advance. ;-) 

Alberto Gonzalez

unread,
Jul 25, 2011, 4:47:11 PM7/25/11
to dx-comp...@googlegroups.com
Hi

yes, indeed there's an error in the 3-fault files. I will try to upload new fixed scenarios asap, but on the meanwhile, you can just fix the faultInjection line (I was trying to inject 3 faults at the same time) by 3 consecutive faultInjection lines that inject one of the faults each, so from something like:

faultInjection { s1, s2, s3 }

to

faultInjection { s1 }
faultInjection { s2 }
faultInjection { s3 }

sorry for the inconvenience

Alberto

2011/7/25 José Carlos de Campos <zecapi...@googlemail.com>



--

  Alberto González Sánchez
  Software Technology Department, EEMCS Faculty
  Delft University of Technology
  home:   www.st.ewi.tudelft.nl/~albgonz
Reply all
Reply to author
Forward
0 new messages