Add(MainForm,6176200,119,126) { Width=209 Height=172 } Add(LED,13941439,448,119) { Left=125 Top=15 } Add(LED,13180870,448,175) { Left=90 Top=15 } Add(LED,9282364,448,231) { Left=55 Top=15 } Add(LED,10764344,448,287) { Left=20 Top=15 } Add(IntToBits,8091058,322,126) { Count=4 Data_0=Integer(0) Data_1=Integer(1) link(onBit1,3296970:doEvent,[]) link(onBit2,3318743:doEvent,[(384,139)(384,188)]) link(onBit3,10640686:doEvent,[(374,146)(374,244)]) link(onBit4,14785605:doEvent,[(366,153)(366,300)]) } Add(TrackBar,12958410,175,126) { Left=15 Top=65 Width=170 Max=15 link(onPosition,8816731:doEvent1,[]) } Add(Label,2369031,322,217) { Left=25 Top=110 } Add(Convertor,14460687,273,217) { Mode=8 Digits=4 link(onResult,2369031:doText,[]) } Add(Hub,8816731,238,126) { OutCount=3 link(onEvent1,8091058:doBits,[]) link(onEvent2,2407153:doText,[(276,139)(276,181)]) link(onEvent3,14460687:doConvert,[(262,146)(262,223)]) } Add(Label,2407153,322,175) { Left=110 Top=105 } Add(IndexToChanel,3296970,399,126) { link(onEvent1,13941439:doOff,[]) link(onEvent2,13941439:doOn,[]) } Add(IndexToChanel,3318743,399,182) { link(onEvent1,13180870:doOff,[]) link(onEvent2,13180870:doOn,[]) } Add(IndexToChanel,10640686,399,238) { link(onEvent1,9282364:doOff,[]) link(onEvent2,9282364:doOn,[]) } Add(IndexToChanel,14785605,399,294) { link(onEvent1,10764344:doOff,[]) link(onEvent2,10764344:doOn,[]) }