V 10
1
LANG:1 13 HV_LV_Control
PANEL,375 79 960 480 N {204,204,204} 0
"/* Control Panel MoPS
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                        CONTROL PANEL FOR SCT_DCS                         */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Panel contains the common Subroutine for DP_Name
                   creating basing on changing one of the Local names:
                   Name05.Name04.Name03.Name02.Name01

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 -  2-nd version for MoPS project
  ===================================-======================================*/

main()
{ dpConnect(\"ShowCommName\",\"SCTmops1:Indi09.IndxL2:_original.._value\");
  dpConnect(\"ShowCommName\",\"SCTmops1:Indi09.IndxL3:_original.._value\");
  dpConnect(\"ShowCommName\",\"SCTmops1:Indi09.IndxL4:_original.._value\");
  dpConnect(\"ShowCommName\",\"SCTmops1:Indi09.IndxL5:_original.._value\");
}

 ShowCommName(string Name, int Stus)
 {    int rack, crat, card, lvca, lvix, hvca, hvix, hivo, chan, indx;
   string nam5, nam4, nam3, nam2, name, dstr;

   sprintf(name,\"Channel\");
   dpGet(\"SCTmops1:Indi09.IndxL2:_original.._value\", indx);
   chan = indx; if(chan < 10)
   { sprintf(nam2,\"%s0%d\", name, chan);
   } else
   { sprintf(nam2,\"%s%d\" , name, chan);
   }
/*
   sprintf(dstr,\" Lev2: %s\", nam2);
   setValue(\"CommInfo\",\"text\", dstr);    delay(2);                 /* Debug */

   dpGet(\"SCTmops1:Indi09.IndxL3:_original.._value\", indx);
     switch(indx)
   { case  1: lvca =  1;  lvix =  0;  hvca =  2;  hivo = 0; break;
     case  2: lvca =  1;  hvix =  0;  hvca =  2;  hivo = 1; break;
     case  3: lvca =  3;  lvix =  1;  hvca =  2;  hivo = 0; break;
     case  4: lvca =  4;  lvix =  2;  hvca =  5;  hivo = 0; break;
     case  5: lvca =  4;  hvix =  1;  hvca =  5;  hivo = 1; break;
     case  6: lvca =  6;  lvix =  3;  hvca =  5;  hivo = 0; break;
     case  7: lvca =  7;  lvix =  4;  hvca =  8;  hivo = 0; break;
     case  8: lvca =  7;  hvix =  2;  hvca =  8;  hivo = 1; break;
     case  9: lvca =  9;  lvix =  5;  hvca =  8;  hivo = 0; break;
     case 10: lvca = 10;  lvix =  6;  hvca = 11;  hivo = 0; break;
     case 11: lvca = 10;  hvix =  3;  hvca = 11;  hivo = 1; break;
     case 12: lvca = 12;  lvix =  7;  hvca = 11;  hivo = 0; break;
     case 13: lvca = 13;  lvix =  8;  hvca = 14;  hivo = 0; break;
     case 14: lvca = 13;  hvix =  4;  hvca = 14;  hivo = 1; break;
     case 15: lvca = 15;  lvix =  9;  hvca = 14;  hivo = 0; break;
     case 16: lvca = 16;  lvix = 10;  hvca = 17;  hivo = 0; break;
     case 17: lvca = 16;  hvix =  5;  hvca = 17;  hivo = 1; break;
     case 18: lvca = 18;  lvix = 11;  hvca = 17;  hivo = 0; break;
     default: lvca =  0;  lvix = -1;  hvca =  0;  hivo = 2;
                          hvix = -1;
   }
   card = indx;
     if(hivo == 0)
   { dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"LV_card\");
     sprintf(dstr,\"%d\", lvix);          setValue(\"LVcaNumb_Comm\",\"text\",dstr);
       if(card < 10)
     { sprintf(nam3,\"Card0%d_LV\", card);
     } else
     { sprintf(nam3,\"Card%d_LV\" , card);
     }
   } else
   { dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"HV_card\");
     sprintf(dstr,\"%d\", hvix);          setValue(\"HVcaNumb_Comm\",\"text\",dstr);
       if(card < 10)
     { sprintf(nam3,\"Card0%d_HV\", card);
     } else
     { sprintf(nam3,\"Card%d_HV\" , card);
     }
   }
/*
   sprintf(dstr,\" Lev3: %s\", nam3);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   dpGet(\"SCTmops1:Indi09.IndxL4:_original.._value\", indx);
   crat = indx; if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
/*
   sprintf(dstr,\" Lev4: %s\", nam4);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Rack\");
   dpGet(\"SCTmops1:Indi09.IndxL5:_original.._value\", indx);
   rack = indx; if(rack < 10)
   { sprintf(nam5,\"%s0%d\", name, rack);
   } else
   { sprintf(nam5,\"%s%d\" , name, rack);
   }
/*
   sprintf(dstr,\" Lev5: %s\", nam5);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */
   sprintf(name,\"%s.%s.%s.%s\", nam5, nam4, nam3, nam2);
/**/
   sprintf(dstr,\" User Name: %s\", name);
   setValue(\"CommInfo\",\"backCol\",\"Green\");
   setValue(\"CommInfo\",\"text\", dstr);
   setValue(\"ConfInfo\",\"backCol\",\"cyan\");
   sprintf(dstr,
\" Push Connect: Card_Name will be excluded for Crate & Chan; Chan_Name will be excluded for Crate & Card\");
   setValue(\"ConfInfo\",\"text\", dstr);   delay(1);                  /* Debug */
 }" 0
EE E E 1 -1 -1 0  30 21
"" 0 1
EE 2
"CBRef""0"
"EClose"E
""
DISPLAY_LAYER, 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
LAYER, 0 
1
LANG:1 6 Layer1
6 302
"Border1"
""
1 0 333 E E E 1 E 1 E N {0,0,0} E N {51,102,153} E E
 E E
171 0 0 0 0 0
EE E
0
1
LANG:1 21 Vers.01.1, 18-06-2003
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 0 0 960 480
2 1002
"Text38"
""
1 700 460 E E E 1 E 1 E N {0,153,255} E N {51,102,153} E E
 E E
847 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 702 462 793 478
0 2 0 "s" 0 0 0 192 0 0  702 462
 1
1
LANG:1 121 -microsoft windows-Courier New-normal-i-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,400,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 13 (Slot number)
2 1003
"Text39"
""
1 830 460 E E E 1 E 1 E N {0,153,255} E N {51,102,153} E E
 E E
848 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 832 462 930 478
0 2 0 "s" 0 0 0 192 0 0  832 462
 1
1
LANG:1 121 -microsoft windows-Courier New-normal-i-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,400,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 14 (in the Crate)
2 404
"Text18"
""
1 827 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
269 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 829 112 836 128
0 2 0 "s" 0 0 0 192 0 0  829 112
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 R
2 405
"Text19"
""
1 852 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
270 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 854 112 861 128
0 2 0 "s" 0 0 0 192 0 0  854 112
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 W
2 406
"Text20"
""
1 877 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
271 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 879 112 886 128
0 2 0 "s" 0 0 0 192 0 0  879 112
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 S
2 407
"Text21"
""
1 902 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
272 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 904 112 911 128
0 2 0 "s" 0 0 0 192 0 0  904 112
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 E
6 450
"Border3"
""
1 210 438 E E E 1 E 1 E N {0,0,0} E N {153,153,153} E E
 E E
311 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 210 340 400 470
2 452
"Text4"
""
1 240 350 E E E 1 E 1 E N {0,102,255} E N {153,153,153} E E
 E E
313 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 242 352 368 398
0 2 0 "s" 0 0 0 64 0 0  242 352
 2
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-160-100-100-*-*-iso8859-1|-19,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 11 Data Points
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-160-100-100-*-*-iso8859-1|-19,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 11 Constructor
2 458
"ContDebg"
""
1 1107 5035 E E E 1 E 1 E N {0,0,0} E N {204,204,204} E E
 E E
316 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"/* Curve Debugger
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/

main()
{ ;
}" 0
 E 0 1 1 0 1 E U  1 E 82 482 858 528
1 2 0 "s" 0 0 0 64 0 0  82 482
 1
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 59                                            Control Debugger
2 536
"Text17"
""
1 20 50 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
392 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 52 278 78
0 2 0 "s" 0 0 0 64 0 0  22 52
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-160-100-100-*-*-iso8859-1|-19,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 23 CRATE PARAMETER CONTROL
2 537
"Text22"
""
1 20 200 E E E 1 E 1 E N {0,255,255} E N {51,102,152} E E
 E E
393 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 202 268 228
0 2 0 "s" 0 0 0 64 0 0  22 202
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-160-100-100-*-*-iso8859-1|-19,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 22 CARD PARAMETER CONTROL
2 543
"Text26"
""
1 277 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
399 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 279 112 286 128
0 2 0 "s" 0 0 0 192 0 0  279 112
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 R
2 544
"Text27"
""
1 302 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
400 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 304 112 311 128
0 2 0 "s" 0 0 0 192 0 0  304 112
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 W
2 545
"Text32"
""
1 327 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
401 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 329 112 336 128
0 2 0 "s" 0 0 0 192 0 0  329 112
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 S
2 546
"Text33"
""
1 352 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
402 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 354 112 361 128
0 2 0 "s" 0 0 0 192 0 0  354 112
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 E
4 576
"Line9"
""
1 385 250 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
432 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  385 270 385 250
4 577
"Line10"
""
1 371 270 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
433 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  386 270 371 270
4 578
"Line11"
""
1 368 270 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
434 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  368 270 375 267
4 579
"Line12"
""
1 370 270 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
435 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  375 274 370 270
2 669
"Text67"
""
1 420 260 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
523 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 262 498 288
0 2 0 "s" 0 0 0 64 0 0  422 262
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchDTrp
2 670
"Text68"
""
1 420 290 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
524 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 292 498 318
0 2 0 "s" 0 0 0 64 0 0  422 292
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchCTrp
2 671
"Text69"
""
1 420 320 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
525 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 322 498 348
0 2 0 "s" 0 0 0 64 0 0  422 322
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchTLim
2 672
"Text70"
""
1 420 350 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
526 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 352 498 378
0 2 0 "s" 0 0 0 64 0 0  422 352
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchTTrp
2 673
"Text71"
""
1 670 140 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
527 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 672 142 748 168
0 2 0 "s" 0 0 0 64 0 0  672 142
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchCLKS
2 674
"Text72"
""
1 670 170 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
528 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 672 172 748 198
0 2 0 "s" 0 0 0 64 0 0  672 172
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchCLKR
2 675
"Text73"
""
1 670 200 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
529 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 672 202 748 229
0 2 0 "s" 0 0 0 64 0 0  672 202
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchVOut
2 676
"Text79"
""
1 670 290 E E E 1 E 1 E N {204,102,102} E N {51,102,153} E E
 E E
530 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 672 292 748 308
0 2 0 "s" 0 0 0 64 0 0  672 292
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 HVchVolt
2 677
"Text80"
""
1 670 320 E E E 1 E 1 E N {204,102,102} E N {51,102,153} E E
 E E
531 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 672 322 748 338
0 2 0 "s" 0 0 0 64 0 0  672 322
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 HVchITrp
2 678
"Text81"
""
1 670 350 E E E 1 E 1 E N {204,102,102} E N {51,102,153} E E
 E E
532 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 672 352 748 368
0 2 0 "s" 0 0 0 64 0 0  672 352
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 HVchRamp
4 682
"Line4"
""
1 410 80 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
536 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  410 390 410 80
4 687
"Line24"
""
1 950 235 E E E 1 E 1 E N {204,102,102} E N {255,255,255} E E
 E E
541 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  950 390 950 235
2 688
"Text2"
""
1 820 140 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
542 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 822 142 828 158
0 2 0 "s" 0 0 0 64 0 0  822 142
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 1 h
2 689
"Text53"
""
1 820 170 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
543 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 822 172 828 188
0 2 0 "s" 0 0 0 64 0 0  822 172
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 1 h
2 690
"Text54"
""
1 820 200 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
544 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 822 202 828 218
0 2 0 "s" 0 0 0 64 0 0  822 202
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 1 h
4 691
"Line25"
""
1 640 230 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
545 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  640 390 640 230
4 702
"Line26"
""
1 565 361 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
556 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  565 381 565 361
2 713
"Text11"
""
1 20 91 E E E 1 E 1 E N {102,204,204} E N {51,102,153} E E
 E E
567 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 93 98 118
0 2 0 "s" 0 0 0 64 0 0  22 93
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 CC_Reset
2 714
"Text12"
""
1 20 121 E E E 1 E 1 E N {102,204,204} E N {51,102,153} E E
 E E
568 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 123 98 148
0 2 0 "s" 0 0 0 64 0 0  22 123
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 CCch_Set
2 715
"Text13"
""
1 20 150 E E E 1 E 1 E N {102,204,204} E N {51,102,153} E E
 E E
569 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 152 98 168
0 2 0 "s" 0 0 0 64 0 0  22 152
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 CRchRead
2 717
"Text46"
""
1 170 92 E E E 1 E 1 E N {102,204,204} E N {51,102,153} E E
 E E
571 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 172 94 178 110
0 2 0 "s" 0 0 0 64 0 0  172 94
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 1 h
2 718
"Text47"
""
1 170 122 E E E 1 E 1 E N {102,204,204} E N {51,102,153} E E
 E E
572 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 172 124 178 140
0 2 0 "s" 0 0 0 64 0 0  172 124
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 1 h
2 719
"Text48"
""
1 170 151 E E E 1 E 1 E N {102,204,204} E N {51,102,153} E E
 E E
573 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 172 153 178 169
0 2 0 "s" 0 0 0 64 0 0  172 153
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 1 h
2 735
"Text6"
""
1 240 240 E E E 1 E 1 E N {204,102,102} E N {51,102,153} E E
 E E
589 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 242 242 318 258
0 2 0 "s" 0 0 0 64 0 0  242 242
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 HVcaMask
2 736
"Text45"
""
1 390 242 E E E 1 E 1 E N {204,102,102} E N {51,102,153} E E
 E E
590 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 392 244 398 260
0 2 0 "s" 0 0 0 64 0 0  392 244
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 1 h
4 737
"Line37"
""
1 400 230 E E E 1 E 1 E N {204,102,102} E N {255,255,255} E E
 E E
591 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  400 330 400 230
4 745
"Line39"
""
1 815 363 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
599 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  815 383 815 363
4 753
"Line47"
""
1 165 160 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
607 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  165 180 165 160
4 833
"Line52"
""
1 10 190 E E E 1 E 1 E N {102,204,204} E N {255,255,255} E E
 E E
687 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  400 190 10 190
4 834
"Line53"
""
1 10 80 E E E 1 E 1 E N {102,204,204} E N {255,255,255} E E
 E E
688 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  10 190 10 80
4 835
"Line54"
""
1 400 80 E E E 1 E 1 E N {102,204,204} E N {255,255,255} E E
 E E
689 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  400 190 400 80
2 611
"Text31"
""
1 710 442 E E E 1 E 1 E N {0,0,0} E N {204,204,204} E E
 E E
465 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 712 444 744 460
0 2 0 "s" 0 0 0 192 0 0  712 444
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 4 CARD
2 840
"Text7"
""
1 430 442 E E E 1 E 1 E N {0,0,0} E N {204,204,204} E E
 E E
694 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 432 444 472 460
0 2 0 "s" 0 0 0 192 0 0  432 444
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 5 RACK 
2 841
"Text8"
""
1 560 442 E E E 1 E 1 E N {0,0,0} E N {204,204,204} E E
 E E
695 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 562 444 610 460
0 2 0 "s" 0 0 0 192 0 0  562 444
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 6 CRATE 
2 845
"Text10"
""
1 840 442 E E E 1 E 1 E N {0,0,0} E N {204,204,204} E E
 E E
699 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 842 444 882 460
0 2 0 "s" 0 0 0 192 0 0  842 444
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 5 CHAN 
2 857
"Text1"
""
1 420 140 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
711 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 142 498 168
0 2 0 "s" 0 0 0 64 0 0  422 142
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVch_Vcc
2 858
"Text5"
""
1 420 170 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
712 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 172 498 198
0 2 0 "s" 0 0 0 64 0 0  422 172
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVch_Vdd
2 859
"Text9"
""
1 420 200 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
713 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 202 498 228
0 2 0 "s" 0 0 0 64 0 0  422 202
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchVCSV
2 860
"Text14"
""
1 420 230 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
714 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 232 498 258
0 2 0 "s" 0 0 0 64 0 0  422 232
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVchPINV
6 869
"Border28"
""
1 140 470 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
723 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 140 340 160 470
6 870
"Border21"
""
1 40 470 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
724 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 40 340 60 470
2 871
"Text147"
""
1 40 340 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
725 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 42 342 58 358
1 2 0 "s" 0 0 0 192 0 0  42 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 HV
6 872
"Border22"
""
1 20 470 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
726 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 20 340 40 470
2 873
"Text148"
""
1 20 340 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
727 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 342 38 358
1 2 0 "s" 0 0 0 192 0 0  22 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 LV
6 874
"Border23"
""
1 60 470 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
728 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 60 340 80 470
2 875
"Text149"
""
1 60 340 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
729 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 62 342 78 358
1 2 0 "s" 0 0 0 192 0 0  62 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 LV
2 876
"Text150"
""
1 40 360 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
730 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 42 362 58 378
1 2 0 "s" 0 0 0 192 0 0  42 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 02
2 877
"Text151"
""
1 20 360 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
731 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 362 38 378
1 2 0 "s" 0 0 0 192 0 0  22 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 01
2 878
"Text152"
""
1 60 360 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
732 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 62 362 78 378
1 2 0 "s" 0 0 0 192 0 0  62 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 03
2 879
"Text153"
""
1 46 450 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
733 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 48 452 55 468
0 2 0 "s" 0 0 0 192 0 0  48 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 880
"Text154"
""
1 25 450 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
734 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 27 452 34 468
0 2 0 "s" 0 0 0 192 0 0  27 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 881
"Text155"
""
1 65 450 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
735 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 67 452 74 468
0 2 0 "s" 0 0 0 192 0 0  67 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 882
"Text156"
""
1 46 436 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
736 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 48 438 55 454
0 2 0 "s" 0 0 0 192 0 0  48 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 883
"Text157"
""
1 46 427 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
737 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 48 429 55 445
0 2 0 "s" 0 0 0 192 0 0  48 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 884
"Text158"
""
1 46 418 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
738 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 48 420 55 436
0 2 0 "s" 0 0 0 192 0 0  48 420
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 885
"Text159"
""
1 25 436 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
739 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 27 438 34 454
0 2 0 "s" 0 0 0 192 0 0  27 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 886
"Text160"
""
1 25 427 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
740 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 27 429 34 445
0 2 0 "s" 0 0 0 192 0 0  27 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 887
"Text161"
""
1 65 436 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
741 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 67 438 74 454
0 2 0 "s" 0 0 0 192 0 0  67 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 888
"Text162"
""
1 65 427 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
742 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 67 429 74 445
0 2 0 "s" 0 0 0 192 0 0  67 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 889
"Text163"
""
1 24 417 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
743 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 26 419 33 435
0 2 0 "s" 0 0 0 192 0 0  26 419
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 3
2 890
"Text164"
""
1 64 417 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
744 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 66 419 73 435
0 2 0 "s" 0 0 0 192 0 0  66 419
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 3
2 891
"Text165"
""
1 46 409 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
745 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 48 411 55 427
0 2 0 "s" 0 0 0 192 0 0  48 411
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 892
"Text166"
""
1 46 399 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
746 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 48 401 55 417
0 2 0 "s" 0 0 0 192 0 0  48 401
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 893
"Text167"
""
1 46 390 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
747 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 48 392 55 408
0 2 0 "s" 0 0 0 192 0 0  48 392
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 894
"Text168"
""
1 45 381 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
748 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 47 383 54 399
0 2 0 "s" 0 0 0 192 0 0  47 383
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 7
6 895
"Border24"
""
1 100 470 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
749 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 100 340 120 470
2 896
"Text169"
""
1 100 340 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
750 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 102 342 118 358
1 2 0 "s" 0 0 0 192 0 0  102 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 HV
6 897
"Border25"
""
1 80 470 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
751 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 80 340 100 470
2 898
"Text170"
""
1 80 340 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
752 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 82 342 98 358
1 2 0 "s" 0 0 0 192 0 0  82 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 LV
6 899
"Border26"
""
1 120 470 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
753 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 120 340 140 470
2 900
"Text171"
""
1 120 340 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
754 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 122 342 138 358
1 2 0 "s" 0 0 0 192 0 0  122 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 LV
2 901
"Text172"
""
1 100 360 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
755 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 102 362 118 378
1 2 0 "s" 0 0 0 192 0 0  102 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 ..
2 902
"Text173"
""
1 80 360 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
756 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 82 362 98 378
1 2 0 "s" 0 0 0 192 0 0  82 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 ..
2 903
"Text174"
""
1 120 360 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
757 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 122 362 138 378
1 2 0 "s" 0 0 0 192 0 0  122 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 ..
2 904
"Text175"
""
1 106 450 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
758 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 108 452 115 468
0 2 0 "s" 0 0 0 192 0 0  108 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 905
"Text176"
""
1 85 450 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
759 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 87 452 94 468
0 2 0 "s" 0 0 0 192 0 0  87 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 906
"Text177"
""
1 125 450 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
760 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 127 452 134 468
0 2 0 "s" 0 0 0 192 0 0  127 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 907
"Text178"
""
1 106 436 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
761 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 108 438 115 454
0 2 0 "s" 0 0 0 192 0 0  108 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 908
"Text179"
""
1 106 427 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
762 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 108 429 115 445
0 2 0 "s" 0 0 0 192 0 0  108 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 909
"Text180"
""
1 106 418 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
763 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 108 420 115 436
0 2 0 "s" 0 0 0 192 0 0  108 420
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 910
"Text181"
""
1 85 436 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
764 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 87 438 94 454
0 2 0 "s" 0 0 0 192 0 0  87 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 911
"Text182"
""
1 85 427 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
765 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 87 429 94 445
0 2 0 "s" 0 0 0 192 0 0  87 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 912
"Text183"
""
1 125 436 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
766 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 127 438 134 454
0 2 0 "s" 0 0 0 192 0 0  127 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 913
"Text184"
""
1 125 427 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
767 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 127 429 134 445
0 2 0 "s" 0 0 0 192 0 0  127 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 914
"Text185"
""
1 84 417 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
768 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 86 419 93 435
0 2 0 "s" 0 0 0 192 0 0  86 419
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 3
2 915
"Text186"
""
1 124 417 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
769 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 126 419 133 435
0 2 0 "s" 0 0 0 192 0 0  126 419
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 3
2 916
"Text187"
""
1 106 409 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
770 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 108 411 115 427
0 2 0 "s" 0 0 0 192 0 0  108 411
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 917
"Text188"
""
1 106 399 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
771 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 108 401 115 417
0 2 0 "s" 0 0 0 192 0 0  108 401
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 918
"Text189"
""
1 106 390 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
772 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 108 392 115 408
0 2 0 "s" 0 0 0 192 0 0  108 392
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 919
"Text190"
""
1 105 381 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
773 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 107 383 114 399
0 2 0 "s" 0 0 0 192 0 0  107 383
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 7
6 920
"Border27"
""
1 160 470 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
774 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 160 340 180 470
2 921
"Text191"
""
1 160 340 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
775 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 162 342 178 358
1 2 0 "s" 0 0 0 192 0 0  162 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 HV
2 922
"Text192"
""
1 140 340 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
776 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 142 342 158 358
1 2 0 "s" 0 0 0 192 0 0  142 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 LV
6 923
"Border29"
""
1 180 470 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
777 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 180 340 200 470
2 924
"Text193"
""
1 180 340 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
778 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 182 342 198 358
1 2 0 "s" 0 0 0 192 0 0  182 342
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 LV
2 925
"Text194"
""
1 160 360 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
779 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 162 362 178 378
1 2 0 "s" 0 0 0 192 0 0  162 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 17
2 926
"Text195"
""
1 140 360 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
780 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 142 362 158 378
1 2 0 "s" 0 0 0 192 0 0  142 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 16
2 927
"Text196"
""
1 180 360 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
781 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 182 362 198 378
1 2 0 "s" 0 0 0 192 0 0  182 362
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 2 18
2 928
"Text197"
""
1 166 450 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
782 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 168 452 175 468
0 2 0 "s" 0 0 0 192 0 0  168 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 929
"Text198"
""
1 146 450 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
783 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 148 452 155 468
0 2 0 "s" 0 0 0 192 0 0  148 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 930
"Text199"
""
1 185 450 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
784 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 187 452 194 468
0 2 0 "s" 0 0 0 192 0 0  187 452
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 0
2 931
"Text200"
""
1 166 436 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
785 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 168 438 175 454
0 2 0 "s" 0 0 0 192 0 0  168 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 932
"Text201"
""
1 166 427 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
786 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 168 429 175 445
0 2 0 "s" 0 0 0 192 0 0  168 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 933
"Text202"
""
1 166 418 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
787 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 168 420 175 436
0 2 0 "s" 0 0 0 192 0 0  168 420
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 934
"Text203"
""
1 146 436 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
788 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 148 438 155 454
0 2 0 "s" 0 0 0 192 0 0  148 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 935
"Text204"
""
1 146 427 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
789 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 148 429 155 445
0 2 0 "s" 0 0 0 192 0 0  148 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 936
"Text205"
""
1 185 436 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
790 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 187 438 194 454
0 2 0 "s" 0 0 0 192 0 0  187 438
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 937
"Text206"
""
1 185 427 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
791 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 187 429 194 445
0 2 0 "s" 0 0 0 192 0 0  187 429
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 938
"Text207"
""
1 145 417 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
792 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 147 419 154 435
0 2 0 "s" 0 0 0 192 0 0  147 419
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 3
2 939
"Text208"
""
1 184 417 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
793 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 186 419 193 435
0 2 0 "s" 0 0 0 192 0 0  186 419
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 3
2 940
"Text209"
""
1 166 409 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
794 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 168 411 175 427
0 2 0 "s" 0 0 0 192 0 0  168 411
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 941
"Text210"
""
1 166 399 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
795 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 168 401 175 417
0 2 0 "s" 0 0 0 192 0 0  168 401
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 942
"Text211"
""
1 166 390 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
796 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 168 392 175 408
0 2 0 "s" 0 0 0 192 0 0  168 392
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 .
2 943
"Text212"
""
1 165 381 E E E 1 E 1 E N {0,0,0} E N {204,102,102} E E
 E E
797 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 167 383 174 399
0 2 0 "s" 0 0 0 192 0 0  167 383
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 7
2 944
"Text15"
""
1 365 95 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
798 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 367 97 395 113
0 2 0 "s" 0 0 0 192 0 0  367 97
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 4 bits
2 945
"Text16"
""
1 915 95 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
799 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 917 97 945 113
0 2 0 "s" 0 0 0 192 0 0  917 97
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 4 bits
4 947
"Line8"
""
1 151 180 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
801 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  166 180 151 180
4 948
"Line13"
""
1 148 180 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
802 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  148 180 155 177
4 949
"Line14"
""
1 150 180 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
803 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  155 184 150 180
4 950
"Line15"
""
1 801 383 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
804 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  816 383 801 383
4 951
"Line16"
""
1 798 383 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
805 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  798 383 805 380
4 952
"Line17"
""
1 800 383 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
806 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  805 387 800 383
4 953
"Line18"
""
1 551 380 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
807 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  566 380 551 380
4 954
"Line19"
""
1 548 380 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
808 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  548 380 555 377
2 964
"Text25"
""
1 20 240 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
818 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 242 98 258
0 2 0 "s" 0 0 0 64 0 0  22 242
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVcaMask
2 965
"Text28"
""
1 170 240 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
819 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 172 242 178 258
0 2 0 "s" 0 0 0 64 0 0  172 242
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 1 h
2 968
"Text29"
""
1 20 270 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
822 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 272 98 288
0 2 0 "s" 0 0 0 64 0 0  22 272
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-130-100-100-*-*-iso8859-1|-15,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LVcaTrip
2 972
"Text34"
""
1 650 90 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
826 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 652 92 748 108
0 2 0 "s" 0 0 0 192 0 0  652 92
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 12 LV_Chan Stat
2 973
"Text35"
""
1 190 110 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
827 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 192 112 272 128
0 2 0 "s" 0 0 0 192 0 0  192 112
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 10 Crate Stat
4 982
"Line21"
""
1 10 230 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
835 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  10 330 10 230
2 984
"Text23"
""
1 20 300 E E E 1 E 1 E N {204,204,102} E N {51,102,153} E E
 E E
836 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 22 302 103 325
0 2 0 "s" 0 0 0 64 0 0  22 302
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-140-100-100-*-*-iso8859-1|-15,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 LV_card:
4 733
"Line35"
""
1 230 230 E E E 1 E 1 E N {204,102,102} E N {255,255,255} E E
 E E
587 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  400 230 230 230
4 981
"Line5"
""
1 10 330 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
834 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  230 330 10 330
2 986
"Text24"
""
1 240 300 E E E 1 E 1 E N {204,102,102} E N {51,102,153} E E
 E E
838 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 242 302 323 325
0 2 0 "s" 0 0 0 64 0 0  242 302
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-140-100-100-*-*-iso8859-1|-15,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 HV_card:
4 743
"Line38"
""
1 230 330 E E E 1 E 1 E N {204,102,102} E N {255,255,255} E E
 E E
597 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  400 330 230 330
2 993
"Text30"
""
1 190 255 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
843 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 192 257 224 273
0 2 0 "s" 0 0 0 64 0 0  192 257
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 4 Sent
4 955
"Line20"
""
1 550 380 E E E 1 E 1 E N {255,255,255} E N {255,255,255} E E
 E E
809 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E  555 384 550 380
4 684
"Line6"
""
1 410 390 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
538 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  640 390 410 390
2 997
"Text37"
""
1 835 370 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
846 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 837 372 865 391
0 2 0 "s" 0 0 0 64 0 0  837 372
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 4 Sent
4 685
"Line22"
""
1 645 235 E E E 1 E 1 E N {204,102,102} E N {255,255,255} E E
 E E
539 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  950 235 645 235
2 998
"Text36"
""
1 585 125 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
847 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 587 127 615 146
0 2 0 "s" 0 0 0 64 0 0  587 127
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 4 Sent
2 451
"Text3"
""
1 420 50 E E E 1 E 1 E N {0,255,255} E N {51,102,152} E E
 E E
312 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 422 52 668 78
0 2 0 "s" 0 0 0 64 0 0  422 52
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-160-100-100-*-*-iso8859-1|-19,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 22 CHAN PARAMETER CONTROL
4 980
"Line3"
""
1 10 230 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
833 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  230 230 10 230
4 832
"Line51"
""
1 10 80 E E E 1 E 1 E N {102,204,204} E N {255,255,255} E E
 E E
686 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  400 80 10 80
4 975
"Line29"
""
1 410 80 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
829 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  950 80 410 80
4 1005
"Line7"
""
1 950 80 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
849 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  950 230 950 80
4 1004
"Line1"
""
1 640 230 E E E 1 E 1 E N {204,204,102} E N {255,255,255} E E
 E E
848 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  950 230 640 230
2 1012
"Text42"
""
1 877 260 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
856 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 879 262 886 278
0 2 0 "s" 0 0 0 192 0 0  879 262
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 S
2 1013
"Text43"
""
1 902 260 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
857 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 904 262 911 278
0 2 0 "s" 0 0 0 192 0 0  904 262
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 E
2 1014
"Text44"
""
1 915 245 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
858 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 917 247 945 263
0 2 0 "s" 0 0 0 192 0 0  917 247
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 4 bits
2 1015
"Text49"
""
1 650 240 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
859 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 652 242 748 258
0 2 0 "s" 0 0 0 192 0 0  652 242
 1
1
LANG:1 119 -microsoft windows-Courier New-bold-i-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,255,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 12 HV_Chan Stat
4 1021
"Line34"
""
1 645 235 E E E 1 E 1 E N {204,102,102} E N {255,255,255} E E
 E E
865 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  645 390 645 235
2 1010
"Text40"
""
1 827 260 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
854 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 829 262 836 278
0 2 0 "s" 0 0 0 192 0 0  829 262
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 R
2 1011
"Text41"
""
1 852 260 E E E 1 E 1 E N {0,255,255} E N {51,102,153} E E
 E E
855 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 1 1 0 1 E U  1 E 854 262 861 278
0 2 0 "s" 0 0 0 192 0 0  854 262
 1
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 1 W
4 974
"Line28"
""
1 645 390 E E E 1 E 1 E N {204,102,102} E N {255,255,255} E E
 E E
828 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
E E 0 2 1 0 1 E  950 390 645 390
13 83
"ChanComm"
""
1 880 50 E E E 1 E 1 E N "_3DText" E N {204,204,102} E E
 E E
67 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
878 48 942 75
T 
1
LANG:1 7 Connect
"/* Connect Chan by Click
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                      MANUAL CHAN CONTROLLER BY CLICK                     */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Button is starting of Manual Controller
                   based on DCS_Name
                   
   MODIF_HISTORY:  04.02.2002 - first version
                   16.06.2003 -  2-nd version for MoPS project
/*===================================-======================================*/

main()
{ ConnectChan_Comm();
}

 ConnectChan_Comm()
 {    int rack, crat, card, lvca, lvix, hvca, hvix, hivo, chan;
      int indx, conn, len1, len2;
   string nam5, nam4, nam3, nam2, name, old_para, new_para, dstr;

   sprintf(name,\"Channel\");
   dpGet(\"SCTmops1:Indi09.IndxL2:_original.._value\", indx);
   chan = indx - 1; if(chan >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(chan < 10)
   { sprintf(nam2,\"%s0%d\", name, chan);
   } else
   { sprintf(nam2,\"%s%d\" , name, chan);
   }
/*
   sprintf(dstr,\" Lev2: %s\", nam2);
   setValue(\"CommInfo\",\"text\", dstr);    delay(2);                 /* Debug */

   dpGet(\"SCTmops1:Indi09.IndxL3:_original.._value\", indx);
     switch(indx)
   { case  1: lvca =  1;  lvix =  0;  hvca =  2;  hivo = 0; break;
     case  2: lvca =  1;  hvix =  0;  hvca =  2;  hivo = 1; break;
     case  3: lvca =  3;  lvix =  1;  hvca =  2;  hivo = 0; break;
     case  4: lvca =  4;  lvix =  2;  hvca =  5;  hivo = 0; break;
     case  5: lvca =  4;  hvix =  1;  hvca =  5;  hivo = 1; break;
     case  6: lvca =  6;  lvix =  3;  hvca =  5;  hivo = 0; break;
     case  7: lvca =  7;  lvix =  4;  hvca =  8;  hivo = 0; break;
     case  8: lvca =  7;  hvix =  2;  hvca =  8;  hivo = 1; break;
     case  9: lvca =  9;  lvix =  5;  hvca =  8;  hivo = 0; break;
     case 10: lvca = 10;  lvix =  6;  hvca = 11;  hivo = 0; break;
     case 11: lvca = 10;  hvix =  3;  hvca = 11;  hivo = 1; break;
     case 12: lvca = 12;  lvix =  7;  hvca = 11;  hivo = 0; break;
     case 13: lvca = 13;  lvix =  8;  hvca = 14;  hivo = 0; break;
     case 14: lvca = 13;  hvix =  4;  hvca = 14;  hivo = 1; break;
     case 15: lvca = 15;  lvix =  9;  hvca = 14;  hivo = 0; break;
     case 16: lvca = 16;  lvix = 10;  hvca = 17;  hivo = 0; break;
     case 17: lvca = 16;  hvix =  5;  hvca = 17;  hivo = 1; break;
     case 18: lvca = 18;  lvix = 11;  hvca = 17;  hivo = 0; break;
     default: lvca =  0;  lvix = -1;  hvca =  0;  hivo = 2;
                          hvix = -1;
   }
     if(hivo == 0)
   { card = lvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"LV_card\");
       if(card < 10)
     { sprintf(nam3,\"LV_card0%d\", card);
     } else
     { sprintf(nam3,\"LV_card%d\" , card);
     }
   } else
   { card = hvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"HV_card\");
       if(card < 10)
     { sprintf(nam3,\"HV_card0%d\", card);
     } else
     { sprintf(nam3,\"HV_card%d\" , card);
     }
   }
     if(card >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
/*
   sprintf(dstr,\" Lev3: %s\", nam3);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   dpGet(\"SCTmops1:Indi09.IndxL4:_original.._value\", indx);
   crat = indx - 1; if(crat >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
/*
   sprintf(dstr,\" Lev4: %s\", nam4);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Rack\");
   dpGet(\"SCTmops1:Indi09.IndxL5:_original.._value\", indx);
   rack = indx - 1; if(rack >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(rack < 10)
   { sprintf(nam5,\"%s0%d\", name, rack);
   } else
   { sprintf(nam5,\"%s%d\" , name, rack);
   }
/*
   sprintf(dstr,\" Lev5: %s\", nam5);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   crat = (rack * 4) + crat;
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
   sprintf(name,\"%s.%s\", nam4, nam2);
/**/
   sprintf(dstr,
          \" Chan_DP_Name: %s; Para's Names -> Indi09, Conn=%d\", name, conn);
   setValue(\"CommInfo\",\"backCol\",\"Green\");
   setValue(\"CommInfo\",\"text\", dstr);     delay(1);                /* Debug */
/*!!
   conn = 0;                         /* Should be closed in \"... by Click\"  */
     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name02:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName02\", old_para);
     dpDisconnect(\"CommGet_DataName02\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVch_Vcc.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name02:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName02\", new_para);
   dpConnect(\"CommGet_DataName02\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name06:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName06\", old_para);
     dpDisconnect(\"CommGet_DataName06\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVch_Vdd.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name06:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName06\", new_para);
   dpConnect(\"CommGet_DataName06\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name10:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName10\", old_para);
     dpDisconnect(\"CommGet_DataName10\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchVCSV.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name10:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName10\", new_para);
   dpConnect(\"CommGet_DataName10\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name12:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName12\", old_para);
     dpDisconnect(\"CommGet_DataName12\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchPINV.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name12:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName12\", new_para);
   dpConnect(\"CommGet_DataName12\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name16:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName16\", old_para);
     dpDisconnect(\"CommGet_DataName16\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchDTrp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name16:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName16\", new_para);
   dpConnect(\"CommGet_DataName16\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name17:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName17\", old_para);
     dpDisconnect(\"CommGet_DataName17\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchCTrp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name17:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName17\", new_para);
   dpConnect(\"CommGet_DataName17\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name18:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName18\", old_para);
     dpDisconnect(\"CommGet_DataName18\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchTLim.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name18:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName18\", new_para);
   dpConnect(\"CommGet_DataName18\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name19:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName19\", old_para);
     dpDisconnect(\"CommGet_DataName19\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchTTrp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name19:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName19\", new_para);
   dpConnect(\"CommGet_DataName19\", new_para);

     if(conn > 0)                    /* If Stat_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name20:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName20\", old_para);
//     dpDisconnect(\"CommGet_StatName20\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchCLKS.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name20:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName20\", new_para);
//   dpConnect(\"CommGet_StatName20\", new_para);

     if(conn > 0)                    /* If Stat_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name21:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName21\", old_para);
//     dpDisconnect(\"CommGet_StatName21\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchCLKR.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name21:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName21\", new_para);
//   dpConnect(\"CommGet_StatName21\", new_para);

     if(conn > 0)                    /* If Stat_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name22:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName22\", old_para);
//     dpDisconnect(\"CommGet_StatName22\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchVOut.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name22:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName22\", new_para);
//   dpConnect(\"CommGet_StatName22\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name24:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName24\", old_para);
     dpDisconnect(\"CommGet_DataName24\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.HVchVolt.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name24:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName24\", new_para);
   dpConnect(\"CommGet_DataName24\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name26:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName26\", old_para);
     dpDisconnect(\"CommGet_DataName26\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.HVchITrp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name26:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName26\", new_para);
   dpConnect(\"CommGet_DataName26\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name27:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName27\", old_para);
     dpDisconnect(\"CommGet_DataName27\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.HVchRamp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name27:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName27\", new_para);
   dpConnect(\"CommGet_DataName27\", new_para);

     if(chan < 10)                   /* LV/HV-channel State and Status      */
   { sprintf(nam2,\"%s.Channel0%d\", nam4, chan);
   } else
   { sprintf(nam2,\"%s.Channel%d\" , nam4, chan);
   }
   dpGet(\"SCTmops1:Indi.Name:_original.._value\", name);
   len1 = strlen(name);                 strreplace(name, \"LV\", \"\");
   len2 = strlen(name);
     if(len2 < len1)
   {   if(conn > 0)
     { dpGet(\"SCTmops1:Indi09.Name46:_original.._value\", old_para);
       dpDisconnect(\"ShowLVchanState\", old_para);
       dpDisconnect(\"CommLVchanState\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.LV_Stat:_original.._value\", nam2);
     dpSet(\"SCTmops1:Indi09.Name46:_original.._value\", new_para);
     dpConnect(\"ShowLVchanState\", new_para);
     dpConnect(\"CommLVchanState\", new_para);
   } else
   {   if(conn > 0)
     { dpGet(\"SCTmops1:Indi09.Name47:_original.._value\", old_para);
       dpDisconnect(\"ShowHVchanState\", old_para);
       dpDisconnect(\"CommHVchanState\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.HV_Stat:_original.._value\", nam2);
     dpSet(\"SCTmops1:Indi09.Name47:_original.._value\", new_para);
     dpConnect(\"ShowHVchanState\", new_para);
     dpConnect(\"CommHVchanState\", new_para);
   }

   setValue(\"ConfInfo\",\"backCol\",\"[20,40,60]\");
   setValue(\"ConfInfo\",\"text\", \"\");
 }

 CommSet_DataName02(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name02\",\"text\", stri);
 }

 CommGet_DataName02(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = (1000.0 * Send) / 20.0;    /* 'LVch_Vcc' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name02\",\"text\", stri);
 }

 CommSet_DataName06(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name06\",\"text\", stri);
 }

 CommGet_DataName06(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = (1000.0 * Send) / 20.0;    /* 'LVch_Vdd' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name06\",\"text\", stri);
 }

 CommSet_DataName10(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name10\",\"text\", stri);
 }

 CommGet_DataName10(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = (1000.0 * Send) / 40.0;    /* 'LVchVCSV' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name10\",\"text\", stri);
 }

 CommSet_DataName12(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name12\",\"text\", stri);
 }

 CommGet_DataName12(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = (1000.0 * Send) / 50.0;    /* 'LVchPINV' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name12\",\"text\", stri);
 }

 CommSet_DataName16(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name16\",\"text\", stri);
 }

 CommGet_DataName16(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 2.0;                /* 'LVchDTrp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name16\",\"text\", stri);
 }

 CommSet_DataName17(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name17\",\"text\", stri);
 }

 CommGet_DataName17(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 2.0;                /* 'LVchCTrp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name17\",\"text\", stri);
 }

 CommSet_DataName18(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name18\",\"text\", stri);
 }

 CommGet_DataName18(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send + 128.0;              /* 'LVchTLim' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name18\",\"text\", stri);
 }

 CommSet_DataName19(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name19\",\"text\", stri);
 }

 CommGet_DataName19(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send + 128.0;              /* 'LVchTTrp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name19\",\"text\", stri);
 }

 CommSet_StatName20(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name20\",\"text\", stri);
 }
 
 CommGet_StatName20(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name20\",\"text\", stri);
 }

 CommSet_StatName21(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name21\",\"text\", stri);
 }
 
 CommGet_StatName21(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name21\",\"text\", stri);
 }

 CommSet_StatName22(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name22\",\"text\", stri);
 }
 
 CommGet_StatName22(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name22\",\"text\", stri);
 }

 CommSet_DataName24(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name24\",\"text\", stri);
 }

 CommGet_DataName24(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 1.0;                /* 'HVchVolt' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name24\",\"text\", stri);
 }

 CommSet_DataName26(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name26\",\"text\", stri);
 }

 CommGet_DataName26(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 1.0;                /* 'HVchItrp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name26\",\"text\", stri);
 }

 CommSet_DataName27(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name27\",\"text\", stri);
 }

 CommGet_DataName27(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 1.0;                /* 'HVchRamp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name27\",\"text\", stri);
 }

/* SHOW WRITE/READ/STAT/EROR BITS OF THE DEVICE STATE AND STATUS            */
/*                                                                          */
 CommLVchanState(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"LVchanStatCommIndi\",\"text\", stri);
 }

 void ShowLVchanState(string Dapo, int Stat)
 { int    stat, bits;
   string para, stri;
   
   dpGet(\"SCTmops1:Indi09.Name46:_original.._value\", para);
   dpGet(para, stat);
   sprintf(stri,\"%2X\", stat);
   bits = (stat & 0xC0) >> 6;
   sprintf(stri,\"%X\", bits);       setValue(\"LVchanReadBits\",\"text\", stri);
   bits = (stat & 0x30) >> 4;
   sprintf(stri,\"%X\", bits);       setValue(\"LVchanWritBits\",\"text\", stri);
   bits = (stat &  0xC) >> 2;
   sprintf(stri,\"%X\", bits);       setValue(\"LVchanStatBits\",\"text\", stri);
   bits =  stat &  0x3;
   sprintf(stri,\"%X\", bits);       setValue(\"LVchanErorBits\",\"text\", stri);
     if((stat & 0xC) == 0x0)         /* LVchan is OFF the configuration     */
   { setValue(\"LVchanErorBits\",\"backCol\",\"Grey\");
   } else     
   {  switch(bits)
     { case  0: setValue(\"LVchanErorBits\",\"backCol\",\"Green\");  break; /*Norm*/
       case  1: setValue(\"LVchanErorBits\",\"backCol\",\"Red\");    break; /*Fatl*/
       case  2: setValue(\"LVchanErorBits\",\"backCol\",\"Yellow\"); break; /*Warn*/
       case  3: setValue(\"LVchanErorBits\",\"backCol\",\"Grey\");   break; /*Disb*/
       default: setValue(\"LVchanErorBits\",\"backCol\",\"White\");  break;
     }
   }
 }
 
 CommHVchanState(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"HVchanStatCommIndi\",\"text\", stri);
 }

 void ShowHVchanState(string Dapo, int Stat)
 { int    stat, bits;
   string para, stri;
   
   dpGet(\"SCTmops1:Indi09.Name47:_original.._value\", para);
   dpGet(para, stat);
   sprintf(stri,\"%2X\", stat);
   bits = (stat & 0xC0) >> 6;
   sprintf(stri,\"%X\", bits);       setValue(\"HVchanReadBits\",\"text\", stri);
   bits = (stat & 0x30) >> 4;
   sprintf(stri,\"%X\", bits);       setValue(\"HVchanWritBits\",\"text\", stri);
   bits = (stat &  0xC) >> 2;
   sprintf(stri,\"%X\", bits);       setValue(\"HVchanStatBits\",\"text\", stri);
   bits =  stat &  0x3;
   sprintf(stri,\"%X\", bits);       setValue(\"HVchanErorBits\",\"text\", stri);
     if((stat & 0xC) == 0x0)         /* HVchan is OFF the configuration     */
   { setValue(\"HVchanErorBits\",\"backCol\",\"Grey\");
   } else     
   {  switch(bits)
     { case  0: setValue(\"HVchanErorBits\",\"backCol\",\"Green\");  break; /*Norm*/
       case  1: setValue(\"HVchanErorBits\",\"backCol\",\"Red\");    break; /*Fatl*/
       case  2: setValue(\"HVchanErorBits\",\"backCol\",\"Yellow\"); break; /*Warn*/
       case  3: setValue(\"HVchanErorBits\",\"backCol\",\"Grey\");   break; /*Disb*/
       default: setValue(\"HVchanErorBits\",\"backCol\",\"White\");  break;
     }
   }
 }" 0
 E E "/* Connect Chan by Name
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                    MANUAL CHAN CONTROLLER BY NAME                        */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Button is starting of Manual Controller
                   based on PS_channel_Name
                   
   MODIF_HISTORY:  04.02.2002 - first version
                   16.06.2003 -  2-nd version for MoPS project
/*===================================-======================================*/

main()
{ ConnectChan_Comm();
}

 ConnectChan_Comm()
 {    int rack, crat, card, lvca, lvix, hvca, hvix, hivo, chan;
      int indx, conn, len1, len2;
   string nam5, nam4, nam3, nam2, name, old_para, new_para, dstr;

   sprintf(name,\"Channel\");
   dpGet(\"SCTmops1:Indi09.IndxL2:_original.._value\", indx);
   chan = indx - 1; if(chan >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(chan < 10)
   { sprintf(nam2,\"%s0%d\", name, chan);
   } else
   { sprintf(nam2,\"%s%d\" , name, chan);
   }
/*
   sprintf(dstr,\" Lev2: %s\", nam2);
   setValue(\"CommInfo\",\"text\", dstr);    delay(2);                 /* Debug */

   dpGet(\"SCTmops1:Indi09.IndxL3:_original.._value\", indx);
     switch(indx)
   { case  1: lvca =  1;  lvix =  0;  hvca =  2;  hivo = 0; break;
     case  2: lvca =  1;  hvix =  0;  hvca =  2;  hivo = 1; break;
     case  3: lvca =  3;  lvix =  1;  hvca =  2;  hivo = 0; break;
     case  4: lvca =  4;  lvix =  2;  hvca =  5;  hivo = 0; break;
     case  5: lvca =  4;  hvix =  1;  hvca =  5;  hivo = 1; break;
     case  6: lvca =  6;  lvix =  3;  hvca =  5;  hivo = 0; break;
     case  7: lvca =  7;  lvix =  4;  hvca =  8;  hivo = 0; break;
     case  8: lvca =  7;  hvix =  2;  hvca =  8;  hivo = 1; break;
     case  9: lvca =  9;  lvix =  5;  hvca =  8;  hivo = 0; break;
     case 10: lvca = 10;  lvix =  6;  hvca = 11;  hivo = 0; break;
     case 11: lvca = 10;  hvix =  3;  hvca = 11;  hivo = 1; break;
     case 12: lvca = 12;  lvix =  7;  hvca = 11;  hivo = 0; break;
     case 13: lvca = 13;  lvix =  8;  hvca = 14;  hivo = 0; break;
     case 14: lvca = 13;  hvix =  4;  hvca = 14;  hivo = 1; break;
     case 15: lvca = 15;  lvix =  9;  hvca = 14;  hivo = 0; break;
     case 16: lvca = 16;  lvix = 10;  hvca = 17;  hivo = 0; break;
     case 17: lvca = 16;  hvix =  5;  hvca = 17;  hivo = 1; break;
     case 18: lvca = 18;  lvix = 11;  hvca = 17;  hivo = 0; break;
     default: lvca =  0;  lvix = -1;  hvca =  0;  hivo = 2;
                          hvix = -1;
   }
     if(hivo == 0)
   { card = lvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"LV_card\");
       if(card < 10)
     { sprintf(nam3,\"LV_card0%d\", card);
     } else
     { sprintf(nam3,\"LV_card%d\" , card);
     }
   } else
   { card = hvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"HV_card\");
       if(card < 10)
     { sprintf(nam3,\"HV_card0%d\", card);
     } else
     { sprintf(nam3,\"HV_card%d\" , card);
     }
   }
     if(card >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
/*
   sprintf(dstr,\" Lev3: %s\", nam3);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   dpGet(\"SCTmops1:Indi09.IndxL4:_original.._value\", indx);
   crat = indx - 1; if(crat >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
/*
   sprintf(dstr,\" Lev4: %s\", nam4);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Rack\");
   dpGet(\"SCTmops1:Indi09.IndxL5:_original.._value\", indx);
   rack = indx - 1; if(rack >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(rack < 10)
   { sprintf(nam5,\"%s0%d\", name, rack);
   } else
   { sprintf(nam5,\"%s%d\" , name, rack);
   }
/*
   sprintf(dstr,\" Lev5: %s\", nam5);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   crat = (rack * 4) + crat;
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
   sprintf(name,\"%s.%s\", nam4, nam2);
/**/
   sprintf(dstr,
          \" Chan_DP_Name: %s; Para's Names -> Indi09, Conn=%d\", name, conn);
   setValue(\"CommInfo\",\"backCol\",\"Green\");
   setValue(\"CommInfo\",\"text\", dstr);     delay(1);                /* Debug */
/*!!*/
   conn = 0;                         /* Should be closed in \"... by Click\"  */
     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name02:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName02\", old_para);
     dpDisconnect(\"CommGet_DataName02\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVch_Vcc.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name02:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName02\", new_para);
   dpConnect(\"CommGet_DataName02\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name06:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName06\", old_para);
     dpDisconnect(\"CommGet_DataName06\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVch_Vdd.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name06:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName06\", new_para);
   dpConnect(\"CommGet_DataName06\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name10:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName10\", old_para);
     dpDisconnect(\"CommGet_DataName10\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchVCSV.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name10:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName10\", new_para);
   dpConnect(\"CommGet_DataName10\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name12:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName12\", old_para);
     dpDisconnect(\"CommGet_DataName12\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchPINV.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name12:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName12\", new_para);
   dpConnect(\"CommGet_DataName12\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name16:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName16\", old_para);
     dpDisconnect(\"CommGet_DataName16\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchDTrp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name16:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName16\", new_para);
   dpConnect(\"CommGet_DataName16\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name17:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName17\", old_para);
     dpDisconnect(\"CommGet_DataName17\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchCTrp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name17:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName17\", new_para);
   dpConnect(\"CommGet_DataName17\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name18:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName18\", old_para);
     dpDisconnect(\"CommGet_DataName18\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchTLim.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name18:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName18\", new_para);
   dpConnect(\"CommGet_DataName18\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name19:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName19\", old_para);
     dpDisconnect(\"CommGet_DataName19\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchTTrp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name19:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName19\", new_para);
   dpConnect(\"CommGet_DataName19\", new_para);

     if(conn > 0)                    /* If Stat_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name20:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName20\", old_para);
//     dpDisconnect(\"CommGet_StatName20\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchCLKS.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name20:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName20\", new_para);
//   dpConnect(\"CommGet_StatName20\", new_para);

     if(conn > 0)                    /* If Stat_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name21:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName21\", old_para);
//     dpDisconnect(\"CommGet_StatName21\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchCLKR.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name21:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName21\", new_para);
//   dpConnect(\"CommGet_StatName21\", new_para);

     if(conn > 0)                    /* If Stat_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name22:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName22\", old_para);
//     dpDisconnect(\"CommGet_StatName22\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.LVchVOut.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name22:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName22\", new_para);
//   dpConnect(\"CommGet_StatName22\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name24:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName24\", old_para);
     dpDisconnect(\"CommGet_DataName24\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.HVchVolt.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name24:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName24\", new_para);
   dpConnect(\"CommGet_DataName24\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name26:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName26\", old_para);
     dpDisconnect(\"CommGet_DataName26\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.HVchITrp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name26:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName26\", new_para);
   dpConnect(\"CommGet_DataName26\", new_para);

     if(conn > 0)                    /* If Data_Send                        */
   { dpGet(\"SCTmops1:Indi09.Name27:_original.._value\", old_para);
     dpDisconnect(\"CommSet_DataName27\", old_para);
     dpDisconnect(\"CommGet_DataName27\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.HVchRamp.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name27:_original.._value\", new_para);
   dpConnect(\"CommSet_DataName27\", new_para);
   dpConnect(\"CommGet_DataName27\", new_para);

     if(chan < 10)                   /* LV/HV-channel State and Status      */
   { sprintf(nam2,\"%s.Channel0%d\", nam4, chan);
   } else
   { sprintf(nam2,\"%s.Channel%d\" , nam4, chan);
   }
   dpGet(\"SCTmops1:Indi09.Name00:_original.._value\", name);
   len1 = strlen(name);                 strreplace(name, \"LV\", \"\");
   len2 = strlen(name);
     if(len2 < len1)
   {   if(conn > 0)
     { dpGet(\"SCTmops1:Indi09.Name46:_original.._value\", old_para);
       dpDisconnect(\"ShowLVchanState\", old_para);
       dpDisconnect(\"CommLVchanState\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.LV_Stat:_original.._value\", nam2);
     dpSet(\"SCTmops1:Indi09.Name46:_original.._value\", new_para);
     dpConnect(\"ShowLVchanState\", new_para);
     dpConnect(\"CommLVchanState\", new_para);
   } else
   {   if(conn > 0)
     { dpGet(\"SCTmops1:Indi09.Name47:_original.._value\", old_para);
       dpDisconnect(\"ShowHVchanState\", old_para);
       dpDisconnect(\"CommHVchanState\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.HV_Stat:_original.._value\", nam2);
     dpSet(\"SCTmops1:Indi09.Name47:_original.._value\", new_para);
     dpConnect(\"ShowHVchanState\", new_para);
     dpConnect(\"CommHVchanState\", new_para);
   }

   setValue(\"ConfInfo\",\"backCol\",\"[20,40,60]\");
   setValue(\"ConfInfo\",\"text\", \"\");
 }

 CommSet_DataName02(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name02\",\"text\", stri);
 }

 CommGet_DataName02(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = (1000.0 * Send) / 20.0;    /* 'LVch_Vcc' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name02\",\"text\", stri);
 }

 CommSet_DataName06(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name06\",\"text\", stri);
 }

 CommGet_DataName06(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = (1000.0 * Send) / 20.0;    /* 'LVch_Vdd' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name06\",\"text\", stri);
 }

 CommSet_DataName10(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name10\",\"text\", stri);
 }

 CommGet_DataName10(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = (1000.0 * Send) / 40.0;    /* 'LVchVCSV' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name10\",\"text\", stri);
 }

 CommSet_DataName12(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name12\",\"text\", stri);
 }

 CommGet_DataName12(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = (1000.0 * Send) / 50.0;    /* 'LVchPINV' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name12\",\"text\", stri);
 }

 CommSet_DataName16(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name16\",\"text\", stri);
 }

 CommGet_DataName16(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 2.0;                /* 'LVchDTrp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name16\",\"text\", stri);
 }

 CommSet_DataName17(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name17\",\"text\", stri);
 }

 CommGet_DataName17(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 2.0;                /* 'LVchCTrp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name17\",\"text\", stri);
 }

 CommSet_DataName18(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name18\",\"text\", stri);
 }

 CommGet_DataName18(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send + 128.0;              /* 'LVchTLim' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name18\",\"text\", stri);
 }

 CommSet_DataName19(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name19\",\"text\", stri);
 }

 CommGet_DataName19(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send + 128.0;              /* 'LVchTTrp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name19\",\"text\", stri);
 }

 CommSet_StatName20(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name20\",\"text\", stri);
 }
 
 CommGet_StatName20(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name20\",\"text\", stri);
 }

 CommSet_StatName21(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name21\",\"text\", stri);
 }
 
 CommGet_StatName21(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name21\",\"text\", stri);
 }

 CommSet_StatName22(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name22\",\"text\", stri);
 }
 
 CommGet_StatName22(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name22\",\"text\", stri);
 }

 CommSet_DataName24(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name24\",\"text\", stri);
 }

 CommGet_DataName24(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 1.0;                /* 'HVchVolt' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name24\",\"text\", stri);
 }

 CommSet_DataName26(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name26\",\"text\", stri);
 }

 CommGet_DataName26(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 1.0;                /* 'HVchItrp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name26\",\"text\", stri);
 }

 CommSet_DataName27(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name27\",\"text\", stri);
 }

 CommGet_DataName27(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = Send / 1.0;                /* 'HVchRamp' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name27\",\"text\", stri);
 }

/* SHOW WRITE/READ/STAT/EROR BITS OF THE DEVICE STATE AND STATUS            */
/*                                                                          */
 CommLVchanState(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"LVchanStatCommIndi\",\"text\", stri);
 }

 void ShowLVchanState(string Dapo, int Stat)
 { int    stat, bits;
   string para, stri;
   
   dpGet(\"SCTmops1:Indi09.Name46:_original.._value\", para);
   dpGet(para, stat);
   sprintf(stri,\"%2X\", stat);
   bits = (stat & 0xC0) >> 6;
   sprintf(stri,\"%X\", bits);       setValue(\"LVchanReadBits\",\"text\", stri);
   bits = (stat & 0x30) >> 4;
   sprintf(stri,\"%X\", bits);       setValue(\"LVchanWritBits\",\"text\", stri);
   bits = (stat &  0xC) >> 2;
   sprintf(stri,\"%X\", bits);       setValue(\"LVchanStatBits\",\"text\", stri);
   bits =  stat &  0x3;
   sprintf(stri,\"%X\", bits);       setValue(\"LVchanErorBits\",\"text\", stri);
     if((stat & 0xC) == 0x0)         /* LVchan is OFF the configuration     */
   { setValue(\"LVchanErorBits\",\"backCol\",\"Grey\");
   } else     
   {  switch(bits)
     { case  0: setValue(\"LVchanErorBits\",\"backCol\",\"Green\");  break; /*Norm*/
       case  1: setValue(\"LVchanErorBits\",\"backCol\",\"Red\");    break; /*Fatl*/
       case  2: setValue(\"LVchanErorBits\",\"backCol\",\"Yellow\"); break; /*Warn*/
       case  3: setValue(\"LVchanErorBits\",\"backCol\",\"Grey\");   break; /*Disb*/
       default: setValue(\"LVchanErorBits\",\"backCol\",\"White\");  break;
     }
   }
 }
 
 CommHVchanState(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"HVchanStatCommIndi\",\"text\", stri);
 }

 void ShowHVchanState(string Dapo, int Stat)
 { int    stat, bits;
   string para, stri;
   
   dpGet(\"SCTmops1:Indi09.Name47:_original.._value\", para);
   dpGet(para, stat);
   sprintf(stri,\"%2X\", stat);
   bits = (stat & 0xC0) >> 6;
   sprintf(stri,\"%X\", bits);       setValue(\"HVchanReadBits\",\"text\", stri);
   bits = (stat & 0x30) >> 4;
   sprintf(stri,\"%X\", bits);       setValue(\"HVchanWritBits\",\"text\", stri);
   bits = (stat &  0xC) >> 2;
   sprintf(stri,\"%X\", bits);       setValue(\"HVchanStatBits\",\"text\", stri);
   bits =  stat &  0x3;
   sprintf(stri,\"%X\", bits);       setValue(\"HVchanErorBits\",\"text\", stri);
     if((stat & 0xC) == 0x0)         /* HVchan is OFF the configuration     */
   { setValue(\"HVchanErorBits\",\"backCol\",\"Grey\");
   } else     
   {  switch(bits)
     { case  0: setValue(\"HVchanErorBits\",\"backCol\",\"Green\");  break; /*Norm*/
       case  1: setValue(\"HVchanErorBits\",\"backCol\",\"Red\");    break; /*Fatl*/
       case  2: setValue(\"HVchanErorBits\",\"backCol\",\"Yellow\"); break; /*Warn*/
       case  3: setValue(\"HVchanErorBits\",\"backCol\",\"Grey\");   break; /*Disb*/
       default: setValue(\"HVchanErorBits\",\"backCol\",\"White\");  break;
     }
   }
 }" 0

13 391
"GrupNameClose"
""
1 880 10 E E E 1 E 1 E N {0,0,0} E N {204,204,102} E E
 E E
258 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
878 8 942 37
T 
1
LANG:1 5 Close
"/* Group Names Closer
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                   GROUP DB ADDRESSes CLOSER FOR SQL                      */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Bassiladze

   DESIGN ISSUEs:  This Button closes the Tree panel

   MODIF_HISTORY:  08.11.2001 - first version
/*===================================-======================================*/

main()
{
  PanelOff();
}" 0
 E E E
14 399
"LVchanReadBits"
""
1 820 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
264 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
818 88 842 115
3 "s" 0 0 0 0 0 0 
E
E
E
14 400
"LVchanWritBits"
""
1 845 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
265 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
843 88 867 115
3 "s" 0 0 0 0 0 0 
E
E
E
14 401
"LVchanStatBits"
""
1 870 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
266 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
868 88 892 115
3 "s" 0 0 0 0 0 0 
E
E
E
14 402
"LVchanErorBits"
""
1 895 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
267 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
893 88 917 115
3 "s" 0 0 0 0 0 0 
E
E
E
13 477
"CardComm"
""
1 320 200 E E E 1 E 1 E N "_3DText" E N {204,204,102} E E
 E E
334 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
318 198 382 225
T 
1
LANG:1 7 Connect
"/* Connect Card by Click
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                      MANUAL CARD CONTROLLER BY NAME                      */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Button is starting of Manual Controller
                   based on DCS_Name
                   
   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 -  2-nd version for MoPS project
/*===================================-======================================*/

main()
{ ConnectCard_Comm();
}

 ConnectCard_Comm()
 {    int rack, crat, card, lvca, lvix, hvca, hvix, hivo, chan, indx, conn;
   string nam5, nam4, nam3, nam2, name, old_para, new_para, dstr;

   sprintf(name,\"Channel\");
   dpGet(\"SCTmops1:Indi09.IndxL2:_original.._value\", indx);
   chan = indx - 1; if(chan >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(chan < 10)
   { sprintf(nam2,\"%s0%d\", name, chan);
   } else
   { sprintf(nam2,\"%s%d\" , name, chan);
   }
/*
   sprintf(dstr,\" Lev2: %s\", nam2);
   setValue(\"CommInfo\",\"text\", dstr);    delay(2);                 /* Debug */

   dpGet(\"SCTmops1:Indi09.IndxL3:_original.._value\", indx);
     switch(indx)
   { case  1: lvca =  1;  lvix =  0;  hvca =  2;  hivo = 0; break;
     case  2: lvca =  1;  hvix =  0;  hvca =  2;  hivo = 1; break;
     case  3: lvca =  3;  lvix =  1;  hvca =  2;  hivo = 0; break;
     case  4: lvca =  4;  lvix =  2;  hvca =  5;  hivo = 0; break;
     case  5: lvca =  4;  hvix =  1;  hvca =  5;  hivo = 1; break;
     case  6: lvca =  6;  lvix =  3;  hvca =  5;  hivo = 0; break;
     case  7: lvca =  7;  lvix =  4;  hvca =  8;  hivo = 0; break;
     case  8: lvca =  7;  hvix =  2;  hvca =  8;  hivo = 1; break;
     case  9: lvca =  9;  lvix =  5;  hvca =  8;  hivo = 0; break;
     case 10: lvca = 10;  lvix =  6;  hvca = 11;  hivo = 0; break;
     case 11: lvca = 10;  hvix =  3;  hvca = 11;  hivo = 1; break;
     case 12: lvca = 12;  lvix =  7;  hvca = 11;  hivo = 0; break;
     case 13: lvca = 13;  lvix =  8;  hvca = 14;  hivo = 0; break;
     case 14: lvca = 13;  hvix =  4;  hvca = 14;  hivo = 1; break;
     case 15: lvca = 15;  lvix =  9;  hvca = 14;  hivo = 0; break;
     case 16: lvca = 16;  lvix = 10;  hvca = 17;  hivo = 0; break;
     case 17: lvca = 16;  hvix =  5;  hvca = 17;  hivo = 1; break;
     case 18: lvca = 18;  lvix = 11;  hvca = 17;  hivo = 0; break;
     default: lvca =  0;  lvix = -1;  hvca =  0;  hivo = 2;
                          hvix = -1;
   }
     if(hivo == 0)
   { card = lvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"LV_card\");
       if(card < 10)
     { sprintf(nam3,\"LV_card0%d\", card);
     } else
     { sprintf(nam3,\"LV_card%d\" , card);
     }
   } else
   { card = hvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"HV_card\");
       if(card < 10)
     { sprintf(nam3,\"HV_card0%d\", card);
     } else
     { sprintf(nam3,\"HV_card%d\" , card);
     }
   }
     if(card >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
/*
   sprintf(dstr,\" Lev3: %s\", nam3);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   dpGet(\"SCTmops1:Indi09.IndxL4:_original.._value\", indx);
   crat = indx - 1; if(crat >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
/*
   sprintf(dstr,\" Lev4: %s\", nam4);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Rack\");
   dpGet(\"SCTmops1:Indi09.IndxL5:_original.._value\", indx);
   rack = indx - 1; if(rack >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(rack < 10)
   { sprintf(nam5,\"%s0%d\", name, rack);
   } else
   { sprintf(nam5,\"%s%d\" , name, rack);
   }
/*
   sprintf(dstr,\" Lev5: %s\", nam5);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   crat = (rack * 4) + crat;
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
   sprintf(name,\"%s.%s\", nam4, nam3);
/**/
   sprintf(dstr,
          \" Card_DP_Name: %s; Para's Names -> Indi09, Conn=%d\", name, conn);
   setValue(\"CommInfo\",\"backCol\",\"Green\");
   setValue(\"CommInfo\",\"text\", dstr);     delay(1);                /* Debug */
/*!!
   conn = 0;                         /* Should be closed in \"... by Click\"  */
     if(hivo == 0)
   {   if(conn > 0)                  /* If Stat                             */
     { dpGet(\"SCTmops1:Indi09.Name34:_original.._value\", old_para);
       dpDisconnect(\"CommSet_StatName34\", old_para);
//       dpDisconnect(\"CommGet_StatName34\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.LVcaMask.Send:_original.._value\", name);
     dpSet(\"SCTmops1:Indi09.Name34:_original.._value\", new_para);
     dpConnect(\"CommSet_StatName34\", new_para);
//     dpConnect(\"CommGet_StatName34\", new_para);

       if(conn > 0)                  /* If Data                             */
     { dpGet(\"SCTmops1:Indi09.Name35:_original.._value\", old_para);
       dpDisconnect(\"CommSet_DataName35\", old_para);
       dpDisconnect(\"CommGet_DataName35\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.LVcaTrip.Send:_original.._value\", name);
     dpSet(\"SCTmops1:Indi09.Name35:_original.._value\", new_para);
     dpConnect(\"CommSet_DataName35\", new_para);
     dpConnect(\"CommGet_DataName35\", new_para);
   } else
   {   if(conn > 0)                  /* If Stat                             */
     { dpGet(\"SCTmops1:Indi09.Name37:_original.._value\", old_para);
       dpDisconnect(\"CommSet_StatName37\", old_para);
//       dpDisconnect(\"CommGet_StatName37\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.HVcaMask.Send:_original.._value\", name);
     dpSet(\"SCTmops1:Indi09.Name37:_original.._value\", new_para);
     dpConnect(\"CommSet_StatName37\", new_para);
//     dpConnect(\"CommGet_StatName37\", new_para);
   }
   setValue(\"ConfInfo\",\"backCol\",\"[20,40,60]\");
   setValue(\"ConfInfo\",\"text\", \"\");
 }

 CommSet_StatName34(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name34\",\"text\", stri);
 }
 
 CommGet_StatName34(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name34\",\"text\", stri);
 }
 
 CommSet_DataName35(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name35\",\"text\", stri);
 }
 
 CommGet_DataName35(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = 2.5 * Send;                /* 'LVcaTrip' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name35\",\"text\", stri);
 }

 CommSet_StatName37(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name37\",\"text\", stri);
 }

 CommGet_StatName37(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name37\",\"text\", stri);
 }" 0
 E E "/* Connect Card by Name
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                     MANUAL CARD CONTROLLER BY NAME                       */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Button is starting of Manual Controller
                   based on DCS_Name
                   
   MODIF_HISTORY:  04.02.2002 - first version
                   16.06.2003 -  2-nd version for MoPS project
/*===================================-======================================*/

main()
{ ConnectCard_Comm();
}

 ConnectCard_Comm()
 {    int rack, crat, card, lvca, lvix, hvca, hvix, hivo, chan, indx, conn;
   string nam5, nam4, nam3, nam2, name, old_para, new_para, dstr;

   sprintf(name,\"Channel\");
   dpGet(\"SCTmops1:Indi09.IndxL2:_original.._value\", indx);
   chan = indx - 1; if(chan >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(chan < 10)
   { sprintf(nam2,\"%s0%d\", name, chan);
   } else
   { sprintf(nam2,\"%s%d\" , name, chan);
   }
/*
   sprintf(dstr,\" Lev2: %s\", nam2);
   setValue(\"CommInfo\",\"text\", dstr);    delay(2);                 /* Debug */

   dpGet(\"SCTmops1:Indi09.IndxL3:_original.._value\", indx);
     switch(indx)
   { case  1: lvca =  1;  lvix =  0;  hvca =  2;  hivo = 0; break;
     case  2: lvca =  1;  hvix =  0;  hvca =  2;  hivo = 1; break;
     case  3: lvca =  3;  lvix =  1;  hvca =  2;  hivo = 0; break;
     case  4: lvca =  4;  lvix =  2;  hvca =  5;  hivo = 0; break;
     case  5: lvca =  4;  hvix =  1;  hvca =  5;  hivo = 1; break;
     case  6: lvca =  6;  lvix =  3;  hvca =  5;  hivo = 0; break;
     case  7: lvca =  7;  lvix =  4;  hvca =  8;  hivo = 0; break;
     case  8: lvca =  7;  hvix =  2;  hvca =  8;  hivo = 1; break;
     case  9: lvca =  9;  lvix =  5;  hvca =  8;  hivo = 0; break;
     case 10: lvca = 10;  lvix =  6;  hvca = 11;  hivo = 0; break;
     case 11: lvca = 10;  hvix =  3;  hvca = 11;  hivo = 1; break;
     case 12: lvca = 12;  lvix =  7;  hvca = 11;  hivo = 0; break;
     case 13: lvca = 13;  lvix =  8;  hvca = 14;  hivo = 0; break;
     case 14: lvca = 13;  hvix =  4;  hvca = 14;  hivo = 1; break;
     case 15: lvca = 15;  lvix =  9;  hvca = 14;  hivo = 0; break;
     case 16: lvca = 16;  lvix = 10;  hvca = 17;  hivo = 0; break;
     case 17: lvca = 16;  hvix =  5;  hvca = 17;  hivo = 1; break;
     case 18: lvca = 18;  lvix = 11;  hvca = 17;  hivo = 0; break;
     default: lvca =  0;  lvix = -1;  hvca =  0;  hivo = 2;
                          hvix = -1;
   }
     if(hivo == 0)
   { card = lvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"LV_card\");
       if(card < 10)
     { sprintf(nam3,\"LV_card0%d\", card);
     } else
     { sprintf(nam3,\"LV_card%d\" , card);
     }
   } else
   { card = hvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"HV_card\");
       if(card < 10)
     { sprintf(nam3,\"HV_card0%d\", card);
     } else
     { sprintf(nam3,\"HV_card%d\" , card);
     }
   }
     if(card >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
/*
   sprintf(dstr,\" Lev3: %s\", nam3);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   dpGet(\"SCTmops1:Indi09.IndxL4:_original.._value\", indx);
   crat = indx - 1; if(crat >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
/*
   sprintf(dstr,\" Lev4: %s\", nam4);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Rack\");
   dpGet(\"SCTmops1:Indi09.IndxL5:_original.._value\", indx);
   rack = indx - 1; if(rack >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(rack < 10)
   { sprintf(nam5,\"%s0%d\", name, rack);
   } else
   { sprintf(nam5,\"%s%d\" , name, rack);
   }
/*
   sprintf(dstr,\" Lev5: %s\", nam5);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   crat = (rack * 4) + crat;
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
   sprintf(name,\"%s.%s\", nam4, nam3);
/**/
   sprintf(dstr,
          \" Card_DP_Name: %s; Para's Names -> Indi09, Conn=%d\", name, conn);
   setValue(\"CommInfo\",\"backCol\",\"Green\");
   setValue(\"CommInfo\",\"text\", dstr);     delay(1);                /* Debug */
/*!!*/
   conn = 0;                         /* Should be closed in \"... by Click\"  */
     if(hivo == 0)
   {   if(conn > 0)                  /* If Stat                             */
     { dpGet(\"SCTmops1:Indi09.Name34:_original.._value\", old_para);
       dpDisconnect(\"CommSet_StatName34\", old_para);
//       dpDisconnect(\"CommGet_StatName34\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.LVcaMask.Send:_original.._value\", name);
     dpSet(\"SCTmops1:Indi09.Name34:_original.._value\", new_para);
     dpConnect(\"CommSet_StatName34\", new_para);
//     dpConnect(\"CommGet_StatName34\", new_para);

       if(conn > 0)                  /* If Data                             */
     { dpGet(\"SCTmops1:Indi09.Name35:_original.._value\", old_para);
       dpDisconnect(\"CommSet_DataName35\", old_para);
       dpDisconnect(\"CommGet_DataName35\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.LVcaTrip.Send:_original.._value\", name);
     dpSet(\"SCTmops1:Indi09.Name35:_original.._value\", new_para);
     dpConnect(\"CommSet_DataName35\", new_para);
     dpConnect(\"CommGet_DataName35\", new_para);
   } else
   {   if(conn > 0)                  /* If Stat                             */
     { dpGet(\"SCTmops1:Indi09.Name37:_original.._value\", old_para);
       dpDisconnect(\"CommSet_StatName37\", old_para);
//       dpDisconnect(\"CommGet_StatName37\", old_para);
     }
     sprintf(new_para,\"SCTmops1:%s.HVcaMask.Send:_original.._value\", name);
     dpSet(\"SCTmops1:Indi09.Name37:_original.._value\", new_para);
     dpConnect(\"CommSet_StatName37\", new_para);
//     dpConnect(\"CommGet_StatName37\", new_para);
   }
   setValue(\"ConfInfo\",\"backCol\",\"[20,40,60]\");
   setValue(\"ConfInfo\",\"text\", \"\");
 }

 CommSet_StatName34(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name34\",\"text\", stri);
 }
 
 CommGet_StatName34(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name34\",\"text\", stri);
 }
 
 CommSet_DataName35(string Dapo, float Send)
 { string stri;
 
   sprintf(stri,\"%3.1f\", Send);
   setValue(\"CommDataSet_Name35\",\"text\", stri);
 }
 
 CommGet_DataName35(string Dapo, float Send)
 { int    rawv;
   string stri;
 
   rawv = 2.5 * Send;                /* 'LVcaTrip' from Float to Raw Value  */
   sprintf(stri,\"%d\", rawv);
   setValue(\"CommDataGet_Name35\",\"text\", stri);
 }

 CommSet_StatName37(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatSet_Name37\",\"text\", stri);
 }

 CommGet_StatName37(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"CommStatGet_Name37\",\"text\", stri);
 }" 0

14 501
"CommInfo"
""
1 410 400 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
358 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
408 398 952 425
3 "s" 0 0 0 0 0 0 
E
E
E
13 504
"CrateComm"
""
1 320 50 E E E 1 E 1 E N "_3DText" E N {204,204,102} E E
 E E
361 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
318 48 382 75
T 
1
LANG:1 7 Connect
"/* Connect Crate by Click
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                     MANUAL CRATE CONTROLLER BY NAME                      */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Button is starting of Manual Controller
                   based on DCS_Name
                   
   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 -  2-nd version for MoPS project
/*===================================-======================================*/

main()
{ ConnectCrate_Comm();
}

 ConnectCrate_Comm()
 {    int rack, crat, card, lvca, lvix, hvca, hvix, hivo, chan, indx, conn;
   string nam5, nam4, nam3, nam2, name, old_para, new_para, dstr;

   sprintf(name,\"Channel\");
   dpGet(\"SCTmops1:Indi09.IndxL2:_original.._value\", indx);
   chan = indx - 1; if(chan >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(chan < 10)
   { sprintf(nam2,\"%s0%d\", name, chan);
   } else
   { sprintf(nam2,\"%s%d\" , name, chan);
   }
/*
   sprintf(dstr,\" Lev2: %s\", nam2);
   setValue(\"CommInfo\",\"text\", dstr);    delay(2);                 /* Debug */

   dpGet(\"SCTmops1:Indi09.IndxL3:_original.._value\", indx);
     switch(indx)
   { case  1: lvca =  1;  lvix =  0;  hvca =  2;  hivo = 0; break;
     case  2: lvca =  1;  hvix =  0;  hvca =  2;  hivo = 1; break;
     case  3: lvca =  3;  lvix =  1;  hvca =  2;  hivo = 0; break;
     case  4: lvca =  4;  lvix =  2;  hvca =  5;  hivo = 0; break;
     case  5: lvca =  4;  hvix =  1;  hvca =  5;  hivo = 1; break;
     case  6: lvca =  6;  lvix =  3;  hvca =  5;  hivo = 0; break;
     case  7: lvca =  7;  lvix =  4;  hvca =  8;  hivo = 0; break;
     case  8: lvca =  7;  hvix =  2;  hvca =  8;  hivo = 1; break;
     case  9: lvca =  9;  lvix =  5;  hvca =  8;  hivo = 0; break;
     case 10: lvca = 10;  lvix =  6;  hvca = 11;  hivo = 0; break;
     case 11: lvca = 10;  hvix =  3;  hvca = 11;  hivo = 1; break;
     case 12: lvca = 12;  lvix =  7;  hvca = 11;  hivo = 0; break;
     case 13: lvca = 13;  lvix =  8;  hvca = 14;  hivo = 0; break;
     case 14: lvca = 13;  hvix =  4;  hvca = 14;  hivo = 1; break;
     case 15: lvca = 15;  lvix =  9;  hvca = 14;  hivo = 0; break;
     case 16: lvca = 16;  lvix = 10;  hvca = 17;  hivo = 0; break;
     case 17: lvca = 16;  hvix =  5;  hvca = 17;  hivo = 1; break;
     case 18: lvca = 18;  lvix = 11;  hvca = 17;  hivo = 0; break;
     default: lvca =  0;  lvix = -1;  hvca =  0;  hivo = 2;
                          hvix = -1;
   }
     if(hivo == 0)
   { card = lvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"LV_card\");
       if(card < 10)
     { sprintf(nam3,\"LV_card0%d\", card);
     } else
     { sprintf(nam3,\"LV_card%d\" , card);
     }
   } else
   { card = hvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"HV_card\");
       if(card < 10)
     { sprintf(nam3,\"HV_card0%d\", card);
     } else
     { sprintf(nam3,\"HV_card%d\" , card);
     }
   }
     if(card >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
/*
   sprintf(dstr,\" Lev3: %s\", nam3);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   dpGet(\"SCTmops1:Indi09.IndxL4:_original.._value\", indx);
   crat = indx - 1; if(crat >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
/*
   sprintf(dstr,\" Lev4: %s\", nam4);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Rack\");
   dpGet(\"SCTmops1:Indi09.IndxL5:_original.._value\", indx);
   rack = indx - 1; if(rack >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(rack < 10)
   { sprintf(nam5,\"%s0%d\", name, rack);
   } else
   { sprintf(nam5,\"%s%d\" , name, rack);
   }
/*
   sprintf(dstr,\" Lev5: %s\", nam5);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   crat = (rack * 4) + crat;
     if(crat < 10)
   { sprintf(nam4,\"Crate0%d.Controller\", crat);
   } else
   { sprintf(nam4,\"Crate%d.Controller\" , crat);
   }
   sprintf(name,\"%s\", nam4);
/**/
   sprintf(dstr,
          \" Crate_DP_Name: %s; Para's Names -> Indi09, Conn=%d\", name, conn);
   setValue(\"CommInfo\",\"backCol\",\"Green\");
   setValue(\"CommInfo\",\"text\", dstr);     delay(1);                /* Debug */
/*!!
   conn = 0;                         /* Should be closed in \"... by Click\"  */
     if(conn > 0)
   { dpGet(\"SCTmops1:Indi09.Name41:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName41\", old_para);
//     dpDisconnect(\"CommGet_StatName41\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.CC_Reset.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name41:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName41\", new_para);
//   dpConnect(\"CommGet_StatName41\", new_para);  /* If Stat                   */

     if(conn > 0)
   { dpGet(\"SCTmops1:Indi09.Name42:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName42\", old_para);
//     dpDisconnect(\"CommGet_StatName42\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.CCch_Set.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name42:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName42\", new_para);
//   dpConnect(\"CommGet_StatName42\", new_para);  /* If Stat                   */

     if(conn > 0)
   { dpGet(\"SCTmops1:Indi09.Name43:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName43\", old_para);
//     dpDisconnect(\"CommGet_StatName43\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.CCchRead.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name43:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName43\", new_para);
//   dpConnect(\"CommGet_StatName43\", new_para);  /* If Stat                   */

     if(crat < 10)
   { sprintf(name,\"Crate0%d\", crat);
   } else
   { sprintf(name,\"Crate%d\" , crat);
   }
     if(conn > 0)                    /* Crate (Unit) State and Status       */
   { dpGet(\"SCTmops1:Indi09.Name45:_original.._value\", old_para);
     dpDisconnect(\"ShowUnitState\", old_para);
     dpDisconnect(\"CommUnitState\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.Stat:_original.._value\", nam4);
   dpSet(\"SCTmops1:Indi09.Name45:_original.._value\", new_para);
   dpConnect(\"ShowUnitState\", new_para);
   dpConnect(\"CommUnitState\", new_para);

   setValue(\"ConfInfo\",\"backCol\",\"[20,40,60]\");
   setValue(\"ConfInfo\",\"text\", \"\");
 }

 CommSet_StatName41(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatSet_Name41\",\"text\", stri);
 }

 CommGet_StatName41(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatGet_Name41\",\"text\", stri);
 }

 CommSet_StatName42(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatSet_Name42\",\"text\", stri);
 }

 CommGet_StatName42(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatGet_Name42\",\"text\", stri);
 }
 
 CommSet_StatName43(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatSet_Name43\",\"text\", stri);
 }

 CommGet_StatName43(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatGet_Name43\",\"text\", stri);
 }

/* SHOW WRITE/READ/STAT/EROR BITS OF THE DEVICE STATE AND STATUS            */
/*                                                                          */
 CommUnitState(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"UnitStatCommIndi\",\"text\", stri);
 }

 void ShowUnitState(string Dapo, int Stat)
 { int    stat, bits;
   string para, stri;
   
   dpGet(\"SCTmops1:Indi09.Name45:_original.._value\", para);
   dpGet(para, stat);
   sprintf(stri,\"%2X\", stat);
   bits = (stat & 0xC0) >> 6;
   sprintf(stri,\"%X\", bits);       setValue(\"UnitReadBits\",\"text\", stri);
   bits = (stat & 0x30) >> 4;
   sprintf(stri,\"%X\", bits);       setValue(\"UnitWritBits\",\"text\", stri);
   bits = (stat &  0xC) >> 2;
   sprintf(stri,\"%X\", bits);       setValue(\"UnitStatBits\",\"text\", stri);
   bits =  stat &  0x3;
   sprintf(stri,\"%X\", bits);       setValue(\"UnitErorBits\",\"text\", stri);
     if((stat & 0xC) == 0x0)         /* Unit is OFF the configuration       */
   { setValue(\"UnitErorBits\",\"backCol\",\"Grey\");
   } else     
   {  switch(bits)
     { case  0: setValue(\"UnitErorBits\",\"backCol\",\"Green\");  break;   /*Norm*/
       case  1: setValue(\"UnitErorBits\",\"backCol\",\"Red\");    break;   /*Fatl*/
       case  2: setValue(\"UnitErorBits\",\"backCol\",\"Yellow\"); break;   /*Warn*/
       case  3: setValue(\"UnitErorBits\",\"backCol\",\"Grey\");   break;   /*Disb*/
       default: setValue(\"UnitErorBits\",\"backCol\",\"White\");  break;
     }
   }
 } " 0
 E E "/* Connect Crate by Name
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                     MANUAL CRATE CONTROLLER BY NAME                      */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Button is starting of Manual Controller
                   based on DCS_Name
                   
   MODIF_HISTORY:  04.02.2002 - first version
                   16.06.2003 -  2-nd version for MoPS project
/*===================================-======================================*/

main()
{ ConnectCrate_Comm();
}

 ConnectCrate_Comm()
 {    int rack, crat, card, lvca, lvix, hvca, hvix, hivo, chan, indx, conn;
   string nam5, nam4, nam3, nam2, name, old_para, new_para, dstr;

   sprintf(name,\"Channel\");
   dpGet(\"SCTmops1:Indi09.IndxL2:_original.._value\", indx);
   chan = indx - 1; if(chan >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(chan < 10)
   { sprintf(nam2,\"%s0%d\", name, chan);
   } else
   { sprintf(nam2,\"%s%d\" , name, chan);
   }
/*
   sprintf(dstr,\" Lev2: %s\", nam2);
   setValue(\"CommInfo\",\"text\", dstr);    delay(2);                 /* Debug */

   dpGet(\"SCTmops1:Indi09.IndxL3:_original.._value\", indx);
     switch(indx)
   { case  1: lvca =  1;  lvix =  0;  hvca =  2;  hivo = 0; break;
     case  2: lvca =  1;  hvix =  0;  hvca =  2;  hivo = 1; break;
     case  3: lvca =  3;  lvix =  1;  hvca =  2;  hivo = 0; break;
     case  4: lvca =  4;  lvix =  2;  hvca =  5;  hivo = 0; break;
     case  5: lvca =  4;  hvix =  1;  hvca =  5;  hivo = 1; break;
     case  6: lvca =  6;  lvix =  3;  hvca =  5;  hivo = 0; break;
     case  7: lvca =  7;  lvix =  4;  hvca =  8;  hivo = 0; break;
     case  8: lvca =  7;  hvix =  2;  hvca =  8;  hivo = 1; break;
     case  9: lvca =  9;  lvix =  5;  hvca =  8;  hivo = 0; break;
     case 10: lvca = 10;  lvix =  6;  hvca = 11;  hivo = 0; break;
     case 11: lvca = 10;  hvix =  3;  hvca = 11;  hivo = 1; break;
     case 12: lvca = 12;  lvix =  7;  hvca = 11;  hivo = 0; break;
     case 13: lvca = 13;  lvix =  8;  hvca = 14;  hivo = 0; break;
     case 14: lvca = 13;  hvix =  4;  hvca = 14;  hivo = 1; break;
     case 15: lvca = 15;  lvix =  9;  hvca = 14;  hivo = 0; break;
     case 16: lvca = 16;  lvix = 10;  hvca = 17;  hivo = 0; break;
     case 17: lvca = 16;  hvix =  5;  hvca = 17;  hivo = 1; break;
     case 18: lvca = 18;  lvix = 11;  hvca = 17;  hivo = 0; break;
     default: lvca =  0;  lvix = -1;  hvca =  0;  hivo = 2;
                          hvix = -1;
   }
     if(hivo == 0)
   { card = lvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"LV_card\");
       if(card < 10)
     { sprintf(nam3,\"LV_card0%d\", card);
     } else
     { sprintf(nam3,\"LV_card%d\" , card);
     }
   } else
   { card = hvix;
     dpSet(\"SCTmops1:Indi09.Name00:_original.._value\",\"HV_card\");
       if(card < 10)
     { sprintf(nam3,\"HV_card0%d\", card);
     } else
     { sprintf(nam3,\"HV_card%d\" , card);
     }
   }
     if(card >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
/*
   sprintf(dstr,\" Lev3: %s\", nam3);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Crate\");
   dpGet(\"SCTmops1:Indi09.IndxL4:_original.._value\", indx);
   crat = indx - 1; if(crat >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(crat < 10)
   { sprintf(nam4,\"%s0%d\", name, crat);
   } else
   { sprintf(nam4,\"%s%d\" , name, crat);
   }
/*
   sprintf(dstr,\" Lev4: %s\", nam4);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   sprintf(name,\"Rack\");
   dpGet(\"SCTmops1:Indi09.IndxL5:_original.._value\", indx);
   rack = indx - 1; if(rack >= 0)
   { conn = 1;
   } else
   { conn = 0;
   }
     if(rack < 10)
   { sprintf(nam5,\"%s0%d\", name, rack);
   } else
   { sprintf(nam5,\"%s%d\" , name, rack);
   }
/*
   sprintf(dstr,\" Lev5: %s\", nam5);
   setValue(\"CommInfo\",\"text\", dstr);     delay(2);                /* Debug */

   crat = (rack * 4) + crat;
     if(crat < 10)
   { sprintf(nam4,\"Crate0%d.Controller\", crat);
   } else
   { sprintf(nam4,\"Crate%d.Controller\" , crat);
   }
   sprintf(name,\"%s\", nam4);
/**/
   sprintf(dstr,
          \" Crate_DP_Name: %s; Para's Names -> Indi09, Conn=%d\", name, conn);
   setValue(\"CommInfo\",\"backCol\",\"Green\");
   setValue(\"CommInfo\",\"text\", dstr);     delay(1);                /* Debug */
/*!!*/
   conn = 0;                         /* Should be closed in \"... by Click\"  */
     if(conn > 0)
   { dpGet(\"SCTmops1:Indi09.Name41:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName41\", old_para);
//     dpDisconnect(\"CommGet_StatName41\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.CC_Reset.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name41:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName41\", new_para);
//   dpConnect(\"CommGet_StatName41\", new_para);  /* If Stat                   */

     if(conn > 0)
   { dpGet(\"SCTmops1:Indi09.Name42:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName42\", old_para);
//     dpDisconnect(\"CommGet_StatName42\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.CCch_Set.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name42:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName42\", new_para);
//   dpConnect(\"CommGet_StatName42\", new_para);  /* If Stat                   */

     if(conn > 0)
   { dpGet(\"SCTmops1:Indi09.Name43:_original.._value\", old_para);
     dpDisconnect(\"CommSet_StatName43\", old_para);
//     dpDisconnect(\"CommGet_StatName43\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.CCchRead.Send:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name43:_original.._value\", new_para);
   dpConnect(\"CommSet_StatName43\", new_para);
//   dpConnect(\"CommGet_StatName43\", new_para);  /* If Stat                   */

     if(crat < 10)
   { sprintf(name,\"Crate0%d\", crat);
   } else
   { sprintf(name,\"Crate%d\" , crat);
   }
     if(conn > 0)                    /* Crate (Unit) State and Status       */
   { dpGet(\"SCTmops1:Indi09.Name45:_original.._value\", old_para);
     dpDisconnect(\"ShowUnitState\", old_para);
     dpDisconnect(\"CommUnitState\", old_para);
   }
   sprintf(new_para,\"SCTmops1:%s.Stat:_original.._value\", name);
   dpSet(\"SCTmops1:Indi09.Name45:_original.._value\", new_para);
   dpConnect(\"ShowUnitState\", new_para);
   dpConnect(\"CommUnitState\", new_para);

   setValue(\"ConfInfo\",\"backCol\",\"[20,40,60]\");
   setValue(\"ConfInfo\",\"text\", \"\");
 }

 CommSet_StatName41(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatSet_Name41\",\"text\", stri);
 }

 CommGet_StatName41(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatGet_Name41\",\"text\", stri);
 }

 CommSet_StatName42(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatSet_Name42\",\"text\", stri);
 }

 CommGet_StatName42(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatGet_Name42\",\"text\", stri);
 }

  CommSet_StatName43(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatSet_Name43\",\"text\", stri);
 }

 CommGet_StatName43(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\",Stat);
   setValue(\"CommStatGet_Name43\",\"text\", stri);
 }

/* SHOW WRITE/READ/STAT/EROR BITS OF THE DEVICE STATE AND STATUS            */
/*                                                                          */
 CommUnitState(string Dapo, int Stat)
 { string stri;
 
   sprintf(stri,\"%2X\", Stat);
   setValue(\"UnitStatCommIndi\",\"text\", stri);
 }

 void ShowUnitState(string Dapo, int Stat)
 { int    stat, bits;
   string para, stri;
   
   dpGet(\"SCTmops1:Indi09.Name45:_original.._value\", para);
   dpGet(para, stat);
   sprintf(stri,\"%2X\", stat);
   bits = (stat & 0xC0) >> 6;
   sprintf(stri,\"%X\", bits);       setValue(\"UnitReadBits\",\"text\", stri);
   bits = (stat & 0x30) >> 4;
   sprintf(stri,\"%X\", bits);       setValue(\"UnitWritBits\",\"text\", stri);
   bits = (stat &  0xC) >> 2;
   sprintf(stri,\"%X\", bits);       setValue(\"UnitStatBits\",\"text\", stri);
   bits =  stat &  0x3;
   sprintf(stri,\"%X\", bits);       setValue(\"UnitErorBits\",\"text\", stri);
     if((stat & 0xC) == 0x0)         /* Unit is OFF the configuration       */
   { setValue(\"UnitErorBits\",\"backCol\",\"Grey\");
   } else     
   {  switch(bits)
     { case  0: setValue(\"UnitErorBits\",\"backCol\",\"Green\");  break;   /*Norm*/
       case  1: setValue(\"UnitErorBits\",\"backCol\",\"Red\");    break;   /*Fatl*/
       case  2: setValue(\"UnitErorBits\",\"backCol\",\"Yellow\"); break;   /*Warn*/
       case  3: setValue(\"UnitErorBits\",\"backCol\",\"Grey\");   break;   /*Disb*/
       default: setValue(\"UnitErorBits\",\"backCol\",\"White\");  break;
     }
   }
 }" 0

14 547
"UnitReadBits"
""
1 270 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
403 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
268 88 292 115
3 "s" 0 0 0 0 0 0 
E
E
E
14 548
"UnitWritBits"
""
1 295 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
404 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
293 88 317 115
3 "s" 0 0 0 0 0 0 
E
E
E
14 549
"UnitStatBits"
""
1 320 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
405 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
318 88 342 115
3 "s" 0 0 0 0 0 0 
E
E
E
14 550
"UnitErorBits"
""
1 345 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
406 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
343 88 367 115
3 "s" 0 0 0 0 0 0 
E
E
E
14 552
"CommDataSet_Name24"
""
1 750 290 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
408 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
748 288 812 315
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name24
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name24:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 692
"CommDataGet_Name16"
""
1 570 260 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
546 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
568 258 632 285
3 "s" 0 0 0 0 0 0 
E
E
E
14 693
"CommDataGet_Name17"
""
1 570 290 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
547 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
568 288 632 315
3 "s" 0 0 0 0 0 0 
E
E
E
14 694
"CommDataGet_Name18"
""
1 570 320 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
548 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
568 318 632 345
3 "s" 0 0 0 0 0 0 
E
E
E
14 695
"CommDataGet_Name19"
""
1 570 350 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
549 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
568 348 632 375
3 "s" 0 0 0 0 0 0 
E
E
E
14 699
"CommDataGet_Name24"
""
1 820 290 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
553 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
818 288 882 315
3 "s" 0 0 0 0 0 0 
E
E
E
14 700
"CommDataGet_Name26"
""
1 820 320 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
554 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
818 318 882 345
3 "s" 0 0 0 0 0 0 
E
E
E
14 701
"CommDataGet_Name27"
""
1 820 350 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
555 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
818 348 882 375
3 "s" 0 0 0 0 0 0 
E
E
E
14 707
"CommStatSet_Name22"
""
1 750 200 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
561 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
748 198 812 225
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Stat by Name22
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name22:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 712
"CommStatSet_Name21"
""
1 750 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
566 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
748 168 812 195
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Stat by Name21
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name21:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 725
"CommStatSet_Name20"
""
1 750 140 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
579 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
748 138 812 165
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Stat by Name20
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name20:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 726
"CommDataSet_Name19"
""
1 500 350 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
580 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
498 348 562 375
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name19
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name19:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 727
"CommDataSet_Name18"
""
1 500 320 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
581 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
498 318 562 345
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name18
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name18:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 728
"CommDataSet_Name17"
""
1 500 290 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
582 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
498 288 562 315
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name17
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name17:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 729
"CommDataSet_Name16"
""
1 500 260 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
583 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
498 258 562 285
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name16
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name16:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 730
"CommDataSet_Name26"
""
1 750 320 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
584 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
748 318 812 345
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name26
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name26:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 731
"CommDataSet_Name27"
""
1 750 350 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
585 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
748 348 812 375
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name27
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name27:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 740
"CommStatSet_Name43"
""
1 100 150 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
594 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
98 148 162 175
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Stat by Name43
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name43:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 741
"CommStatSet_Name42"
""
1 100 120 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
595 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
98 118 162 145
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Stat by Name42
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name42:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 742
"CommStatSet_Name41"
""
1 100 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
596 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
98 88 162 115
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Stat by Name41
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name41:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 744
"CommStatSet_Name37"
""
1 320 240 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
598 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
318 238 382 265
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Stat by Name37
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  dpSet(\"SCTmops1:Iinp.Name:_original.._value\", \"HV\");
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name37:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 853
"ConfInfo"
""
1 20 10 E E E 1 E 1 E N "_WindowText" E N {51,102,153} E E
 E E
707 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
18 8 872 35
3 "s" 0 0 0 0 0 0 
E
E
E
14 861
"CommDataGet_Name02"
""
1 570 140 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
715 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
568 138 632 165
3 "s" 0 0 0 0 0 0 
E
E
E
14 862
"CommDataGet_Name06"
""
1 570 170 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
716 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
568 168 632 195
3 "s" 0 0 0 0 0 0 
E
E
E
14 863
"CommDataGet_Name10"
""
1 570 200 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
717 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
568 198 632 225
3 "s" 0 0 0 0 0 0 
E
E
E
14 864
"CommDataGet_Name12"
""
1 570 230 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
718 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
568 228 632 255
3 "s" 0 0 0 0 0 0 
E
E
E
14 865
"CommDataSet_Name12"
""
1 500 230 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
719 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
498 228 562 255
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name12
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name12:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 866
"CommDataSet_Name10"
""
1 500 200 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
720 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
498 198 562 225
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name10
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name10:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 867
"CommDataSet_Name06"
""
1 500 170 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
721 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
498 168 562 195
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name06
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name06:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 868
"CommDataSet_Name02"
""
1 500 140 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
722 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
498 138 562 165
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name02
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para, dstr;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name02:_original.._value\", para);
/*
  sprintf(dstr,\" Para: %s; Stri: %s; Data=%3.1f\", para, stri, data);
  setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
  setValue(\"ConfInfo\",\"text\", dstr);      delay(2);                /* Debug */
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 967
"CommStatSet_Name34"
""
1 100 240 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
821 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
98 238 162 265
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Stat by Name34
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  dpSet(\"SCTmops1:Iinp.Name:_original.._value\", \"LV\");
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name34:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 976
"CommDataSet_Name35"
""
1 100 270 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
830 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
98 268 162 295
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Data by Name35
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT DATA FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ float        data;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Data:_original.._value\", this.text);
  dpSet(\"SCTmops1:Iinp.Name:_original.._value\", \"LV\");
  sprintf(stri, this.text);
  sscanf(stri,\"%f\", data);
  dpSet(\"SCTmops1:Iinp.Data:_original.._value\", data);
  dpGet(\"SCTmops1:Indi09.Name35:_original.._value\", para);
  dpSet(para, data);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 977
"CommDataGet_Name35"
""
1 170 270 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E
 E E
831 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
168 268 232 295
3 "s" 0 0 0 0 0 0 
E
E
E
14 985
"LVcaNumb_Comm"
""
1 100 300 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
 E E
837 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-11,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
98 298 125 323
3 "s" 0 0 0 0 0 0 
E
E
E
14 987
"HVcaNumb_Comm"
""
1 320 300 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
 E E
839 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-110-100-100-*-*-iso8859-1|-11,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
318 298 345 323
3 "s" 0 0 0 0 0 0 
E
E
E
21 988
"MoniChanNumb"
""
1 880 440 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
 E E
839 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
878 438 922 465
0
E
"/* Level_02 Name Index
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                   NAME INDEX OF LEVEL_02 FOR SCT_DCS                     */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This SpinButton defines the Name Index of Level_02

   MODIF_HISTORY:  08.11.2001 - first version
/*===================================-======================================*/

main()
{ dyn_errClass eror;

  dpSetWait(\"SCTmops1:Indi09.IndxL2:_original.._value\", this.text);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

E

N 1 48 1 1 0 1
21 989
"MoniCardNumb"
""
1 745 440 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
 E E
840 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
743 438 787 465
0
E
"/* Level_03 Name Index
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                   NAME INDEX OF LEVEL_03 FOR SCT_DCS                     */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This SpinButton defines the Name Index of Level_03

   MODIF_HISTORY:  08.11.2001 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ dyn_errClass eror;

  dpSetWait(\"SCTmops1:Indi09.IndxL3:_original.._value\", this.text);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

E

N 1 18 1 1 0 1
21 990
"MoniCratNumb"
""
1 610 440 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
 E E
841 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
608 438 652 465
0
E
"/* Level_04 Name Index
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                   NAME INDEX OF LEVEL_04 FOR SCT_DCS                     */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This SpinButton defines the Name Index of Level_04

   MODIF_HISTORY:  08.11.2001 - first version
/*===================================-======================================*/

main()
{ dyn_errClass eror;

  dpSetWait(\"SCTmops1:Indi09.IndxL4:_original.._value\", this.text);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

E

N 1 4 1 1 0 1
21 991
"MoniRackNumb"
""
1 470 440 E E E 1 E 1 E N "_WindowText" E N {255,255,255} E E
 E E
842 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
468 438 512 465
0
E
"/* Level_05 Name Index
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                   NAME INDEX OF LEVEL_01 FOR SCT_DCS                     */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This SpinButton defines the Name Index of Level_05

   MODIF_HISTORY:  08.11.2001 - first version
/*===================================-======================================*/

main()
{ dyn_errClass eror;

  dpSetWait(\"SCTmops1:Indi09.IndxL5:_original.._value\", this.text);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

E

N 1 4 1 1 0 1
13 992
"Button7"
""
1 220 400 E E E 1 E 1 E N "_3DText" E N {204,204,102} E E
 E E
843 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
218 398 392 427
T 
1
LANG:1 23 Create General SCT DPs 
"/* DaPo Creator
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                        SYSTEM DATA_POINTs CREATOR                        */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Button contains the Script for \"standard\" SCT DCS
                   DataPoint Types and DataPoint Elements creating

   MODIF_HISTORY:  12.02.2003 - first version
                   09.05.2003 - 2-nd  version, DPT & DP structure is changed,
                                               DDC_commands are added
/*-----------------------------------=--------------------------------------
   NAME VERSIONS:  01 - SCT Cooling
                   02 - SCT Barrel & Environment
                   03 - SCT Modules & Power Supplies
  ===================================-======================================*/

main()
{ int      lvca, hvca, lvch, hvch, para, len1, len2;
  int      host, node, port, unit, chan, dapo;
  int      hmax, nmax, pmax, umax, cmax, lmax;
  int      lvmx, hvmx, lvca_max  , hvca_max  , crmx;
  int      s00i, s01i, s02i, s03i,   /* String '**' of Integer(s)           */
           s04i, s05i, s06i, s07i, s08i, s09i, s10i, s11i, s12i, s13i;
  int      int1, int2, eror, serr;
  string   snam, fstr, addr, name, tipe, estr, stri;
  dyn_dyn_string std0, std1, std2, std3, std4, std5, std6, std7;
  dyn_dyn_int    ind0, ind1, ind2, ind3, ind4, ind5, ind6, ind7;
  file           finp;

  int1=0; while(int1 < 9)            /* 9 - Max_number of PVSS systems      */
  { snam = getSystemName(int1);
    int2 = strlen(snam); if(int2 > 0)
    {
/*
      setValue(\"ConfInfo\",\"text\",snam); delay(2);                  /* Debug */
      strreplace(snam,\":\",\"\");          sprintf(stri, snam);
      strreplace(stri,\"SCTmops\",\"\");    break;
    } int1++;
  } sscanf(stri,\"%d\", host);
  sprintf(stri, snam);                  strreplace(stri,\"mops\",\"\");
  len1 = strlen(snam);                  len2 = strlen(stri);
    if(len2 >= len1)
  { setValue(\"ConfInfo\",\"backCol\",\"Red\");
    setValue(\"ConfInfo\",\"text\",\"ERROR: PVSS_DB is not for MoPS \");
    setValue(\"CommInfo\",\"backCol\",\"Red\");
    setValue(\"CommInfo\",\"text\",\" PUSH 'Close' BUTTON \");
    sprintf(estr,\"\\n DCS ERROR: PVSS_DB is not for MoPS: %s \", snam);
    Debug(estr);
    while(1) { delay(1); }
  }
  setValue(\"ConfInfo\",\"backCol\",\"cyan\");
  sprintf(stri,\" SCTmops%d CONFIGs LOADING...\",host);
  setValue(\"ConfInfo\",\"text\",stri);     delay(2);                  /* Debug */

  finp = fopen(\"Cnf_Syst.txt\",\"r\");  /* System parameters reading from CF   */
  eror = ferror(finp);
    if(!eror)
  { fgets(fstr, 300, finp);          /* Skip the first line                 */
    fgets(fstr, 300, finp);
    sscanf(fstr,\"%d %d %d %d %d %d %d %d %d %d %d %d\",
      s00i, s01i, s02i, s03i, s04i, s05i, s06i, s07i, s08i, s09i, s10i, s11i);
    hmax = s01i;  nmax = s02i;  pmax = s03i;      umax = s04i;    cmax = s05i;
    lvmx = s06i;  hvmx = s07i;  lvca_max = s08i;  hvca_max = s09i;
    crmx = s10i;  lmax = s11i;
/**/
    setValue(\"ConfInfo\",\"backCol\",\"Green\");
    sprintf(stri,
     \" LVparMax=%d, HVparMax=%d, lvCAparMax=%d, hvCAparMax=%d, CRparMax = %d\",
                                 lvmx, hvmx, lvca_max, hvca_max, crmx);
    setValue(\"ConfInfo\",\"text\", stri);                             /* Debug */
    setValue(\"CommInfo\",\"backCol\",\"cyan\");
    sprintf(stri,\" Hmax=%d, Nmax=%d, Pmax=%d, Umax=%d, Cmax=%d, LimiMax=%d\",
                                 hmax, nmax, pmax, umax, cmax, lmax);
    setValue(\"CommInfo\",\"text\", stri);  delay(2);                  /* Debug */
    fclose(finp);
  } else
  { sprintf(estr,\" ERROR: 'Cnf_Syst.txt' File opening, push 'Close' \");
    setValue(\"ConfInfo\",\"backCol\",\"Red\"); setValue(\"ConfInfo\",\"text\", estr);
    sprintf(estr,
           \"\\n DCS ERROR: 'Cnf_Syst.txt' File opening in %s Cont_pnl \",snam);
    Debug(estr);
    while(1) { delay(1); }
  }
/*PS_stat_send DPT*/                 /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_stat_send' creating...\"); delay(1);
  std0[1]= makeDynString(\"ps_stat_send\",\"\"); ind0[1]= makeDynInt(DPEL_STRUCT);
//  std0[ ]= makeDynString(\"\",\"Name\");  ind0[ ]= makeDynInt(0,DPEL_STRING);
//  std0[ ]= makeDynString(\"\",\"Stat\");  ind0[ ]= makeDynInt(0,DPEL_INT);
  std0[2]= makeDynString(\"\",\"Send\");    ind0[2]= makeDynInt(0,DPEL_INT);
//  std0[ ]= makeDynString(\"\",\"Recv\");  ind0[ ]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_stat_send' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_stat_send' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_stat_send' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*PS_stat_recv DPT*/                 /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_stat_recv' creating...\"); delay(1);
  std0[1]= makeDynString(\"ps_stat_recv\",\"\"); ind0[1]= makeDynInt(DPEL_STRUCT);
//  std0[ ]= makeDynString(\"\",\"Name\");    ind0[ ]= makeDynInt(0,DPEL_STRING);
//  std0[ ]= makeDynString(\"\",\"Stat\");    ind0[ ]= makeDynInt(0,DPEL_INT);
//  std0[ ]= makeDynString(\"\",\"Send\");    ind0[ ]= makeDynInt(0,DPEL_INT);
  std0[2]= makeDynString(\"\",\"Recv\");    ind0[2]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_stat_recv' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_stat_recv' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_stat_recv' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*PS_data_send DPT*/                 /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_data_send' creating...\"); delay(1);
  std0[1]= makeDynString(\"ps_data_send\",\"\"); ind0[1]= makeDynInt(DPEL_STRUCT);
//  std0[ ]= makeDynString(\"\",\"Name\");    ind0[ ]= makeDynInt(0,DPEL_STRING);
//  std0[ ]= makeDynString(\"\",\"Comm\");    ind0[ ]= makeDynInt(0,DPEL_FLOAT);
  std0[2]= makeDynString(\"\",\"Send\");    ind0[2]= makeDynInt(0,DPEL_FLOAT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_data_send' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_data_send' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_data_send' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*PS_data_recv DPT*/                 /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_data_recv' creating...\"); delay(1);
  std0[1]= makeDynString(\"ps_data_recv\",\"\"); ind0[1]= makeDynInt(DPEL_STRUCT);
//  std0[ ]= makeDynString(\"\",\"Name\");    ind0[ ]= makeDynInt(0,DPEL_STRING);
//  std0[ ]= makeDynString(\"\",\"Comm\");    ind0[ ]= makeDynInt(0,DPEL_FLOAT);
//  std0[ ]= makeDynString(\"\",\"Send\");    ind0[ ]= makeDynInt(0,DPEL_INT);
  std0[2]= makeDynString(\"\",\"Recv\");    ind0[2]= makeDynInt(0,DPEL_FLOAT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_data_recv' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_data_recv' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_data_recv' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*PS_stat_dupl DPT*/                 /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_stat_dupl' creating...\"); delay(1);
  std0[1]= makeDynString(\"ps_stat_dupl\",\"\"); ind0[1]= makeDynInt(DPEL_STRUCT);
//  std0[ ]= makeDynString(\"\",\"Name\");    ind0[ ]= makeDynInt(0,DPEL_STRING);
//  std0[ ]= makeDynString(\"\",\"Stat\");    ind0[ ]= makeDynInt(0,DPEL_INT);
  std0[2]= makeDynString(\"\",\"Send\");    ind0[ 2]= makeDynInt(0,DPEL_INT);
  std0[3]= makeDynString(\"\",\"Recv\");    ind0[ 3]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_stat_dupl' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_stat_dupl' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_stat_dupl' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*PS_data_dupl DPT*/                 /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_data_dupl' creating...\"); delay(1);
  std0[1]= makeDynString(\"ps_data_dupl\",\"\"); ind0[1]= makeDynInt(DPEL_STRUCT);
//  std0[ ]= makeDynString(\"\",\"Name\");    ind0[ ]= makeDynInt(0,DPEL_STRING);
//  std0[ ]= makeDynString(\"\",\"Comm\");    ind0[ ]= makeDynInt(0,DPEL_FLOAT);
  std0[2]= makeDynString(\"\",\"Send\");    ind0[2]= makeDynInt(0,DPEL_FLOAT);
  std0[3]= makeDynString(\"\",\"Recv\");    ind0[3]= makeDynInt(0,DPEL_FLOAT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_data_dupl' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_data_dupl' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_data_dupl' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*PS_alert DPT*/                     /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_alert' creating...\"); delay(1);
  std0[1]= makeDynString(\"ps_alert\",\"\"); ind0[1]= makeDynInt(DPEL_STRUCT);
  std0[2]= makeDynString(\"\",\"Message\");  ind0[2]= makeDynInt(0,DPEL_STRING);
  std0[3]= makeDynString(\"\",\"CameWent\"); ind0[3]= makeDynInt(0,DPEL_INT);
  std0[4]= makeDynString(\"\",\"Counter\");  ind0[4]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_alert' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_alert' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_alert' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DDC_Comm DPT*/                     /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DdcCommand' creating...\");   delay(1);
  std0[1]= makeDynString(\"DdcCommand\",\"\"); ind0[1]= makeDynInt(DPEL_STRUCT);
  std0[2]= makeDynString(\"\",\"trigger\");    ind0[2]= makeDynInt(0,DPEL_BOOL);
  std0[3]= makeDynString(\"\",\"parameters\"); ind0[3]= makeDynInt(0,DPEL_STRING);
  std0[4]= makeDynString(\"\",\"response\");   ind0[4]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DdcCommand' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DdcCommand' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DdcCommand' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DCS_Sett DPT*/                     /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DCS_Settings' creating...\"); delay(1);
  std0[ 1]= makeDynString(
                      \"DCS_Settings\",\"\"); ind0[ 1]= makeDynInt(DPEL_STRUCT);
  std0[ 2]= makeDynString(\"\",\"Name\");     ind0[ 2]= makeDynInt(0,DPEL_STRING);
  std0[ 3]= makeDynString(\"\",\"Indx\");     ind0[ 3]= makeDynInt(0,DPEL_INT);
  std0[ 4]= makeDynString(\"\",\"Stat\");     ind0[ 4]= makeDynInt(0,DPEL_UINT);
  std0[ 5]= makeDynString(\"\",\"Data\");     ind0[ 5]= makeDynInt(0,DPEL_FLOAT);
  std0[ 6]= makeDynString(\"\",\"Numb\");     ind0[ 6]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DCS_Settings' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DCS_Settings' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DCS_Settings' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*MPS_Sett DPT*/                     /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'MPS_Settings' creating...\"); delay(1);
  std0[ 1]= makeDynString(
                      \"MPS_Settings\",\"\"); ind0[ 1]= makeDynInt(DPEL_STRUCT);
  std0[ 2]= makeDynString(\"\",\"Name\");     ind0[ 2]= makeDynInt(0,DPEL_STRING);
  std0[ 3]= makeDynString(\"\",\"Indx\");     ind0[ 3]= makeDynInt(0,DPEL_INT);
  std0[ 4]= makeDynString(\"\",\"Stat\");     ind0[ 4]= makeDynInt(0,DPEL_UINT);
  std0[ 5]= makeDynString(\"\",\"Data\");     ind0[ 5]= makeDynInt(0,DPEL_FLOAT);
  std0[ 6]= makeDynString(\"\",\"Numb\");     ind0[ 6]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'MPS_Settings' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'MPS_Settings' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'MPS_Settings' creating Error: %d\",eror); serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DDC_Arbi DPT*/                     /* DPTypes are ordered by std0['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DdcArbiter' creating...\");   delay(1);
  std0[1]= makeDynString(\"DdcArbiter\",\"\"); ind0[1]=makeDynInt(DPEL_STRUCT);
  std0[2]= makeDynString(\"\",\"Hold\");       ind0[2]= makeDynInt(0,DPEL_INT);
  std0[3]= makeDynString(\"\",\"Req1\");       ind0[3]= makeDynInt(0,DPEL_INT);
  std0[4]= makeDynString(\"\",\"Req2\");       ind0[4]= makeDynInt(0,DPEL_INT);
  std0[5]= makeDynString(\"\",\"Req3\");       ind0[5]= makeDynInt(0,DPEL_INT);
  std0[6]= makeDynString(\"\",\"Req4\");       ind0[6]= makeDynInt(0,DPEL_INT);
  std0[7]= makeDynString(\"\",\"Next\");       ind0[7]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std0, ind0);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DdcArbiter' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DdcArbiter' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DdcArbiter' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*HV_card DPT*/                      /* DPTypes are ordered by std1['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\"); /* DPT position for hvca_max = 2  */
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'hv_card' creating...\");   delay(1);
  std1[ 1]= makeDynString(\"hv_card\",\"\");  ind1[ 1]= makeDynInt(DPEL_STRUCT);
  para=0; while(para < hvca_max)
  {   switch(para)
    { case  0: sprintf(stri,\"HVcaStat\"); break;
      case  1: sprintf(stri,\"HVcaMask\"); break;
      default: sprintf(stri,\"NoHcaNam\");
    }
/**/
    setValue(\"ConfInfo\",\"text\", stri);  delay(1);                  /* Debug */
      if(para == 0)
    { std1[para + 2] = makeDynString (\"\",stri,\"ps_stat_recv\",\"\",\"\");
      ind1[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    } else
    { std1[para + 2] = makeDynString (\"\",stri,\"ps_stat_send\",\"\",\"\");
      ind1[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    } para++;
  }
  eror = dpTypeCreate(std1,ind1);
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'hv_card' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'hv_card' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'hv_card' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*PS_crate DPT*/                     /* DPTypes are ordered by std1['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\"); /* DPT position for crmx = 3      */
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_crate' creating...\");   delay(1);
  std1[ 1]= makeDynString(\"ps_crate\",\"\"); ind1[ 1]= makeDynInt(DPEL_STRUCT);
  para=0; while(para < crmx)
  {   switch(para)
    { case  0: sprintf(stri,\"CC_Reset\"); break;
      case  1: sprintf(stri,\"CCch_Set\"); break;
      case  2: sprintf(stri,\"CCchRead\"); break;
      default: sprintf(stri,\"NoCrName\");
    }
/**/
    setValue(\"ConfInfo\",\"text\", stri);  delay(1);                  /* Debug */
    std1[para + 2] = makeDynString (\"\",stri,\"ps_stat_send\",\"\",\"\");
    ind1[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    para++;
  }
  eror = dpTypeCreate(std1, ind1);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_crate' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_crate' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_crate' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*LV_card DPT*/                      /* DPTypes are ordered by std1['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\"); /* DPT position for lvca_max = 5  */
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'lv_card' creating...\");   delay(1);
  std1[ 1]= makeDynString(\"lv_card\",\"\");  ind1[ 1]= makeDynInt(DPEL_STRUCT);
  para=0; while(para < lvca_max)
  {   switch(para)
    { case  0: sprintf(stri,\"LVcaStat\"); break;
      case  1: sprintf(stri,\"LVcaTemp\"); break;
      case  2: sprintf(stri,\"LVcaPowr\"); break;
      case  3: sprintf(stri,\"LVcaMask\"); break;
      case  4: sprintf(stri,\"LVcaTrip\"); break;
      default: sprintf(stri,\"NoLcaNam\");
    }
/**/
    setValue(\"ConfInfo\",\"text\", stri);  delay(1);                  /* Debug */
      if(para == 0)
    { std1[para + 2] = makeDynString (\"\",stri,\"ps_stat_recv\",\"\",\"\");
      ind1[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if((para > 0) && (para < 3))
    { std1[para + 2] = makeDynString (\"\",stri,\"ps_data_recv\",\"\",\"\");
      ind1[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para == 3)
    { std1[para + 2] = makeDynString (\"\",stri,\"ps_stat_send\",\"\",\"\");
      ind1[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para > 3)
    { std1[para + 2] = makeDynString (\"\",stri,\"ps_data_send\",\"\",\"\");
      ind1[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    } para++;
  }
  eror = dpTypeCreate(std1, ind1);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'lv_card' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'lv_card' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'lv_card' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DCS_Limi DPT*/                     /* DPTypes are ordered by std1['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DCS_Limi' creating...\");   delay(1);
  std1[ 1]= makeDynString(\"DCS_Limi\",\"\"); ind1[ 1]= makeDynInt(DPEL_STRUCT);
  std1[ 2]= makeDynString(\"\",\"Name\");     ind1[ 2]= makeDynInt(0,DPEL_STRING);
  std1[ 3]= makeDynString(\"\",\"Delt\");     ind1[ 3]= makeDynInt(0,DPEL_FLOAT);
  std1[ 4]= makeDynString(\"\",\"AlrL\");     ind1[ 4]= makeDynInt(0,DPEL_FLOAT);
  std1[ 5]= makeDynString(\"\",\"WarL\");     ind1[ 5]= makeDynInt(0,DPEL_FLOAT);
  std1[ 6]= makeDynString(\"\",\"Norm\");     ind1[ 6]= makeDynInt(0,DPEL_FLOAT);
  std1[ 7]= makeDynString(\"\",\"WarH\");     ind1[ 7]= makeDynInt(0,DPEL_FLOAT);
  std1[ 8]= makeDynString(\"\",\"AlrH\");     ind1[ 8]= makeDynInt(0,DPEL_FLOAT);
  eror = dpTypeCreate(std1, ind1);
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DCS_Limi' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DCS_Limi' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DCS_Limi' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*GP_chan DPT*/                     /* DPTypes are ordered by std1['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'gp_chan' creating...\");   delay(1);
  std1[ 1]= makeDynString(\"gp_chan\",\"\");  ind1[ 1]= makeDynInt(DPEL_STRUCT);
  std1[ 2]= makeDynString(\"\",\"Stat\");     ind1[ 2]= makeDynInt(0,DPEL_UINT);
  std1[ 3]= makeDynString(\"\",\"Name\");     ind1[ 3]= makeDynInt(0,DPEL_STRING);
  std1[ 4]= makeDynString(\"\",\"Iden\");     ind1[ 4]= makeDynInt(0,DPEL_STRING);
  std1[ 5]= makeDynString(\"\",\"Data\");     ind1[ 5]= makeDynInt(0,DPEL_FLOAT);
  std1[ 6]= makeDynString(\"\",\"RawV\");     ind1[ 6]= makeDynInt(0,DPEL_INT);
  std1[ 7]= makeDynString(\"\",\"CalA\");     ind1[ 7]= makeDynInt(0,DPEL_FLOAT);
  std1[ 8]= makeDynString(\"\",\"CalB\");     ind1[ 8]= makeDynInt(0,DPEL_FLOAT);
  std1[ 9]= makeDynString(\"\",\"CalC\");     ind1[ 9]= makeDynInt(0,DPEL_FLOAT);
  std1[10]= makeDynString(\"\",\"CalD\");     ind1[10]= makeDynInt(0,DPEL_FLOAT);
  std1[11]= makeDynString(\"\",\"CalE\");     ind1[11]= makeDynInt(0,DPEL_FLOAT);
  std1[12]= makeDynString(\"\",\"CalR\");     ind1[12]= makeDynInt(0,DPEL_FLOAT);
  std1[13]= makeDynString(\"\",\"Conv\");     ind1[13]= makeDynInt(0,DPEL_FLOAT);
  std1[14]= makeDynString(\"\",\"Cref\");     ind1[14]= makeDynInt(0,DPEL_FLOAT);
  std1[15]= makeDynString(\"\",\"Limi\");     ind1[15]= makeDynInt(0,DPEL_FLOAT);
//  std1[16]= makeDynString(\"\",\"Time\");   ind1[16]= makeDynInt(0,DPEL_STRUCT);
//  std1[17]= makeDynString(\"\",\"Rsv1\");   ind1[17]= makeDynInt(0,DPEL_STRUCT);
//  std1[18]= makeDynString(\"\",\"Rsv2\");   ind1[18]= makeDynInt(0,DPEL_STRUCT);
  eror = dpTypeCreate(std1, ind1);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'gp_chan' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'gp_chan' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'gp_chan' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DCS_Hist DPT*/                     /* DPTypes are ordered by std1['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DCS_Hist' creating...\");   delay(1);
  std1[ 1]= makeDynString(\"DCS_Hist\",\"\"); ind1[ 1]= makeDynInt(DPEL_STRUCT);
  std1[ 2]= makeDynString(\"\",\"Name01\");   ind1[ 2]= makeDynInt(0,DPEL_STRING);
  std1[ 3]= makeDynString(\"\",\"Bins01\");   ind1[ 3]= makeDynInt(0,DPEL_INT);
  std1[ 4]= makeDynString(\"\",\"Hour01\");   ind1[ 4]= makeDynInt(0,DPEL_INT);
  std1[ 5]= makeDynString(\"\",\"Name02\");   ind1[ 5]= makeDynInt(0,DPEL_STRING);
  std1[ 6]= makeDynString(\"\",\"Bins02\");   ind1[ 6]= makeDynInt(0,DPEL_INT);
  std1[ 7]= makeDynString(\"\",\"Hour02\");   ind1[ 7]= makeDynInt(0,DPEL_INT);
  std1[ 8]= makeDynString(\"\",\"Name03\");   ind1[ 8]= makeDynInt(0,DPEL_STRING);
  std1[ 9]= makeDynString(\"\",\"Bins03\");   ind1[ 9]= makeDynInt(0,DPEL_INT);
  std1[10]= makeDynString(\"\",\"Hour03\");   ind1[10]= makeDynInt(0,DPEL_INT);
  std1[11]= makeDynString(\"\",\"Name04\");   ind1[11]= makeDynInt(0,DPEL_STRING);
  std1[12]= makeDynString(\"\",\"Bins04\");   ind1[12]= makeDynInt(0,DPEL_INT);
  std1[13]= makeDynString(\"\",\"Hour04\");   ind1[13]= makeDynInt(0,DPEL_INT);
  std1[14]= makeDynString(\"\",\"Name05\");   ind1[14]= makeDynInt(0,DPEL_STRING);
  std1[15]= makeDynString(\"\",\"Bins05\");   ind1[15]= makeDynInt(0,DPEL_INT);
  std1[16]= makeDynString(\"\",\"Hour05\");   ind1[16]= makeDynInt(0,DPEL_INT);
  std1[17]= makeDynString(\"\",\"Name06\");   ind1[17]= makeDynInt(0,DPEL_STRING);
  std1[18]= makeDynString(\"\",\"Bins06\");   ind1[18]= makeDynInt(0,DPEL_INT);
  std1[19]= makeDynString(\"\",\"Hour06\");   ind1[19]= makeDynInt(0,DPEL_INT);
  std1[20]= makeDynString(\"\",\"Name07\");   ind1[20]= makeDynInt(0,DPEL_STRING);
  std1[21]= makeDynString(\"\",\"Bins07\");   ind1[21]= makeDynInt(0,DPEL_INT);
  std1[22]= makeDynString(\"\",\"Hour07\");   ind1[22]= makeDynInt(0,DPEL_INT);
  std1[23]= makeDynString(\"\",\"Name08\");   ind1[23]= makeDynInt(0,DPEL_STRING);
  std1[24]= makeDynString(\"\",\"Bins08\");   ind1[24]= makeDynInt(0,DPEL_INT);
  std1[25]= makeDynString(\"\",\"Hour08\");   ind1[25]= makeDynInt(0,DPEL_INT);
//  std1[ ]= makeDynString(\"\",\"File\");     ind1[ ]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std1, ind1);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DCS_Hist' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DCS_Hist' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DCS_Hist' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DCS_Plot DPT*/                     /* DPTypes are ordered by std1['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DCS_Plot' creating...\");   delay(1);
  std1[ 1]= makeDynString(\"DCS_Plot\",\"\"); ind1[ 1]= makeDynInt(DPEL_STRUCT);
  std1[ 2]= makeDynString(\"\",\"Name00\");   ind1[ 2]= makeDynInt(0,DPEL_STRING);
  std1[ 3]= makeDynString(\"\",\"Name01\");   ind1[ 3]= makeDynInt(0,DPEL_STRING);
  std1[ 4]= makeDynString(\"\",\"Name02\");   ind1[ 4]= makeDynInt(0,DPEL_STRING);
  std1[ 5]= makeDynString(\"\",\"Name03\");   ind1[ 5]= makeDynInt(0,DPEL_STRING);
  std1[ 6]= makeDynString(\"\",\"Name04\");   ind1[ 6]= makeDynInt(0,DPEL_STRING);
  std1[ 7]= makeDynString(\"\",\"Name05\");   ind1[ 7]= makeDynInt(0,DPEL_STRING);
  std1[ 8]= makeDynString(\"\",\"Name06\");   ind1[ 8]= makeDynInt(0,DPEL_STRING);
  std1[ 9]= makeDynString(\"\",\"Name07\");   ind1[ 9]= makeDynInt(0,DPEL_STRING);
  std1[10]= makeDynString(\"\",\"Name08\");   ind1[10]= makeDynInt(0,DPEL_STRING);
  std1[11]= makeDynString(\"\",\"Name09\");   ind1[11]= makeDynInt(0,DPEL_STRING);
  std1[12]= makeDynString(\"\",\"Name10\");   ind1[12]= makeDynInt(0,DPEL_STRING);
  std1[13]= makeDynString(\"\",\"Name11\");   ind1[13]= makeDynInt(0,DPEL_STRING);
  std1[14]= makeDynString(\"\",\"Name12\");   ind1[14]= makeDynInt(0,DPEL_STRING);
  std1[15]= makeDynString(\"\",\"Name13\");   ind1[15]= makeDynInt(0,DPEL_STRING);
  std1[16]= makeDynString(\"\",\"Name14\");   ind1[16]= makeDynInt(0,DPEL_STRING);
  std1[17]= makeDynString(\"\",\"Name15\");   ind1[17]= makeDynInt(0,DPEL_STRING);
  std1[18]= makeDynString(\"\",\"Name16\");   ind1[18]= makeDynInt(0,DPEL_STRING);
  std1[19]= makeDynString(\"\",\"NameL1\");   ind1[19]= makeDynInt(0,DPEL_STRING);
  std1[20]= makeDynString(\"\",\"IndxL1\");   ind1[20]= makeDynInt(0,DPEL_INT);
  std1[21]= makeDynString(\"\",\"NameL2\");   ind1[21]= makeDynInt(0,DPEL_STRING);
  std1[22]= makeDynString(\"\",\"IndxL2\");   ind1[22]= makeDynInt(0,DPEL_INT);
  std1[23]= makeDynString(\"\",\"NameL3\");   ind1[23]= makeDynInt(0,DPEL_STRING);
  std1[24]= makeDynString(\"\",\"IndxL3\");   ind1[24]= makeDynInt(0,DPEL_INT);
  std1[25]= makeDynString(\"\",\"NameL4\");   ind1[25]= makeDynInt(0,DPEL_STRING);
  std1[26]= makeDynString(\"\",\"IndxL4\");   ind1[26]= makeDynInt(0,DPEL_INT);
  std1[27]= makeDynString(\"\",\"NameL5\");   ind1[27]= makeDynInt(0,DPEL_STRING);
  std1[28]= makeDynString(\"\",\"IndxL5\");   ind1[28]= makeDynInt(0,DPEL_INT);
  std1[29]= makeDynString(\"\",\"File\");     ind1[29]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std1, ind1);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DCS_Plot' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DCS_Plot' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DCS_Plot' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DCS_Indi DPT*/                     /* DPTypes are ordered by std1['leng'] */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DCS_Indi' creating...\");   delay(1);
  std1[ 1]= makeDynString(\"DCS_Indi\",\"\"); ind1[ 1]= makeDynInt(DPEL_STRUCT);
  std1[ 2]= makeDynString(\"\",\"Name00\");   ind1[ 2]= makeDynInt(0,DPEL_STRING);
  std1[ 3]= makeDynString(\"\",\"Name01\");   ind1[ 3]= makeDynInt(0,DPEL_STRING);
  std1[ 4]= makeDynString(\"\",\"Name02\");   ind1[ 4]= makeDynInt(0,DPEL_STRING);
  std1[ 5]= makeDynString(\"\",\"Name03\");   ind1[ 5]= makeDynInt(0,DPEL_STRING);
  std1[ 6]= makeDynString(\"\",\"Name04\");   ind1[ 6]= makeDynInt(0,DPEL_STRING);
  std1[ 7]= makeDynString(\"\",\"Name05\");   ind1[ 7]= makeDynInt(0,DPEL_STRING);
  std1[ 8]= makeDynString(\"\",\"Name06\");   ind1[ 8]= makeDynInt(0,DPEL_STRING);
  std1[ 9]= makeDynString(\"\",\"Name07\");   ind1[ 9]= makeDynInt(0,DPEL_STRING);
  std1[10]= makeDynString(\"\",\"Name08\");   ind1[10]= makeDynInt(0,DPEL_STRING);
  std1[11]= makeDynString(\"\",\"Name09\");   ind1[11]= makeDynInt(0,DPEL_STRING);
  std1[12]= makeDynString(\"\",\"Name10\");   ind1[12]= makeDynInt(0,DPEL_STRING);
  std1[13]= makeDynString(\"\",\"Name11\");   ind1[13]= makeDynInt(0,DPEL_STRING);
  std1[14]= makeDynString(\"\",\"Name12\");   ind1[14]= makeDynInt(0,DPEL_STRING);
  std1[15]= makeDynString(\"\",\"Name13\");   ind1[15]= makeDynInt(0,DPEL_STRING);
  std1[16]= makeDynString(\"\",\"Name14\");   ind1[16]= makeDynInt(0,DPEL_STRING);
  std1[17]= makeDynString(\"\",\"Name15\");   ind1[17]= makeDynInt(0,DPEL_STRING);
  std1[18]= makeDynString(\"\",\"Name16\");   ind1[18]= makeDynInt(0,DPEL_STRING);
  std1[19]= makeDynString(\"\",\"Name17\");   ind1[19]= makeDynInt(0,DPEL_STRING);
  std1[20]= makeDynString(\"\",\"Name18\");   ind1[20]= makeDynInt(0,DPEL_STRING);
  std1[21]= makeDynString(\"\",\"Name19\");   ind1[21]= makeDynInt(0,DPEL_STRING);
  std1[22]= makeDynString(\"\",\"Name20\");   ind1[22]= makeDynInt(0,DPEL_STRING);
  std1[23]= makeDynString(\"\",\"Name21\");   ind1[23]= makeDynInt(0,DPEL_STRING);
  std1[24]= makeDynString(\"\",\"Name22\");   ind1[24]= makeDynInt(0,DPEL_STRING);
  std1[25]= makeDynString(\"\",\"Name23\");   ind1[25]= makeDynInt(0,DPEL_STRING);
  std1[26]= makeDynString(\"\",\"Name24\");   ind1[26]= makeDynInt(0,DPEL_STRING);
  std1[27]= makeDynString(\"\",\"Name25\");   ind1[27]= makeDynInt(0,DPEL_STRING);
  std1[28]= makeDynString(\"\",\"Name26\");   ind1[28]= makeDynInt(0,DPEL_STRING);
  std1[29]= makeDynString(\"\",\"Name27\");   ind1[29]= makeDynInt(0,DPEL_STRING);
  std1[30]= makeDynString(\"\",\"Name28\");   ind1[30]= makeDynInt(0,DPEL_STRING);
  std1[31]= makeDynString(\"\",\"Name29\");   ind1[31]= makeDynInt(0,DPEL_STRING);
  std1[32]= makeDynString(\"\",\"Name30\");   ind1[32]= makeDynInt(0,DPEL_STRING);
  std1[33]= makeDynString(\"\",\"Name31\");   ind1[33]= makeDynInt(0,DPEL_STRING);
  std1[34]= makeDynString(\"\",\"Name32\");   ind1[34]= makeDynInt(0,DPEL_STRING);
  std1[35]= makeDynString(\"\",\"Name33\");   ind1[35]= makeDynInt(0,DPEL_STRING);
  std1[36]= makeDynString(\"\",\"Name34\");   ind1[36]= makeDynInt(0,DPEL_STRING);
  std1[37]= makeDynString(\"\",\"Name35\");   ind1[37]= makeDynInt(0,DPEL_STRING);
  std1[38]= makeDynString(\"\",\"Name36\");   ind1[38]= makeDynInt(0,DPEL_STRING);
  std1[39]= makeDynString(\"\",\"Name37\");   ind1[39]= makeDynInt(0,DPEL_STRING);
  std1[40]= makeDynString(\"\",\"Name38\");   ind1[40]= makeDynInt(0,DPEL_STRING);
  std1[41]= makeDynString(\"\",\"Name39\");   ind1[41]= makeDynInt(0,DPEL_STRING);
  std1[42]= makeDynString(\"\",\"Name40\");   ind1[42]= makeDynInt(0,DPEL_STRING);
  std1[43]= makeDynString(\"\",\"Name41\");   ind1[43]= makeDynInt(0,DPEL_STRING);
  std1[44]= makeDynString(\"\",\"Name42\");   ind1[44]= makeDynInt(0,DPEL_STRING);
  std1[45]= makeDynString(\"\",\"Name43\");   ind1[45]= makeDynInt(0,DPEL_STRING);
  std1[46]= makeDynString(\"\",\"Name44\");   ind1[46]= makeDynInt(0,DPEL_STRING);
  std1[47]= makeDynString(\"\",\"Name45\");   ind1[47]= makeDynInt(0,DPEL_STRING);
  std1[48]= makeDynString(\"\",\"Name46\");   ind1[48]= makeDynInt(0,DPEL_STRING);
  std1[49]= makeDynString(\"\",\"Name47\");   ind1[49]= makeDynInt(0,DPEL_STRING);
  std1[50]= makeDynString(\"\",\"Name48\");   ind1[50]= makeDynInt(0,DPEL_STRING);
  std1[51]= makeDynString(\"\",\"NameL1\");   ind1[51]= makeDynInt(0,DPEL_STRING);
  std1[52]= makeDynString(\"\",\"IndxL1\");   ind1[52]= makeDynInt(0,DPEL_INT);
  std1[53]= makeDynString(\"\",\"NameL2\");   ind1[53]= makeDynInt(0,DPEL_STRING);
  std1[54]= makeDynString(\"\",\"IndxL2\");   ind1[54]= makeDynInt(0,DPEL_INT);
  std1[55]= makeDynString(\"\",\"NameL3\");   ind1[55]= makeDynInt(0,DPEL_STRING);
  std1[56]= makeDynString(\"\",\"IndxL3\");   ind1[56]= makeDynInt(0,DPEL_INT);
  std1[57]= makeDynString(\"\",\"NameL4\");   ind1[57]= makeDynInt(0,DPEL_STRING);
  std1[58]= makeDynString(\"\",\"IndxL4\");   ind1[58]= makeDynInt(0,DPEL_INT);
  std1[59]= makeDynString(\"\",\"NameL5\");   ind1[59]= makeDynInt(0,DPEL_STRING);
  std1[60]= makeDynString(\"\",\"IndxL5\");   ind1[60]= makeDynInt(0,DPEL_INT);
  std1[61]= makeDynString(\"\",\"File\");     ind1[61]= makeDynInt(0,DPEL_INT);
  eror = dpTypeCreate(std1, ind1);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DCS_Indi' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DCS_Indi' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DCS_Indi' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DCS_Unit DPT*/
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DCS_Unit' creating...\");
                                        delay(1);
  std2[ 1] = makeDynString (\"DCS_Unit\",\"\",\"\",\"\");
  ind2[ 1] = makeDynInt (DPEL_STRUCT);  int1=0;
  chan=0; while(chan < cmax)
  {   if(chan < 10)
    { sprintf(stri,\"Chan0%d\",chan); 
    } else
    { sprintf(stri,\"Chan%d\" ,chan);
    }
/**/
      if(int1 == 0)
    { setValue(\"ConfInfo\",\"text\", stri); delay(1);
    } int1++; if(int1 == 10)
    { int1 = 0;
    }                                /*      GP: General Purpose            */
    std2[chan + 2] = makeDynString (\"\",stri,\"gp_chan\",\"\",\"\");
    ind2[chan + 2] = makeDynInt (0,DPEL_TYPEREF);
    chan++;
  }
/**/
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
  sprintf(stri,\"Chan99\");            /* Default Chan                        */ 
  std2[chan + 2] = makeDynString (\"\",stri,\"gp_chan\",\"\",\"\");
  ind2[chan + 2] = makeDynInt (0,DPEL_TYPEREF);
  std2[chan + 3] = makeDynString(\"\",\"Stat\",\"\",\"\");
  ind2[chan + 3] = makeDynInt(0,DPEL_UINT);
  std2[chan + 4] = makeDynString(\"\",\"Name\",\"\",\"\");
  ind2[chan + 4] = makeDynInt(0,DPEL_STRING);
  std2[chan + 5] = makeDynString(\"\",\"Iden\",\"\",\"\");
  ind2[chan + 5] = makeDynInt(0,DPEL_STRING);
  std2[chan + 6] = makeDynString(\"\",\"Vadc\",\"\",\"\");
  ind2[chan + 6] = makeDynInt(0,DPEL_FLOAT);
//  std2[chan + 7] = makeDynString(\"\",\"Time\",\"\",\"\");
//  ind2[chan + 7] = makeDynInt(0,DPEL_STRUCT);
//  std2[chan + 8] = makeDynString(\"\",\"Rsv1\",\"\",\"\");
//  ind2[chan + 8] = makeDynInt(0,DPEL_STRUCT);
//  std2[chan + 9] = makeDynString(\"\",\"Rsv2\",\"\",\"\");
//  ind2[chan + 9] = makeDynInt(0,DPEL_STRUCT);
//  std2[chan +10] = makeDynString(\"\",\"OPCerror\",\"\",\"\");
//  ind2[chan +10] = makeDynInt(0,DPEL_STRUCT);
  eror = dpTypeCreate(std2,ind2);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DCS_Unit' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DCS_Unit' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DCS_Unit' creating Error: %d\", eror);
      serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*PS_chan DPT*/
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'ps_chan' creating...\");   delay(1);
  std3[ 1] = makeDynString (\"ps_chan\",\"\",\"\",\"\");
  ind3[ 1] = makeDynInt (DPEL_STRUCT);
  para=0; while(para < lvmx)
  {   switch(para)
    { case  0: sprintf(stri,\"LVchStat\"); break;
      case  1: sprintf(stri,\"LVch_Vcc\"); break;
      case  2: sprintf(stri,\"LVps_Vcc\"); break;
      case  3: sprintf(stri,\"LVretVcc\"); break;
      case  4: sprintf(stri,\"LVch_Icc\"); break;
      case  5: sprintf(stri,\"LVch_Vdd\"); break;
      case  6: sprintf(stri,\"LVps_Vdd\"); break;
      case  7: sprintf(stri,\"LVretVdd\"); break;
      case  8: sprintf(stri,\"LVch_Idd\"); break;
      case  9: sprintf(stri,\"LVchVCSV\"); break;
      case 10: sprintf(stri,\"LVchVCSI\"); break;
      case 11: sprintf(stri,\"LVchPINV\"); break;
      case 12: sprintf(stri,\"LVchPINI\"); break;
      case 13: sprintf(stri,\"MOch_Tm0\"); break;
      case 14: sprintf(stri,\"MOch_Tm1\"); break;
      case 15: sprintf(stri,\"LVchDTrp\"); break;
      case 16: sprintf(stri,\"LVchCTrp\"); break;
      case 17: sprintf(stri,\"LVchTLim\"); break;
      case 18: sprintf(stri,\"LVchTTrp\"); break;
      case 19: sprintf(stri,\"LVchCLKS\"); break;
      case 20: sprintf(stri,\"LVchCLKR\"); break;
      case 21: sprintf(stri,\"LVchVOut\"); break;
      default: sprintf(stri,\"NoLchNam\");
    }
/**/
    setValue(\"ConfInfo\",\"text\", stri);  delay(1);                  /* Debug */
      if(para == 0)
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_stat_recv\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para == 1)
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_dupl\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if((para > 1) && (para < 5))
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_recv\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para == 5)
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_dupl\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if((para > 5) && (para < 9))
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_recv\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para == 9)
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_dupl\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para == 10)
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_recv\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para == 11)
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_dupl\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if((para > 11) && (para < 15))
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_recv\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if((para > 14) && (para < 19))
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_data_send\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para > 18)
    { std3[para + 2] = makeDynString (\"\",stri,\"ps_stat_send\",\"\",\"\");
      ind3[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    } para++;
  }
  para=0; while(para < hvmx)
  {   switch(para)
    { case  0: sprintf(stri,\"HVchStat\"); break;
      case  1: sprintf(stri,\"HVchVolt\"); break;
      case  2: sprintf(stri,\"HVchCurr\"); break;
      case  3: sprintf(stri,\"HVchITrp\"); break;
      case  4: sprintf(stri,\"HVchRamp\"); break;
      default: sprintf(stri,\"NoHchNam\");
    }
/**/
    setValue(\"ConfInfo\",\"text\", stri);  delay(1);                  /* Debug */
      if(para == 0)
    { std3[para + lvmx + 2] = makeDynString (\"\",stri,\"ps_stat_recv\",\"\",\"\");
      ind3[para + lvmx + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para == 1)
    { std3[para + lvmx + 2] = makeDynString (\"\",stri,\"ps_data_dupl\",\"\",\"\");
      ind3[para + lvmx + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para == 2)
    { std3[para + lvmx + 2] = makeDynString (\"\",stri,\"ps_data_recv\",\"\",\"\");
      ind3[para + lvmx + 2] = makeDynInt (0,DPEL_TYPEREF);
    }
      if(para > 2)
    { std3[para + lvmx + 2] = makeDynString (\"\",stri,\"ps_data_send\",\"\",\"\");
      ind3[para + lvmx + 2] = makeDynInt (0,DPEL_TYPEREF);
    } para++;
  }
  std3[para + lvmx + 2] = makeDynString(\"\",\"LV_Stat\");
  ind3[para + lvmx + 2] = makeDynInt(0,DPEL_UINT);
  std3[para + lvmx + 3] = makeDynString(\"\",\"HV_Stat\");
  ind3[para + lvmx + 3] = makeDynInt(0,DPEL_UINT);
  std3[para + lvmx + 4] = makeDynString (\"\",\"WarnMesg\",\"ps_alert\",\"\",\"\");
  ind3[para + lvmx + 4] = makeDynInt (0,DPEL_TYPEREF);
  std3[para + lvmx + 5] = makeDynString (\"\",\"FatlMesg\",\"ps_alert\",\"\",\"\");
  ind3[para + lvmx + 5] = makeDynInt (0,DPEL_TYPEREF);
  eror = dpTypeCreate(std3,ind3);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'ps_chan' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'ps_chan' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'ps_chan' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*MPS_Crates DPT*/
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'MPS_Crates' creating...\");  delay(1);
  std4[ 1] = makeDynString (\"MPS_Crates\",\"\",\"\",\"\");
  ind4[ 1] = makeDynInt (DPEL_STRUCT);
  lvca=0;  hvca=0;  chan=0;  para=0;
    while(chan < cmax)
  { int1=0; while(int1 < 8)          /* 8 - Chan-s number in HV-card        */
    {   if(chan < 10)
      { sprintf(stri,\"Channel0%d\", chan);
      } else
      { sprintf(stri,\"Channel%d\" , chan);
      }
      std4[para + 2] = makeDynString (\"\",stri,\"ps_chan\",\"\",\"\");
      ind4[para + 2] = makeDynInt (0,DPEL_TYPEREF);
      int1++;  chan++;  para++;
    }
      if(lvca < 10)
    { sprintf(stri,\"LV_card0%d\", lvca);
    } else
    { sprintf(stri,\"LV_card%d\" , lvca);
    } lvca++;
    std4[para + 2] = makeDynString (\"\",stri,\"lv_card\",\"\",\"\");
    ind4[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    para++;
      if(hvca < 10)
    { sprintf(stri,\"HV_card0%d\", hvca);
    } else
    { sprintf(stri,\"HV_card%d\" , hvca);
    } hvca++;
    std4[para + 2] = makeDynString (\"\",stri,\"hv_card\",\"\",\"\");
    ind4[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    para++;
      if(lvca < 10)
    { sprintf(stri,\"LV_card0%d\", lvca);
    } else
    { sprintf(stri,\"LV_card%d\" , lvca);
    } lvca++;
    std4[para + 2] = makeDynString (\"\",stri,\"lv_card\",\"\",\"\");
    ind4[para + 2] = makeDynInt (0,DPEL_TYPEREF);
    para++;
  }
  std4[para + 2] = makeDynString (\"\",\"Controller\",\"ps_crate\",\"\",\"\");
  ind4[para + 2] = makeDynInt (0,DPEL_TYPEREF);
  std4[para + 3] = makeDynString(\"\",\"Stat\");
  ind4[para + 3] = makeDynInt(0,DPEL_UINT);
  std4[para + 4] = makeDynString (\"\",\"WarnMesg\",\"ps_alert\",\"\",\"\");
  ind4[para + 4] = makeDynInt (0,DPEL_TYPEREF);
  std4[para + 5] = makeDynString (\"\",\"FatlMesg\",\"ps_alert\",\"\",\"\");
  ind4[para + 5] = makeDynInt (0,DPEL_TYPEREF);
//  std4[chan + 6] = makeDynString(\"\",\"Name\",\"\",\"\");
//  ind4[chan + 6] = makeDynInt(0,DPEL_STRING);
//  std4[chan + 7] = makeDynString(\"\",\"Iden\",\"\",\"\");
//  ind4[chan + 7] = makeDynInt(0,DPEL_STRING);
  eror = dpTypeCreate(std4,ind4);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'MPS_Crates' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'MPS_Crates' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'MPS_Crates' creating Error: %d\", eror);
      serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*GP_port DPT*/
  setValue(\"ConfInfo\",\"backCol\",\"Green\"); serr = 0;
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'gp_port' creating...\");   delay(1);
  std5[ 1]= makeDynString(\"gp_port\",\"\");
  ind5[ 1]= makeDynInt(DPEL_STRUCT);
  std5[ 2] = makeDynString(\"\",\"Stat\");
  ind5[ 2] = makeDynInt(0,DPEL_UINT);
  std5[ 3] = makeDynString(\"\",\"Name\");
  ind5[ 3] = makeDynInt(0,DPEL_STRING);
  std5[ 4] = makeDynString(\"\",\"Iden\");
  ind5[ 4] = makeDynInt(0,DPEL_STRING);
  std5[ 5] = makeDynString(\"\",\"Baud\");
  ind5[ 5] = makeDynInt(0,DPEL_INT);
//  std5[ 6] = makeDynString(\"\",\"Time\");
//  ind5[ 6] = makeDynInt(0,DPEL_STRUCT);
//  std5[ 7] = makeDynString(\"\",\"Rsv1\");
//  ind5[ 7] = makeDynInt(0,DPEL_STRUCT);
//  std5[ 8] = makeDynString(\"\",\"Rsv2\");
//  ind5[ 8] = makeDynInt(0,DPEL_STRUCT);
//  std5[ 9] = makeDynString(\"\",\"OPCerror\");
//  ind5[ 9] = makeDynInt(0,DPEL_STRUCT);
  eror = dpTypeCreate(std5, ind5);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'gp_port' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'gp_port' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'gp_port' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*GP_node DPT*/
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'gp_node' creating...\");   delay(1);
  std6[ 1] = makeDynString (\"gp_node\",\"\",\"\",\"\");
  ind6[ 1] = makeDynInt(DPEL_STRUCT);
  port=0; while(port < pmax)
  { sprintf(stri,\"Port0%d\",port);
/**/
    setValue(\"ConfInfo\",\"text\", stri);  delay(1);                  /* Debug */
    std6[port + 2] = makeDynString (\"\",stri,\"gp_port\",\"\",\"\");
    ind6[port + 2] = makeDynInt (0,DPEL_TYPEREF);
    port++;
  }
  std6[port + 2] = makeDynString(\"\",\"Stat\",\"\",\"\");
  ind6[port + 2] = makeDynInt(0,DPEL_UINT);
  std6[port + 3] = makeDynString(\"\",\"Name\",\"\",\"\");
  ind6[port + 3] = makeDynInt(0,DPEL_STRING);
  std6[port + 4] = makeDynString(\"\",\"Iden\",\"\",\"\");
  ind6[port + 4] = makeDynInt(0,DPEL_STRING);
  std6[port + 5] = makeDynString(\"\",\"Queu\",\"\",\"\");
  ind6[port + 5] = makeDynInt(0,DPEL_INT);
  std6[port + 6] = makeDynString(\"\",\"Tout\",\"\",\"\");
  ind6[port + 6] = makeDynInt(0,DPEL_INT);
//  std6[port + 7] = makeDynString(\"\",\"Time\",\"\",\"\");
//  ind6[port + 7] = makeDynInt(0,DPEL_STRUCT);
//  std6[port + 8] = makeDynString(\"\",\"Rsv1\",\"\",\"\");
//  ind6[port + 8] = makeDynInt(0,DPEL_STRUCT);
//  std6[port + 9] = makeDynString(\"\",\"Rsv2\",\"\",\"\");
//  ind6[port + 9] = makeDynInt(0,DPEL_STRUCT);
  eror = dpTypeCreate(std6,ind6);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'gp_node' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'gp_node' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'gp_node' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DCS_Host DPT*/
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
  setValue(\"ConfInfo\",\"text\",\" DP_Type 'DCS_Host' creating...\");   delay(1);
  std7[ 1] = makeDynString(\"DCS_Host\",\"\");
  ind7[ 1] = makeDynInt(DPEL_STRUCT);
  node=0; while(node < nmax)
  { sprintf(stri,\"Node0%d\",node);
/**/
    setValue(\"ConfInfo\",\"text\", stri);  delay(1);                  /* Debug */
    std7[node + 2] = makeDynString (\"\",stri,\"gp_node\",\"\",\"\");
    ind7[node + 2] = makeDynInt (0,DPEL_TYPEREF);
    node++;
  }
  std7[node + 2] = makeDynString(\"\",\"Stat\");
  ind7[node + 2] = makeDynInt(0,DPEL_UINT);
  std7[node + 3] = makeDynString(\"\",\"Name\");
  ind7[node + 3] = makeDynInt(0,DPEL_STRING);
  std7[node + 4] = makeDynString(\"\",\"Iden\");
  ind7[node + 4] = makeDynInt(0,DPEL_STRING);
  std7[node + 5] = makeDynString(\"\",\"Pmon\");
  ind7[node + 5] = makeDynInt(0,DPEL_INT);
  std7[node + 6] = makeDynString(\"\",\"Scan\");
  ind7[node + 6] = makeDynInt(0,DPEL_INT);
  std7[node + 7] = makeDynString(\"\",\"Simu\");
  ind7[node + 7] = makeDynInt(0,DPEL_INT);
  std7[node + 8] = makeDynString(\"\",\"Tout\");
  ind7[node + 8] = makeDynInt(0,DPEL_INT);
//  std7[node +  9] = makeDynString(\"\",\"Time\");
//  ind7[node +  9] = makeDynInt(0,DPEL_STRUCT);
//  std7[node + 10] = makeDynString(\"\",\"Rsv1\");
//  ind7[node + 10] = makeDynInt(0,DPEL_STRUCT);
//  std7[node + 11] = makeDynString(\"\",\"Rsv2\");
//  ind7[node + 11] = makeDynInt(0,DPEL_STRUCT);
//  std7[node + 12] = makeDynString(\"\",\"OPCerror\");
//  ind7[node + 12] = makeDynInt(0,DPEL_STRUCT);
  eror = dpTypeCreate(std7, ind7);
/**/
    if(eror == 0)
  { sprintf(stri,\" DP_Type 'DCS_Host' created\");
  } else
  { setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      if(eror == -1)
    { sprintf(stri,\" DP_Type 'DCS_Host' already exists\");
    } else
    { sprintf(stri,\" DP_Type 'DCS_Host' creating Error: %d\", eror);  serr++;
    }
  }
  setValue(\"ConfInfo\",\"text\", stri);    delay(1);                  /* Debug */
/*DataPoints*/
  setValue(\"ConfInfo\",\"backCol\",\"cyan\");
  setValue(\"ConfInfo\",\"text\",\" General SCT DataPoints creating...\"); delay(2);
  dapo=0; while(dapo < 8)
  {   switch(dapo)
    { case   0: sprintf(name,\"Hist01\");   sprintf(tipe,\"DCS_Hist\");   break;
      case   1: sprintf(name,\"Hist02\");   break;
      case   2: sprintf(name,\"Hist03\");   break;
      case   3: sprintf(name,\"Hist04\");   break;
      case   4: sprintf(name,\"Hist05\");   break;
      case   5: sprintf(name,\"Hist06\");   break;
      case   6: sprintf(name,\"Hist07\");   break;
      case   7: sprintf(name,\"Hist08\");   break;
      default: sprintf(name,\"!NO_name!\"); sprintf(tipe,\"!NO_type!\");
    }
      if(dpExists(name))
    { ;
/**/
      sprintf(stri,\" DP: %s(%s) already exists\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } else
    { dpCreate(name, tipe);
/**/
      sprintf(stri,\" DP: %s(%s) created\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"cyan\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } dapo++;
  }
  dapo=0; while(dapo < 9)
  {   switch(dapo)
    { case   0: sprintf(name,\"Indi01\");   sprintf(tipe,\"DCS_Indi\");   break;
      case   1: sprintf(name,\"Indi02\");   break;
      case   2: sprintf(name,\"Indi03\");   break;
      case   3: sprintf(name,\"Indi04\");   break;
      case   4: sprintf(name,\"Indi05\");   break;
      case   5: sprintf(name,\"Indi06\");   break;
      case   6: sprintf(name,\"Indi07\");   break;
      case   7: sprintf(name,\"Indi08\");   break;
      case   8: sprintf(name,\"Indi09\");   break;
      default: sprintf(name,\"!NO_name!\"); sprintf(tipe,\"!NO_type!\");
    }
      if(dpExists(name))
    { ;
/**/
      sprintf(stri,\" DP: %s(%s) already exists\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } else
    { dpCreate(name, tipe);
/**/
      sprintf(stri,\" DP: %s(%s) created\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"cyan\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } dapo++;
  }
  dapo=0; while(dapo < 8)
  {   switch(dapo)
    { case   0: sprintf(name,\"Plot01\");   sprintf(tipe,\"DCS_Plot\");   break;
      case   1: sprintf(name,\"Plot02\");   break;
      case   2: sprintf(name,\"Plot03\");   break;
      case   3: sprintf(name,\"Plot04\");   break;
      case   4: sprintf(name,\"Plot05\");   break;
      case   5: sprintf(name,\"Plot06\");   break;
      case   6: sprintf(name,\"Plot07\");   break;
      case   7: sprintf(name,\"Plot08\");   break;
//      case   8: sprintf(name,\"Plot09\");   break;
//      case   9: sprintf(name,\"Plot10\");   break;
//      case  10: sprintf(name,\"Plot11\");   break;
//      case  11: sprintf(name,\"Plot12\");   break;
//      case  12: sprintf(name,\"Plot13\");   break;
//      case  13: sprintf(name,\"Plot14\");   break;
//      case  14: sprintf(name,\"Plot15\");   break;
//      case  15: sprintf(name,\"Plot16\");   break;
      default: sprintf(name,\"!NO_name!\"); sprintf(tipe,\"!NO_type!\");
    }
      if(dpExists(name))
    { ;
/**/
      sprintf(stri,\" DP: %s(%s) already exists\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } else
    { dpCreate(name, tipe);
/**/
      sprintf(stri,\" DP: %s(%s) created\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"cyan\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } dapo++;
  }
  dapo=0; while(dapo < 16)
  {   switch(dapo)
    { case   0: sprintf(name,\"Limi01\");   sprintf(tipe,\"DCS_Limi\");   break;
      case   1: sprintf(name,\"Limi02\");   break;
      case   2: sprintf(name,\"Limi03\");   break;
      case   3: sprintf(name,\"Limi04\");   break;
      case   4: sprintf(name,\"Limi05\");   break;
      case   5: sprintf(name,\"Limi06\");   break;
      case   6: sprintf(name,\"Limi07\");   break;
      case   7: sprintf(name,\"Limi08\");   break;
      case   8: sprintf(name,\"Limi09\");   break;
      case   9: sprintf(name,\"Limi10\");   break;
      case  10: sprintf(name,\"Limi11\");   break;
      case  11: sprintf(name,\"Limi12\");   break;
      case  12: sprintf(name,\"Limi13\");   break;
      case  13: sprintf(name,\"Limi14\");   break;
      case  14: sprintf(name,\"Limi15\");   break;
      case  15: sprintf(name,\"Limi16\");   break;
      default: sprintf(name,\"!NO_name!\"); sprintf(tipe,\"!NO_type!\");
    }
      if(dpExists(name))
    { ;
/**/
      sprintf(stri,\" DP: %s(%s) already exists\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } else
    { dpCreate(name, tipe);
/**/
      sprintf(stri,\" DP: %s(%s) created\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"cyan\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } dapo++;
  }
  dapo=0; while(dapo < 40)
  {   switch(dapo)
    { case   0: sprintf(name,\"Func\");     sprintf(tipe,\"DCS_Settings\"); break;
      case   1: sprintf(name,\"Quer\");     break;
      case   2: sprintf(name,\"Sgot\");     break;
      case   3: sprintf(name,\"Sput\");     break;
      case   4: sprintf(name,\"Arch\");     break;   /* \"DCS_stat\"            */
      case   5: sprintf(name,\"Busy\");     break;
      case   6: sprintf(name,\"Eror\");     break;
      case   7: sprintf(name,\"Hist\");     break;
      case   8: sprintf(name,\"HVol\");     break;
      case   9: sprintf(name,\"LVol\");     break;
      case  10: sprintf(name,\"Mang\");     break;
      case  11: sprintf(name,\"Moni\");     break;
      case  12: sprintf(name,\"Next\");     break;
      case  13: sprintf(name,\"Plot\");     break;
      case  14: sprintf(name,\"Syst\");     break;
      case  15: sprintf(name,\"Alrm\");     break;    /* \"DCS_numb\"           */
      case  16: sprintf(name,\"Chan\");     break;
      case  17: sprintf(name,\"Cmax\");     break;
      case  18: sprintf(name,\"Curv\");     break;
      case  19: sprintf(name,\"Eout\");     break;
      case  20: sprintf(name,\"Fatl\");     break;
      case  21: sprintf(name,\"Find\");     break;
      case  22: sprintf(name,\"Indi\");     break;
      case  23: sprintf(name,\"Hmax\");     break;
      case  24: sprintf(name,\"Host\");     break;
      case  25: sprintf(name,\"Iinp\");     break;
      case  26: sprintf(name,\"Iout\");     break;
      case  27: sprintf(name,\"Lmax\");     break;
      case  28: sprintf(name,\"Nmax\");     break;
      case  29: sprintf(name,\"Node\");     break;
      case  30: sprintf(name,\"Norm\");     break;
      case  31: sprintf(name,\"Para\");     break;
      case  32: sprintf(name,\"Pmax\");     break;
      case  33: sprintf(name,\"Pmon\");     break;
      case  34: sprintf(name,\"Port\");     break;
      case  35: sprintf(name,\"Scan\");     break;
      case  36: sprintf(name,\"Srun\");     break;
      case  37: sprintf(name,\"Umax\");     break;
      case  38: sprintf(name,\"Unit\");     break;
      case  39: sprintf(name,\"Warn\");     break;
      default: sprintf(name,\"!NO_name!\"); sprintf(tipe,\"!NO_type!\");
    }
      if(dpExists(name))
    { ;
/**/
      sprintf(stri,\" DP: %s(%s) already exists\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } else
    { dpCreate(name, tipe);
/**/
      sprintf(stri,\" DP: %s(%s) created\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"cyan\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } dapo++;
  }
  dapo=0; while(dapo < 15)
  {   switch(dapo)
    { case   0: sprintf(name,\"LVch\");     sprintf(tipe,\"MPS_Settings\"); break;
      case   1: sprintf(name,\"LVch_max\"); break;
      case   2: sprintf(name,\"HVch\");     break;
      case   3: sprintf(name,\"HVch_max\"); break;
      case   3: sprintf(name,\"LVca\");     break;
      case   4: sprintf(name,\"LVca_max\"); break;
      case   5: sprintf(name,\"HVca\");     break;
      case   6: sprintf(name,\"HVca_max\"); break;
      case   7: sprintf(name,\"Crate\");    break;
      case   8: sprintf(name,\"CRpa_max\"); break;
      case   9: sprintf(name,\"Rack\");     break;
      case  10: sprintf(name,\"SendData\"); sprintf(tipe,\"DdcCommand\"); break;
      case  11: sprintf(name,\"SendRequ\"); break;
      case  12: sprintf(name,\"SendStat\"); break;
      case  13: sprintf(name,\"TakeStat\"); break;
      case  14: sprintf(name,\"RequArbi\"); sprintf(tipe,\"DdcArbiter\"); break;
      default: sprintf(name,\"!NO_name!\"); sprintf(tipe,\"!NO_type!\");
    }
      if(dpExists(name))
    { ;
/**/
      sprintf(stri,\" DP: %s(%s) already exists\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } else
    { dpCreate(name, tipe);
/**/
      sprintf(stri,\" DP: %s(%s) created\", name, tipe); 
      setValue(\"ConfInfo\",\"backCol\",\"cyan\");
      setValue(\"ConfInfo\",\"text\", stri);        delay(1);          /* Debug */
    } dapo++;
  }
/*Host_DPs*/
  sprintf(addr,\"Host0%d\", host);
  sprintf(stri,\" '%s' DataPoints creating...\", addr);
  setValue(\"ConfInfo\",\"text\",stri);             delay(1);          /* Debug */
    if(dpExists(addr))
  { ;
/**/
    sprintf(stri,\" '%s' DataPoints already exist\", addr);
    setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
    setValue(\"ConfInfo\",\"text\", stri);          delay(1);          /* Debug */
  } else
  { dpCreate(addr,\"DCS_Host\");
/**/
    sprintf(stri,\" '%s' DataPoints created\", addr);
    setValue(\"ConfInfo\",\"backCol\",\"cyan\");
    setValue(\"ConfInfo\",\"text\", stri);          delay(1);          /* Debug */
  }
/*Unit_DPs*/
  sprintf(stri,\" Unit's DataPoints creating...\");
  setValue(\"ConfInfo\",\"text\",stri);             delay(1);          /* Debug */
  int1=0;
  node=0; while(node < nmax)
  { port=0; while(port < pmax)
    { unit=0; while(unit < umax)
      {   if(host == 0)
        {   if(int1 < 10)
          { sprintf(addr,\"Unit0%d\",int1);
          } else
          { sprintf(addr,\"Unit%d\" ,int1);
          }
        }
          if((host == 1) || (host == 2))
        {   if(int1 < 10)
          { sprintf(addr,\"Crate0%d\",int1);
          } else
          { sprintf(addr,\"Crate%d\" ,int1);
          }
        }
          if(dpExists(addr))
        { ;
/**/
          sprintf(stri,\" '%s' DataPoints already exist\", addr);
          setValue(\"ConfInfo\",\"backCol\",\"Yellow\");
          setValue(\"ConfInfo\",\"text\", stri);  delay(1);            /* Debug */
        } else
        {   if(host == 0)
          { dpCreate(addr,\"DCS_Unit\");
          }
            if((host == 1) || (host == 2))
          { dpCreate(addr,\"MPS_Crates\");
          }
/**/
          sprintf(stri,\" '%s' DataPoints created\", addr);
          setValue(\"ConfInfo\",\"backCol\",\"cyan\");
          setValue(\"ConfInfo\",\"text\", stri);  delay(1);            /* Debug */
        } unit++;  int1++;
      } port++;
    } node++;
  }
  dpSet(\"SCTmops1:Syst.Name:_original.._value\", snam);
  dpSet(\"SCTmops1:Host.Numb:_original.._value\", host);
  dpSet(\"SCTmops1:Hmax.Numb:_original.._value\", hmax);
  dpSet(\"SCTmops1:Nmax.Numb:_original.._value\", nmax);
  dpSet(\"SCTmops1:Pmax.Numb:_original.._value\", pmax);
  dpSet(\"SCTmops1:Umax.Numb:_original.._value\", umax);
  dpSet(\"SCTmops1:Cmax.Numb:_original.._value\", cmax);
  dpSet(\"SCTmops1:LVch_max.Numb:_original.._value\", lvmx);
  dpSet(\"SCTmops1:HVch_max.Numb:_original.._value\", hvmx);
  dpSet(\"SCTmops1:LVca_max.Numb:_original.._value\", lvca_max);
  dpSet(\"SCTmops1:HVca_max.Numb:_original.._value\", hvca_max);
  dpSet(\"SCTmops1:CRpa_max.Numb:_original.._value\", crmx);
  dpSet(\"SCTmops1:Lmax.Numb:_original.._value\", lmax);
/**/
  dpSet(\"SCTmops1:Plot.Numb:_original.._value\", 1);
  dpSet(\"SCTmops1:Curv.Numb:_original.._value\", 1);
  dpSet(\"SCTmops1:Indi.Numb:_original.._value\", 1);
  dpSet(\"SCTmops1:Hist.Numb:_original.._value\", 1);                /* Debug */
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
    while(1)
  { setValue(\"ConfInfo\",\"text\",
\" SCT DataPoints created, push 'Close' and restart Comm_pnl for Initialisation\");
    delay(1);
  }
}" 0
 E E E
14 1016
"HVchanReadBits"
""
1 820 240 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
860 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
818 238 842 265
3 "s" 0 0 0 0 0 0 
E
E
E
14 1017
"HVchanWritBits"
""
1 845 240 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
861 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
843 238 867 265
3 "s" 0 0 0 0 0 0 
E
E
E
14 1018
"HVchanStatBits"
""
1 870 240 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
862 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
868 238 892 265
3 "s" 0 0 0 0 0 0 
E
E
E
14 1019
"HVchanErorBits"
""
1 895 240 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
863 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
893 238 917 265
3 "s" 0 0 0 0 0 0 
E
E
E
14 1022
"LVchanStatCommIndi"
""
1 750 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
866 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
748 88 812 115
3 "s" 0 0 0 0 0 0 
E
E
"/* Load LV_Chan Stat
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name46:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 1023
"UnitStatCommIndi"
""
1 200 90 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
867 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
198 88 262 115
3 "s" 0 0 0 0 0 0 
E
E
"/* Load Crate (Unit) Stat
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name45:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

14 1024
"HVchanStatCommIndi"
""
1 750 240 E E E 1 E 1 E N "_WindowText" E N "_Window" E E
 E E
868 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-13,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
748 238 812 265
3 "s" 0 0 0 0 0 0 
E
E
"/* Load HV_Chan Stat
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                         INPUT STAT FOR SCT_DCS                           */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Text Field defines the input Stat

   MODIF_HISTORY:  04.02.2002 - first version
                   10.05.2003 - 2-nd version for MoPS project
/*===================================-======================================*/

main()
{ int          stat;
  string       stri, para;
  dyn_errClass eror;

  dpSetWait(\"SCTmops1:Iinp.Stat:_original.._value\", this.text);
  sprintf(stri, this.text);
  sscanf(stri,\"%X\", stat);
  dpSet(\"SCTmops1:Iinp.Stat:_original.._value\", stat);
  dpGet(\"SCTmops1:Indi09.Name47:_original.._value\", para);
  dpSet(para, stat);
  eror = getLastError();
    if(dynlen(eror))
  { errorDialog(eror);
  }
}" 0

13 1025
"Button1"
""
1 220 440 E E E 1 E 1 E N "_3DText" E N {204,204,102} E E
 E E
868 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
1
LANG:1 117 -microsoft windows-Courier New-bold-r-normal-*-*-120-100-100-*-*-iso8859-1|-12,0,0,0,700,0,0,0,0,3,2,1,49,Courier New
0 ""
218 438 392 467
T 
1
LANG:1 18 Delete "Demo" DPs 
"/* DaPo Deleater
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456*/
/*===================================-======================================*/
/*                        SYSTEM DATA_POINTs DELEATER                       */
/*-----------------------------------=--------------------------------------*/
/* AUTHORs:        S.G.Basiladze

   DESIGN ISSUEs:  This Button contains the Script for DEMO SCT DCS
                   DataPoint Types and DataPoint Elements deleating

   MODIF_HISTORY:  31.07.2003 - first version
  ===================================-======================================*/

main()
{ dpDelete(\"_mp_ANALOG1\");              dpDelete(\"_mp_ANALOG2\");
  dpDelete(\"_mp_BIT_CONDITION\");        dpDelete(\"_mp_COUNTER_SUB\");
  dpDelete(\"_mp_COUNTER1\");
  dpDelete(\"_mp_DRIVE1\");               dpDelete(\"_mp_DRIVE2\");
  dpDelete(\"ExampleDP_BarTrend\");       dpDelete(\"ExampleDP_bt\");
  dpDelete(\"ExampleDP_AlertHdl1\");      dpDelete(\"ExampleDP_AlertHdl2\");
  dpDelete(\"ExampleDP_DDE\");
  dpDelete(\"ExampleDP_Arg1\");           dpDelete(\"ExampleDP_Arg2\");
  dpDelete(\"ExampleDP_Result\");         dpDelete(\"ExampleDP_Trend1\");
  dpDelete(\"ExampleDP_SumAlert\");
  dpDelete(\"_mp_LABOR_ANALOG\");         dpDelete(\"_mp_LABOR_COUNTER\");
  dpDelete(\"_mp_PUMP1\");                dpDelete(\"_mp_PUMP2\");
  dpDelete(\"_mp_SETPOINT\");             dpDelete(\"_mp_SLIDE_VALVE_HAND1\");
  dpDelete(\"_mp_SLIDE_VALVE1\");         dpDelete(\"_mp_SLIDE_VALVE2\");
  dpDelete(\"_mp_WH_SC_SERVICE\");        dpDelete(\"_mp_WH_SC_SUB\");
  dpDelete(\"_mp_WH_SC1\");
 
  dpTypeDelete(\"ANALOG1\");              dpTypeDelete(\"ANALOG2\");
  dpTypeDelete(\"BIT_CONDITION\");        dpTypeDelete(\"COUNTER_SUB\");
  dpTypeDelete(\"COUNTER1\");
  dpTypeDelete(\"DRIVE1\");              dpTypeDelete(\"DRIVE2\");
  dpTypeDelete(\"ExampleDP_BarTrend\");  dpTypeDelete(\"ExampleDP_Bit\");
  dpTypeDelete(\"ExampleDP_DDE\");       dpTypeDelete(\"ExampleDP_Float\");
  dpTypeDelete(\"ExampleDP_Int\");       dpTypeDelete(\"ExampleDP_Text\");
  dpTypeDelete(\"LABOR_ANALOG\");        dpTypeDelete(\"LABOR_COUNTER\");
  dpTypeDelete(\"MODE_CMD\");            dpTypeDelete(\"MODE_STATE\");
  dpTypeDelete(\"PUMP1\");               dpTypeDelete(\"PUMP2\");
  dpTypeDelete(\"SETPOINT\");
  dpTypeDelete(\"SLIDE_VALVE_HAND1\");   dpTypeDelete(\"SLIDE_VALVE1\");
  dpTypeDelete(\"SLIDE_VALVE1\");        dpTypeDelete(\"SLIDE_VALVE2\");
  dpTypeDelete(\"WH_SC_SERVICE\");       dpTypeDelete(\"WH_SC_SUB\");
  dpTypeDelete(\"WH_SC1\");
  setValue(\"ConfInfo\",\"backCol\",\"Green\");
    while(1)
  { setValue(\"ConfInfo\",\"text\",\" PVSS DataPoints deleated, push 'Close' \");
    delay(1);
  }
}" 0
 E E E
0
LAYER, 1 
1
LANG:1 6 Layer2
0
LAYER, 2 
1
LANG:1 6 Layer3
0
LAYER, 3 
1
LANG:1 6 Layer4
0
LAYER, 4 
1
LANG:1 6 Layer5
0
LAYER, 5 
1
LANG:1 6 Layer6
0
LAYER, 6 
1
LANG:1 6 Layer7
0
LAYER, 7 
1
LANG:1 6 Layer8
0
0