<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="2068756644" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="step2-d">
</FileName>
<Modif date="04/11/2016" user="pfulcher" site="THESAU">
</Modif>
</IFile>
<ITool name="ime2" revision="7.5.0.1" exedate="30/03/2015">
</ITool>
</Header>
<precel>
<TreeInfo posc=3 posl=3 ident=43>
<Comment>Fonction permettant de récupérer une valeur associée à un mnémonique
</Comment>
<Comment>Entrée : TKN_IN_STRING / Buffer à parser
</Comment>
<Comment>Entrée : TKN_IN_MNEMO / Mnémonique recherché
</Comment>
<Comment>Sortie : TKN_OUT_VALUE / Valeur du mnémonique
</Comment>
</TreeInfo>
</precel>
<cel>
<Start posc=3 posl=2 destc=3 destl=7 ident=10>
<Comment>Telechargement I3I4 Step2-D
</Comment>
<Comment>$Rev: $
</Comment>
</Start>
<Act posc=3 posl=7 destc=3 destl=9 ident=12>
<MathAndLogic>
<EvalExpression>
<Expression value="%%$FILENAME$%%%%ADD%%%%LBT_DOWNLOAD_FILE_SWIL1%%%%ADD%%%%$%%">
</Expression>
<Destination>
<TextBuffer name="IN_OPEN_FILE">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="OPEN_FILE">
<TextBuffer name="IN_OPEN_FILE">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_OPEN_FILE">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=3 posl=9 destyesc=3 destyesl=11 destnoc=9 destnol=24 ident=13>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=3 posl=11 destyesc=3 destyesl=12 destnoc=7 destnol=11 ident=14>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_OPEN_FILE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<End posc=17 posl=11 ident=15>
</End>
<Act posc=3 posl=22 destc=3 destl=24 ident=21>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$BLOCK_NUMBER$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_BLOCK_NUMBER_TMP1">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_BLOCK_NUMBER_TMP2">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<EvalExpression>
<Expression value="%%LBT_IN_BLOCK_NUMBER_TMP1%%%%ADD%%%%LVF_V0%%%%ADD%%%%LBT_IN_BLOCK_NUMBER_TMP2%%">
</Expression>
<Destination>
<TextBuffer name="IN_BLOCK_NUMBER">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="GET_SEGMENT_NUMBER">
<TextBuffer name="IN_BLOCK_NUMBER">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_GET_SEGMENT_NUMBER">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=3 posl=24 destyesc=3 destyesl=26 destnoc=9 destnol=24 ident=22>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=3 posl=26 destyesc=3 destyesl=28 destnoc=9 destnol=24 ident=23>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_GET_SEGMENT_NUMBER">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=3 posl=36 destc=3 destl=38 ident=25>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="SEGMENT_NUMBER$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_SEGMENT_NUMBER_TMP1">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="$BLOCK_SEQUENCE_COUNTER_SUPPORTED$00$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_SEGMENT_NUMBER_TMP2">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="ENCRYPTION_USED_IN_ECU$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="PARAM_ENCRYPTION">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="$COMPRESSION_USED_IN_ECU$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="PARAM_COMPRESSION">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="DOLLAR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<EvalExpression>
<Expression value="%%LBT_IN_BLOCK_NUMBER%%%%ADD%%%%LBT_IN_SEGMENT_NUMBER_TMP1%%%%ADD%%%%LVF_V1%%%%ADD%%%%LBT_IN_SEGMENT_NUMBER_TMP2%%">
</Expression>
<Destination>
<TextBuffer name="IN_ULPCONV">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
<MathAndLogic>
<EvalExpression>
<Expression value="%%LBT_IN_ULPCONV%%%%ADD%%%%LBT_PARAM_ENCRYPTION%%%%ADD%%%%LBT_TELE_MMC_VAL_PARAM_ENCRYPTION_USED_IN_ECU%%%%ADD%%%%LBT_PARAM_COMPRESSION%%%%ADD%%%%LBT_TELE_MMC_VAL_PARAM_COMPRESSION_USED_IN_ECU%%%%ADD%%%%LBT_DOLLAR%%">
</Expression>
<Destination>
<TextBuffer name="IN_ULPCONV">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="ULPCONV">
<TextBuffer name="IN_ULPCONV">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_ULPCONV">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=3 posl=38 destyesc=3 destyesl=40 destnoc=9 destnol=24 ident=26>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=3 posl=46 destc=3 destl=50 ident=27>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$FILENAME$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_TELEINIT_TMP1">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_TELEINIT_TMP2">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<EvalExpression>
<Expression value="%%LBT_IN_TELEINIT_TMP1%%%%ADD%%%%LBT_IN_TELEINIT_TMP3%%%%ADD%%%%LBT_IN_TELEINIT_TMP2%%">
</Expression>
<Destination>
<TextBuffer name="IN_TELEINIT">
</TextBuffer>
</Destination>
</EvalExpression>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="TELE_INIT">
<TextBuffer name="IN_TELEINIT">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_TELEINIT">
</TextBuffer>
</Destination>
</ECUFunctionCall>
<ECUCommProgressNotifier Frequency="150">
</ECUCommProgressNotifier>
</ECUCommunication>
</Act>
<Test posc=3 posl=50 destyesc=3 destyesl=52 destnoc=9 destnol=24 ident=28>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=3 posl=52 destyesc=3 destyesl=54 destnoc=9 destnol=24 ident=29>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_TELEINIT">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=3 posl=63 destyesc=3 destyesl=36 destnoc=3 destnol=67 ident=31>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="DIFFERENT">
<Source>
<FloatVar name="V1">
</FloatVar>
</Source>
<Source>
<FloatVar name="V98">
</FloatVar>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=3 posl=67 destyesc=3 destyesl=68 destnoc=9 destnol=35 ident=33>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="DIFFERENT">
<Source>
<FloatVar name="V0">
</FloatVar>
</Source>
<Source>
<FloatVar name="V99">
</FloatVar>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=3 posl=12 destc=7 destl=12 ident=51>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUT_OPEN_FILE">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TKN_IN_STRING">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="NUMBER_OF_BLOCK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TKN_IN_MNEMO">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=7 posl=12 destc=7 destl=16 ident=52 FileName="script_tokenizer.s" IsCritical="NO">
<FilePath path="util">
</FilePath>
</SubTree>
<Act posc=3 posl=42 destc=7 destl=42 ident=61>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUT_ULPCONV">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TKN_IN_STRING">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="FILENAME">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TKN_IN_MNEMO">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=3 posl=40 destyesc=3 destyesl=42 destnoc=9 destnol=24 ident=62>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_ULPCONV">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<SubTree posc=7 posl=42 destc=7 destl=44 ident=63 FileName="script_tokenizer.s" IsCritical="NO">
<FilePath path="util">
</FilePath>
</SubTree>
<Act posc=7 posl=44 destc=3 destl=46 ident=64>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="TKN_OUT_VALUE">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="IN_TELEINIT_TMP3">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=3 posl=28 destc=7 destl=28 ident=68>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUT_GET_SEGMENT_NUMBER">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TKN_IN_STRING">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="NUMBER_OF_SEGMENT">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TKN_IN_MNEMO">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=7 posl=28 destc=7 destl=32 ident=69 FileName="script_tokenizer.s" IsCritical="NO">
<FilePath path="util">
</FilePath>
</SubTree>
<Act posc=3 posl=54 destc=3 destl=56 ident=76>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$SERVICE$RTE$SERVICEUNIT$$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_ACQUITTEMENT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<ECUCommunication>
<ECUFunctionCall name="APPGEN">
<TextBuffer name="IN_ACQUITTEMENT">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_ACQUITTEMENT">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=3 posl=56 destyesc=3 destyesl=58 destnoc=9 destnol=24 ident=77>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<StandardValue name="SUCCESS">
</StandardValue>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=3 posl=58 destyesc=3 destyesl=60 destnoc=9 destnol=24 ident=78>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_TELEINIT">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=9 posl=24 destc=11 destl=24 ident=80>
<MathAndLogic>
<Assignment>
<Source>
<StandardValue name="FALSE">
</StandardValue>
</Source>
<Destination>
<TextBuffer name="TELE_I3I4_FULLPROCEDURE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=9 posl=35 destc=13 destl=35 ident=81>
<MathAndLogic>
<Assignment>
<Source>
<StandardValue name="TRUE">
</StandardValue>
</Source>
<Destination>
<TextBuffer name="TELE_I3I4_FULLPROCEDURE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=7 posl=11 destc=9 destl=24 ident=82>
<Comment>Aquittement négatif Serav
</Comment>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="UPDATE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_CURRENT_ACTION_NAME">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="CH103">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ACK_CODE">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="E">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TELEXX_ACK_LEVEL">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=7 posl=16 destc=3 destl=17 ident=83>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="TKN_OUT_VALUE">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="OUT_BLOCK_NUMBER">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Conversion>
<TextToFloat InputFormat="DecimalCodedASCII">
<TextBuffer name="OUT_BLOCK_NUMBER">
</TextBuffer>
<FloatVariable>
<FloatVar name="V99">
</FloatVar>
</FloatVariable>
</TextToFloat>
</Conversion>
</MathAndLogic>
<MathAndLogic>
<Subtraction>
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V99">
</FloatVar>
</Destination>
</Subtraction>
</MathAndLogic>
</Act>
<Act posc=3 posl=17 destc=3 destl=22 ident=84>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V0">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=3 posl=60 destc=3 destl=63 ident=89>
<MathAndLogic>
<Addition>
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V1">
</FloatVar>
</Destination>
</Addition>
</MathAndLogic>
</Act>
<Act posc=3 posl=68 destc=3 destl=22 ident=92>
<MathAndLogic>
<Addition>
<Source>
<FloatNumber>1
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V0">
</FloatVar>
</Destination>
</Addition>
</MathAndLogic>
</Act>
<Act posc=13 posl=35 destc=17 destl=11 ident=93>
<ECUCommunication>
<ECUFunctionCall name="CLOSE_FILE">
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Act posc=7 posl=32 destc=3 destl=33 ident=94>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="TKN_OUT_VALUE">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="OUT_SEGMENT_NUMBER">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Conversion>
<TextToFloat InputFormat="DecimalCodedASCII">
<TextBuffer name="OUT_SEGMENT_NUMBER">
</TextBuffer>
<FloatVariable>
<FloatVar name="V98">
</FloatVar>
</FloatVariable>
</TextToFloat>
</Conversion>
</MathAndLogic>
<MathAndLogic>
<Subtraction>
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V98">
</FloatVar>
</Destination>
</Subtraction>
</MathAndLogic>
</Act>
<Act posc=3 posl=33 destc=3 destl=36 ident=95>
<MathAndLogic>
<Assignment>
<Source>
<FloatNumber>0
</FloatNumber>
</Source>
<Destination>
<FloatVar name="V1">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=11 posl=24 destc=17 destl=11 ident=96>
<TeleXX>
<MacroComOp type="Ending">
</MacroComOp>
</TeleXX>
</Act>
</cel>
</Tree>
