mirror of
https://github.com/brmlab/ratbox.git
synced 2025-06-07 17:34:07 +02:00
665 lines
13 KiB
Text
665 lines
13 KiB
Text
# Gambas Form File 2.0
|
|
|
|
{ Form Form
|
|
Move(0,0,1246,770)
|
|
#(Scaled) = False
|
|
Text = ("")
|
|
Border = Window.None
|
|
FullScreen = True
|
|
{ BtnKonec Button
|
|
Move(1162,7,70,21)
|
|
Text = ("KONEC")
|
|
}
|
|
{ TxtSysTime TextBox
|
|
Move(1015,7,140,21)
|
|
Text = ("")
|
|
Alignment = Align.Center
|
|
}
|
|
{ TimerSystime #Timer
|
|
#X = 448
|
|
#Y = 252
|
|
Enabled = True
|
|
Delay = 250
|
|
}
|
|
{ TxtSysLog TextArea
|
|
Move(14,49,679,112)
|
|
Text = ("")
|
|
ReadOnly = True
|
|
Wrap = True
|
|
ScrollBar = Scroll.Vertical
|
|
}
|
|
{ TxtWDT TextBox
|
|
Move(959,7,49,21)
|
|
Enabled = False
|
|
Text = ("WDT")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPre Label
|
|
Move(35,182,77,35)
|
|
ToolTip = ("Otevreni dvirek")
|
|
Text = ("OTEVRENI\nDVERI")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPre2 Label
|
|
Move(196,175,63,63)
|
|
ToolTip = ("Ceka se az potkan zacumakuje")
|
|
Text = ("CEKANI\nAKCE\nPOTKAN")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm2 Label
|
|
Move(266,196,70,14)
|
|
Text = ("------------>")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPre3 Label
|
|
Move(343,175,84,63)
|
|
ToolTip = ("Pitko se nastavi do pozice zacumakovani")
|
|
Text = ("NASTAVENI\nPITKA")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm3 Label
|
|
Move(595,252,28,63)
|
|
Text = (" |\n |\n |\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ TxtPreCasPiti TextBox
|
|
Move(574,189,70,28)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label1 Label
|
|
Move(511,189,56,28)
|
|
Text = ("Cas piti")
|
|
}
|
|
{ Label2 Label
|
|
Move(658,189,28,28)
|
|
Text = ("sec")
|
|
}
|
|
{ LabelPreFrm5 Label
|
|
Move(427,322,189,14)
|
|
Text = ("<-----------------------------------------\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm1 Label
|
|
Move(119,196,70,14)
|
|
Text = ("------------>")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm7 Label
|
|
Move(434,196,70,14)
|
|
Text = ("------------>")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPre5 Label
|
|
Move(357,315,63,35)
|
|
ToolTip = ("Nastaveni pitek do vychozich pozic")
|
|
Text = ("RESET")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm6 Label
|
|
Move(63,224,28,42)
|
|
Text = ("|\n|\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ChkPreNeopakovat CheckBox
|
|
Move(168,238,119,28)
|
|
ToolTip = ("Zakaze opakovani stejnych pitek 2x po sobe")
|
|
Text = ("NEOPAKOVAT")
|
|
}
|
|
{ BtnPreStart Button
|
|
Move(910,315,70,21)
|
|
Text = ("START")
|
|
}
|
|
{ BtnPreStop Button
|
|
Move(994,315,70,21)
|
|
Text = ("STOP")
|
|
}
|
|
{ BtnSZ1 Button
|
|
Move(812,154,28,21)
|
|
ToolTip = ("Simuluje zacumakovani potkana")
|
|
Text = ("S1")
|
|
}
|
|
{ BtnSZ2 Button
|
|
Move(812,182,28,21)
|
|
ToolTip = ("Simuluje zacumakovani potkana")
|
|
Text = ("S2")
|
|
}
|
|
{ BtnSZ3 Button
|
|
Move(812,210,28,21)
|
|
ToolTip = ("Simuluje zacumakovani potkana")
|
|
Text = ("S3")
|
|
}
|
|
{ BtnSZ4 Button
|
|
Move(847,154,28,21)
|
|
ToolTip = ("Simuluje zacumakovani potkana")
|
|
Text = ("S4")
|
|
}
|
|
{ BtnSZ5 Button
|
|
Move(847,182,28,21)
|
|
ToolTip = ("Simuluje zacumakovani potkana")
|
|
Text = ("S5")
|
|
}
|
|
{ BtnSZ6 Button
|
|
Move(847,210,28,21)
|
|
ToolTip = ("Simuluje zacumakovani potkana")
|
|
Text = ("S6")
|
|
}
|
|
{ TxtPocetCiklu TextBox
|
|
Move(714,287,84,21)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label5 Label
|
|
Move(714,245,84,21)
|
|
Text = ("Pocet cyklu:")
|
|
Alignment = Align.Center
|
|
}
|
|
{ TxtInfoCasovac TextBox
|
|
Move(385,7,70,21)
|
|
Text = ("0")
|
|
Alignment = Align.Center
|
|
ReadOnly = True
|
|
}
|
|
{ Label6 Label
|
|
Move(315,7,63,21)
|
|
Text = ("Casovac")
|
|
Alignment = Align.Center
|
|
}
|
|
{ TxtPrePauza TextBox
|
|
Move(35,301,84,21)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ChkPrePauza CheckBox
|
|
Move(35,273,105,21)
|
|
ToolTip = ("Zapne pauzu mezi visualni stimulaci\na experimentem.\nZa jakou dobu se zacne smicka\nod zobrazeni stimulacniho obrazce")
|
|
Text = ("Pauza:")
|
|
}
|
|
{ Label7 Label
|
|
Move(126,301,28,21)
|
|
Text = ("sec")
|
|
}
|
|
{ ExperimentPicture PictureBox
|
|
Move(14,434,161,126)
|
|
Background = &H0000FF&
|
|
Stretch = True
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExperimentTxtTime0 TextBox
|
|
Move(224,448,84,21)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label8 Label
|
|
Move(182,441,35,28)
|
|
Text = ("--->")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ChkZhasniStimul CheckBox
|
|
Move(357,434,70,42)
|
|
Text = ("Vypni\nstimul")
|
|
}
|
|
{ Label9 Label
|
|
Move(315,448,35,14)
|
|
Text = ("--->")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExperimentTxtTime1 TextBox
|
|
Move(476,448,84,21)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label10 Label
|
|
Move(434,441,28,28)
|
|
Text = ("--->")
|
|
}
|
|
{ ChkVypStimulPauza CheckBox
|
|
Move(469,427,98,14)
|
|
Text = ("ZAPNUTO")
|
|
}
|
|
{ Label12 Label
|
|
Move(210,483,112,56)
|
|
Text = ("CAS\nZOBRAZENI\nSTIMULU")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label13 Label
|
|
Move(476,483,84,56)
|
|
Text = ("CAS\nBEZ\nSTIMULU")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPre6 Label
|
|
Move(609,441,77,35)
|
|
ToolTip = ("Otevreni dvirek")
|
|
Text = ("OTEVRENI\nDVERI")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label11 Label
|
|
Move(574,448,28,28)
|
|
Text = ("--->")
|
|
}
|
|
{ TxtTimeout TextBox
|
|
Move(819,287,77,21)
|
|
Text = ("30")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label14 Label
|
|
Move(805,245,98,21)
|
|
Text = ("Cas na reakci:")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPre7 Label
|
|
Move(742,427,63,63)
|
|
ToolTip = ("Ceka se az potkan zacumakuje")
|
|
Text = ("CEKANI\nAKCE\nPOTKAN")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label15 Label
|
|
Move(700,448,28,28)
|
|
Text = ("--->")
|
|
}
|
|
{ Label16 Label
|
|
Move(819,448,196,21)
|
|
Text = ("-----------------------------------------------")
|
|
}
|
|
{ LabelPreFrm11 Label
|
|
Move(994,469,28,21)
|
|
Text = (" |\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm12 Label
|
|
Move(875,469,28,21)
|
|
Text = (" |\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm13 Label
|
|
Move(938,469,28,21)
|
|
Text = (" |\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label17 Label
|
|
Move(868,497,42,21)
|
|
Text = ("OK")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label18 Label
|
|
Move(938,497,35,21)
|
|
Text = ("KO")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label19 Label
|
|
Move(973,497,70,21)
|
|
Text = ("TIMEOUT")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label20 Label
|
|
Move(609,651,70,21)
|
|
Text = ("RESET")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm14 Label
|
|
Move(994,525,28,140)
|
|
Text = ("|\n|\n|\n|\n|\n|\n|\n|\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label21 Label
|
|
Move(679,651,329,14)
|
|
Text = ("--------------------------------------------------------------------------------")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm15 Label
|
|
Move(945,518,28,140)
|
|
Text = ("|\n|\n|\n|\n|\n|\n|")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label22 Label
|
|
Move(91,651,511,21)
|
|
Text = ("-----------------------------------------------------------------------------------------------------------------------------")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExperimentTxtTime2 TextBox
|
|
Move(49,602,98,21)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm16 Label
|
|
Move(98,644,14,21)
|
|
Text = (" |\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPre8 Label
|
|
Move(847,553,84,35)
|
|
ToolTip = ("Pitko se nastavi do pozice zacumakovani")
|
|
Text = ("NASTAVENI\nPITKA")
|
|
Alignment = Align.Center
|
|
}
|
|
{ LabelPreFrm17 Label
|
|
Move(875,525,28,21)
|
|
Text = (" |\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExperimentTxtTime3 TextBox
|
|
Move(840,595,91,21)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label23 Label
|
|
Move(112,371,35,35)
|
|
Font = Font["Bold"]
|
|
Text = ("0")
|
|
Alignment = Align.Center
|
|
}
|
|
{ TmrCasovac #Timer
|
|
#X = 399
|
|
#Y = 252
|
|
}
|
|
{ TxtInfoTimeout TextBox
|
|
Move(532,7,70,21)
|
|
Text = ("0")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label24 Label
|
|
Move(469,7,56,21)
|
|
Text = ("Timeout")
|
|
}
|
|
{ TxtCommPort TextBox
|
|
Move(14,7,140,21)
|
|
Text = ("/dev/ttyUSB0")
|
|
}
|
|
{ BtnPripoj Button
|
|
Move(161,7,147,21)
|
|
Text = ("Pripoj / Odpoj")
|
|
}
|
|
{ SerialPort1 #SerialPort
|
|
#X = 350
|
|
#Y = 252
|
|
}
|
|
{ Separator1 Separator
|
|
Move(14,35,1218,7)
|
|
Foreground = &H000000&
|
|
}
|
|
{ Separator2 Separator
|
|
Move(7,357,1218,21)
|
|
}
|
|
{ Separator3 Separator
|
|
Move(700,49,7,301)
|
|
}
|
|
{ CheckBox2 CheckBox
|
|
Move(770,7,21,21)
|
|
Text = ("CheckBox2")
|
|
}
|
|
{ CheckBox3 CheckBox
|
|
Move(798,7,21,21)
|
|
Text = ("CheckBox3")
|
|
}
|
|
{ CheckBox4 CheckBox
|
|
Move(826,7,21,21)
|
|
Text = ("CheckBox4")
|
|
}
|
|
{ CheckBox5 CheckBox
|
|
Move(854,7,21,21)
|
|
Text = ("CheckBox5")
|
|
}
|
|
{ CheckBox6 CheckBox
|
|
Move(882,7,21,21)
|
|
Text = ("CheckBox6")
|
|
}
|
|
{ CheckBox7 CheckBox
|
|
Move(910,7,21,21)
|
|
Text = ("CheckBox7")
|
|
}
|
|
{ Label25 Label
|
|
Move(161,588,105,56)
|
|
Text = ("PAUZA\nMEZI\nZOBRAZENIMI")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label26 Label
|
|
Move(1057,441,35,35)
|
|
Text = ("1")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label27 Label
|
|
Move(1057,483,35,35)
|
|
Text = ("2")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label28 Label
|
|
Move(1057,525,35,35)
|
|
Text = ("3")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label29 Label
|
|
Move(1057,567,35,35)
|
|
Text = ("4")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label30 Label
|
|
Move(1057,609,35,35)
|
|
Text = ("5")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label31 Label
|
|
Move(1057,651,35,35)
|
|
Text = ("6")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExpTxtS1Time TextBox
|
|
Move(1099,441,70,28)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExpTxtS2Time TextBox
|
|
Move(1099,483,70,28)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExpTxtS3Time TextBox
|
|
Move(1099,525,70,28)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExpTxtS4Time TextBox
|
|
Move(1099,567,70,28)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExpTxtS5Time TextBox
|
|
Move(1099,609,70,28)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExpTxtS6Time TextBox
|
|
Move(1099,651,70,28)
|
|
Text = ("10")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ExpChkSTime CheckBox
|
|
Move(1176,441,56,28)
|
|
Text = ("ZAP")
|
|
Value = CheckBox.True
|
|
}
|
|
{ ExpChkEnableTiming CheckBox
|
|
Move(1064,406,154,28)
|
|
Text = ("Zapnout Casovani")
|
|
}
|
|
{ ExpChkSTime2 CheckBox
|
|
Move(1176,483,56,28)
|
|
Text = ("ZAP")
|
|
Value = CheckBox.True
|
|
}
|
|
{ ExpChkSTime3 CheckBox
|
|
Move(1176,525,56,28)
|
|
Text = ("ZAP")
|
|
Value = CheckBox.True
|
|
}
|
|
{ ExpChkSTime4 CheckBox
|
|
Move(1176,567,56,28)
|
|
Text = ("ZAP")
|
|
Value = CheckBox.True
|
|
}
|
|
{ ExpChkSTime5 CheckBox
|
|
Move(1176,609,56,28)
|
|
Text = ("ZAP")
|
|
Value = CheckBox.True
|
|
}
|
|
{ ExpChkSTime6 CheckBox
|
|
Move(1176,651,56,28)
|
|
Text = ("ZAP")
|
|
Value = CheckBox.True
|
|
}
|
|
{ ChkExpNahoda CheckBox
|
|
Move(14,406,98,21)
|
|
Text = ("NAHODA")
|
|
}
|
|
{ ChkExpNeopakovat CheckBox
|
|
Move(119,406,119,21)
|
|
Text = ("NEOPAKOVAT")
|
|
}
|
|
{ BtnOpenDor Button
|
|
Move(714,98,35,21)
|
|
Text = ("OD")
|
|
}
|
|
{ BtnCloseDor Button
|
|
Move(763,98,35,21)
|
|
Text = ("CD")
|
|
}
|
|
{ BtnReset Button
|
|
Move(714,210,84,21)
|
|
Text = ("RESET")
|
|
}
|
|
{ BtnPitS Button
|
|
Move(714,126,35,21)
|
|
Text = ("S1")
|
|
}
|
|
{ BtnPitS2 Button
|
|
Move(714,154,35,21)
|
|
Text = ("S2")
|
|
}
|
|
{ BtnPitS3 Button
|
|
Move(714,182,35,21)
|
|
Text = ("S3")
|
|
}
|
|
{ BtnPitS4 Button
|
|
Move(763,126,35,21)
|
|
Text = ("S4")
|
|
}
|
|
{ BtnPitS5 Button
|
|
Move(763,154,35,21)
|
|
Text = ("S5")
|
|
}
|
|
{ BtnPitS6 Button
|
|
Move(763,182,35,21)
|
|
Text = ("S6")
|
|
}
|
|
{ Label32 Label
|
|
Move(728,49,140,42)
|
|
Text = ("Manu\xC3\xA1ln\xC3\xAD ovl\xC3\xA1d\xC3\xA1n\xC3\xAD\naparatury")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Separator4 Separator
|
|
Move(707,238,189,7)
|
|
}
|
|
{ BtnExpFull Button
|
|
Move(252,385,315,28)
|
|
Text = ("FULLSCREEN")
|
|
}
|
|
{ LabelPreFrm4 Label
|
|
Move(154,322,189,14)
|
|
Text = ("<-----------------------------------------\n")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Separator5 Separator
|
|
Move(805,98,7,140)
|
|
}
|
|
{ Label3 Label
|
|
Move(812,98,70,14)
|
|
Text = ("SIMULACE")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label4 Label
|
|
Move(812,112,70,14)
|
|
Text = ("AKCE")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label35 Label
|
|
Move(812,126,70,21)
|
|
Text = ("POTKANA")
|
|
Alignment = Align.Center
|
|
}
|
|
{ ChkTimeout CheckBox
|
|
Move(812,266,91,14)
|
|
Text = ("ZAPNUTO")
|
|
Value = CheckBox.True
|
|
}
|
|
{ TxtInfoCyklus TextBox
|
|
Move(672,7,70,21)
|
|
Text = ("0")
|
|
Alignment = Align.Center
|
|
}
|
|
{ Label33 Label
|
|
Move(609,7,56,21)
|
|
Text = ("Cyklus")
|
|
Alignment = Align.Center
|
|
}
|
|
{ BtnMod Button
|
|
Move(910,287,154,21)
|
|
Text = ("PreLearning")
|
|
}
|
|
{ BtnKonfUloz Button
|
|
Move(896,105,175,21)
|
|
Text = ("ULOZ PARAMETRY")
|
|
}
|
|
{ TxtKonfigNazev TextBox
|
|
Move(896,77,175,21)
|
|
Text = ("")
|
|
}
|
|
{ Label34 Label
|
|
Move(896,49,175,21)
|
|
Text = ("N\xC3\xA1zev konfigurace:")
|
|
Alignment = Align.Center
|
|
}
|
|
{ BtnNahrajKonfiguraci Button
|
|
Move(896,133,175,21)
|
|
Text = ("NAHRAJ PARAMETRY")
|
|
}
|
|
{ BtnNastav Button
|
|
Move(714,315,182,21)
|
|
Text = ("UPLATNI PARAMETRY")
|
|
}
|
|
{ TxtPotkanID TextBox
|
|
Move(819,385,189,21)
|
|
Text = ("PotkanID")
|
|
}
|
|
{ TxtExperimentID TextBox
|
|
Move(819,413,189,21)
|
|
Text = ("ExperimentID")
|
|
}
|
|
{ TmrTimeout #Timer
|
|
#X = 497
|
|
#Y = 252
|
|
}
|
|
{ ListBox1 ListBox
|
|
Move(1085,49,147,259)
|
|
}
|
|
{ Button1 Button
|
|
Move(1085,315,147,21)
|
|
Text = ("OBNOV SEZNAM")
|
|
}
|
|
{ BtnSmazKonfiguraci Button
|
|
Move(896,161,175,21)
|
|
Text = ("SMAZAT KONFIGURACI")
|
|
}
|
|
{ Label36 Label
|
|
Move(833,623,105,21)
|
|
Text = ("PAUZA NA PITI")
|
|
Alignment = Align.Center
|
|
}
|
|
{ TimerExperimentMils #Timer
|
|
#X = 539
|
|
#Y = 252
|
|
Delay = 10
|
|
}
|
|
{ Label37 Label
|
|
Move(35,378,77,28)
|
|
Text = ("STIMUL \xC4\x8D.:")
|
|
}
|
|
}
|