Add(MainForm,11062187,182,189) { Width=270 } Add(Timer,13973712,182,259) { link(onTimer,9174685:doRead,[]) } Add(GetDataEx,11222285,252,224) { link(Data,15506695:Array,[]) } Add(Math,7673138,301,259) { OpType=1 Op2=1 ResultType=0 link(onResult,8311424:doCase,[]) } Add(ArrayRW,2893038,420,252) { link(Array,11222285:Var3,[(426,229)]) link(Index,16227833:Var2,[(433,248)(440,248)]) } Add(IndexToChanel,7969369,476,308) { Count=3 Point(Index) link(onEvent1,3081780:doChangeValue,[(530,314)(530,286)]) link(onEvent2,4214279:doChangeValue,[]) link(onEvent3,4164010:doChangeValue,[(527,328)(527,356)]) link(Index,16227833:Var3,[(482,239)]) } Add(LED,3081780,546,280) { Left=70 Top=10 } Add(LED,4214279,546,315) { Left=110 Top=10 } Add(Case,8311424,350,259) { Value=Integer(0) link(onNextCase,2893038:doWrite,[]) link(onTrue,1304409:doEvent1,[(401,272)(401,314)]) } Add(Hub,1304409,420,308) { link(onEvent1,7969369:doEvent,[]) link(onEvent2,3780961:doNext,[(461,321)(461,164)(288,164)(288,188)]) } Add(LED,4164010,546,350) { Left=150 Top=10 } Add(Counter,3780961,301,182) { Max=1000 } Add(ArrayRW,9174685,252,259) { link(onRead,7673138:doOperation,[]) link(Array,11222285:Var2,[]) link(Index,11049009:Var1,[(265,239)]) } Add(GetDataEx,11049009,301,234) { link(Data,3780961:Count,[]) } Add(ListBox,15506695,238,168) { Left=30 Top=65 Width=160 Height=145 Strings=#2:10|2:20|2:10| } Add(GetDataEx,16227833,434,234) { Angle=3 link(Data,11049009:Var3,[]) }