Извените, но похоже движок сайта похерил кериличные буквы и схема не запускается. Вот еще раз мой код:
Add(StyleXP,13551004,7,7)
{
}
Add(Button,8744464,175,595)
{
Left=10
Top=30
Caption="Старт"
link(onClick,5326079:doEvent2,[])
}
Add(Button,1407151,175,532)
{
Left=10
Top=75
Caption="Стоп"
link(onClick,12558453:doEvent2,[(247,538)(247,503)])
}
Add(Label,10058244,56,7)
{
Left=10
Top=120
Width=88
Height=24
Font=[MS Sans Serif,12,0,0,1]
Caption="Данні ADC:"
}
Add(Label,1266011,574,546)
{
Left=105
Top=115
Width=54
Height=28
Font=[MS Sans Serif,14,0,0,1]
Caption=""
}
Add(DoData,5704331,385,658)
{
@Hint=#27:Сколько байт нужно получить|
Data=Integer(4)
link(onEventData,12204460:doRead,[(457,664)(457,587)])
AddHint(-258,72,166,13,@Hint)
}
Add(MMTimer,8829228,308,658)
{
@Hint=#19:Период опроса порта|
Interval=0
Enable=1
Point(doInterval)
link(onTimer,5704331:doData,[])
AddHint(-183,95,124,13,@Hint)
}
Add(Hub,5326079,392,588)
{
InCount=2
link(onEvent1,12204460:doOpen,[(452,594)(452,559)])
link(onEvent2,8829228:doTimer,[(427,601)(427,634)(289,634)(289,664)])
}
Add(TrackBar,7919592,189,686)
{
Left=10
Top=170
Width=175
Max=100
Min=1
Position=1
ThumbLength=18
link(onPosition,8829228:doInterval,[(282,692)(282,678)])
}
Add(Button,8696380,294,777)
{
Left=270
Top=10
Width=85
Height=60
Caption="Led 1 On"
Data=String(0x01)
link(onClick,12537156:doEvent1,[(365,783)(365,801)])
}
Add(Button,3745755,294,819)
{
Left=270
Top=90
Width=85
Height=60
Caption="Led 2 On"
Data=String(0x03)
link(onClick,12537156:doEvent3,[(365,825)(365,815)])
}
Add(Button,13037355,294,861)
{
Left=270
Top=170
Width=85
Height=60
Caption="Led 3 On"
Data=String(0x05)
link(onClick,12537156:doEvent5,[(365,867)(365,829)])
}
Add(Button,14158783,294,903)
{
Left=270
Top=250
Width=85
Height=60
Caption="Led 4 On"
Data=String(0x07)
link(onClick,12537156:doEvent7,[(365,909)(365,843)])
}
Add(Button,11322036,350,777)
{
Left=370
Top=10
Width=85
Height=60
Caption="Led 1 Off"
Data=String(0x02)
link(onClick,12537156:doEvent2,[(417,783)(417,808)])
}
Add(Button,10120673,350,819)
{
Left=370
Top=90
Width=85
Height=60
Caption="Led 2 Off"
Data=String(0x04)
link(onClick,12537156:doEvent4,[(417,825)(417,822)])
}
Add(Button,13684661,350,861)
{
Left=370
Top=170
Width=85
Height=60
Caption="Led 3 Off"
Data=String(0x06)
link(onClick,12537156:doEvent6,[(417,867)(417,836)])
}
Add(Button,8174238,350,903)
{
Left=370
Top=250
Width=85
Height=60
Caption="Led 4 Off"
Data=String(0x08)
link(onClick,12537156:doEvent8,[(417,909)(417,850)])
}
Add(Hub,12537156,452,795)
{
InCount=10
OutCount=1
link(onEvent1,12204460:doWrite,[(482,801)(482,580)])
}
Add(Button,12136344,294,952)
{
Left=15
Top=270
Width=150
Height=40
Caption="Вимкнути всі"
Data=String(0x02 0x04 0x06 0x08)
link(onClick,12537156:doEvent10,[(368,958)(368,864)])
}
Add(Button,1865940,353,952)
{
Left=15
Top=210
Width=150
Height=40
Caption=" Увімкнути всі"
Data=String(0x01 0x03 0x05 0x07)
link(onClick,12537156:doEvent9,[(417,958)(417,857)])
}
Add(MainForm,15688714,175,469)
{
Left=320
Top=240
Width=625
Height=504
Name="TerminalControl v.a0.01"
Caption="TerminalControl v.a0.01"
BorderStyle=1
TransparentColor=0
Point(onClose)
link(onCreate,9490446:doLoad,[])
link(onClose,12558453:doEvent1,[])
}
Add(COM,12204460,497,553)
{
BaudRate=115200
link(onRead,1266011:doText,[(551,566)(551,552)])
}
Add(GVarContainer,9490446,301,483)
{
Section="COM parameters"
FilleName="Settings.ini"
VarList=#3:COM|8:Baudrate|
link(onLoad,822286:doEvent1,[])
}
Add(GlobalVar,1261850,420,434)
{
Name="COM"
Data=Integer(2)
}
Add(GlobalVar,15426616,560,434)
{
Name="Baudrate"
Data=Integer(6)
}
Add(DoData,12003661,420,462)
{
link(Data,1261850:Var,[])
}
Add(DoData,15561038,560,462)
{
link(Data,15426616:Var,[])
}
Add(Hub,822286,350,483)
{
OutCount=3
link(onEvent1,12003661:doData,[(380,489)(380,468)])
link(onEvent2,15561038:doData,[(534,496)(534,468)])
link(onEvent3,5326079:doEvent1,[(378,503)(378,594)])
}
Add(Hub,12558453,252,490)
{
InCount=2
link(onEvent1,9490446:doSave,[])
link(onEvent2,12204460:doClose,[(285,503)(285,566)])
}
Add(Label,13937081,364,350)
{
Left=90
Top=10
Caption="COM"
}
Add(Label,14938648,658,329)
{
Left=90
Top=60
Caption="Baudrate"
}
Add(Menu,9593084,14,119)
{
Menu=#4:Файл|5:Опції|1
|8:COM порт|1
|4:COM0|4:COM1|4:COM2|4:COM3|4:COM4|1
|1:-|9:Швидкість|1
|4:9600|5:19200|5:38400|5:57600|6:115200|1
|1
|8:Допомога|
link(onSelectStr,847021:doEvent,[])
}
Add(Version,12619951,105,7)
{
Version="a0.01"
Description="TerminalControll"
InternalName="http://leon11t.p.ht/"
E-mail="malui2@yandex.ru"
}
Add(IndexToChanel,847021,91,119)
{
Count=16
link(onEvent4,7314507:doEvent1,[(183,146)(183,145)])
link(onEvent5,7314507:doEvent2,[(183,153)(183,152)])
link(onEvent6,7314507:doEvent3,[(183,160)(183,159)])
link(onEvent7,7314507:doEvent4,[(183,167)(183,166)])
link(onEvent11,1476534:doEvent1,[(143,195)(143,193)])
link(onEvent12,1476534:doEvent2,[(143,202)(143,200)])
link(onEvent13,1476534:doEvent3,[(143,209)(143,207)])
link(onEvent14,1476534:doEvent4,[(143,216)(143,214)])
link(onEvent15,1476534:doEvent5,[(143,223)(143,221)])
}
Add(Hub,7314507,186,139)
{
InCount=4
OutCount=1
}
Add(Hub,1476534,183,187)
{
InCount=5
OutCount=1
}
Add(Memory,16388672,588,154)
{
}
Add(Memory,11554356,588,210)
{
}
Выкладите пощалуйста еще раз вашу схему но в простом тексте без тегов.