V 10
1
LANG:1 6 Values
PANEL,264 131 722 738 N "_3DFace" 0
"main()
{
/*
int i;
string datapoint;
for(i=0;i<=47;i++)
{
sprintf(datapoint,\"Crate00.Channel%02d.HVchVolt.Recv:_original.._value\",i);
dpSet(datapoint,0);
}
*/
}" 0
EE E E 1 -1 -1 0  30 40
"" 0 1
E"EP_childPanelOn()
{
 ChildPanelOnCentralModal(\"subpanels/ErrorMask.pnl\",\"\",makeDynString(\"\"));
}" 0
 2
"CBRef""1"
"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
2 0
"Text2"
""
1 10 340 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
1 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 12 342 678 548
1 2 0 "s" 0 0 0 65 0 0  12 342
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 0 
2 381
"Text82"
""
1 10 35 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
365 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 12 37 678 448
1 2 0 "s" 0 0 0 65 0 0  12 37
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 0 
2 24
"LVchannels"
""
1 10 10 E E E 1 E 1 E N {0,0,0} E N {204,204,153} E E
 E E
24 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 12 12 678 33
1 2 0 "s" 0 0 0 64 0 0  12 12
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 13    LV CHANNEL
2 62
"Text17"
""
1 416 62 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
60 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i,try;
int crate,count;
string channel;
crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Vcc.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVch_Vcc.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVch_Vcc.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVch_Vcc.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"READOUT Vcc\",fNewValue);
//dpGet(datapoint,try);
//DebugN(\"datapoint\",datapoint,try);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVcoRamp}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 64 474 80
1 2 0 "s" 0 0 0 64 0 0  418 64
 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 8 LVch_Vcc
2 63
"Text18"
""
1 505 61 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
61 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
sprintf(datapoint, \"Crate%02d.Channel%02d.LVps_Vcc.Recv:_online.._value\",crate, hv);
if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVps_Vcc.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVps_Vcc.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

//sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}

EP_textFieldInCB1(string dp,float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;


crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVps_Vcc.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\" Vcc\", fNewValue);

//sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV1.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 507 63 563 79
1 2 0 "s" 0 0 0 64 0 0  507 63
 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 8 LVps_Vcc
2 64
"Text19"
""
1 596 59 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
62 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVretVcc.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
  dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVretVcc.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVretVcc.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVretVcc.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 598 61 654 77
1 2 0 "s" 0 0 0 64 0 0  598 61
 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 8 LVretVcc
2 65
"Text20"
""
1 416 212 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
63 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Icc.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }



  dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVch_Icc.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVch_Icc.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVch_Icc.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 214 473 230
1 2 0 "s" 0 0 0 64 0 0  418 214
 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 8 LVch_Icc
2 66
"Text21"
""
1 416 92 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
64 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Vdd.Recv:_online.._value\",crate, hv);
if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }
dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVch_Vdd.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVch_Vdd.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVch_Vdd.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVcoRamp}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 94 474 110
1 2 0 "s" 0 0 0 64 0 0  418 94
 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 8 LVch_Vdd
2 67
"Text22"
""
1 505 91 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
65 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVps_Vdd.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }

dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVps_Vdd.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1;
string sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVps_Vdd.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\" Vdd\", fNewValue);
//sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1;
string sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVps_Vdd.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\" Vdd\", fNewValue);
//sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV1.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 507 93 562 109
1 2 0 "s" 0 0 0 64 0 0  507 93
 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 8 LVps_Vdd
2 69
"Text24"
""
1 416 182 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
67 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Idd.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }



  dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVch_Idd.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVch_Idd.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVch_Idd.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 184 473 200
1 2 0 "s" 0 0 0 64 0 0  418 184
 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 8 LVch_Idd
2 70
"Text25"
""
1 416 122 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
68 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVchVCSV.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }
 dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVchVCSV.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchVCSV.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchVCSV.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVcoRamp}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {FALSE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 124 473 140
1 2 0 "s" 0 0 0 64 0 0  418 124
 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 8 LVchVCSV
2 71
"Text26"
""
1 505 121 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
69 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVchVCSI.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }
 dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVchVCSI.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchVCSI.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchVCSI.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV1.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 507 123 563 139
1 2 0 "s" 0 0 0 64 0 0  507 123
 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 8 LVchVCSI
2 72
"Text27"
""
1 416 152 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
70 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVchPINV.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }



  dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVchPINV.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchPINV.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchPINV.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 154 473 170
1 2 0 "s" 0 0 0 64 0 0  418 154
 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 8 LVchPINV
2 73
"Text28"
""
1 505 151 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
71 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVchPINI.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }



  dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVchPINI.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchPINI.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchPINI.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 507 153 563 169
1 2 0 "s" 0 0 0 64 0 0  507 153
 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 8 LVchPINI
2 74
"Text29"
""
1 416 242 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
72 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
   dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
fNewValue=t;
//DebugN(\"dp1\", dp1);
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm0.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"dp1\", dp1);
t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
fNewValue=t;



sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 244 473 260
1 2 0 "s" 0 0 0 64 0 0  418 244
 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 8 MOch_Tm0
2 75
"Text30"
""
1 416 272 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
73 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
 dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
float a,b,t,x;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
//t=1/(log(fNewValue*2.5/800.)/3435.+0.0033557)-273.;
//fNewValue=t;
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 274 473 290
1 2 0 "s" 0 0 0 64 0 0  418 274
 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 8 MOch_Tm1
2 107
"Text55"
""
1 24 40 E E E 1 E 1 E N {0,0,51} E N "_Transparent" E E
 E E
105 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  0 E 26 42 96 58
0 2 0 "s" 0 0 0 64 0 0  26 42
 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 9 CONTROL: 
2 110
"Text57"
""
1 170 61 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
108 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  0 E 172 63 218 76
0 2 0 "s" 0 0 0 64 0 0  172 63
 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 7 Vcc (V)
2 112
"Text58"
""
1 170 91 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
110 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  0 E 172 93 218 106
0 2 0 "s" 0 0 0 64 0 0  172 93
 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 7 Vdd (V)
2 113
"Text59"
""
1 170 121 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
111 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  0 E 172 123 228 139
0 2 0 "s" 0 0 0 64 0 0  172 123
 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 9 VCSEL (V)
2 116
"Text60"
""
1 170 151 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
114 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  0 E 172 153 238 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 12 PIN Bias (V)
2 117
"Text61"
""
1 170 181 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
115 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  0 E 172 183 243 199
0 2 0 "s" 0 0 0 64 0 0  172 183
 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 13 Idd Trip (ms)
2 120
"Text62"
""
1 170 211 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
118 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  0 E 172 213 243 229
0 2 0 "s" 0 0 0 64 0 0  172 213
 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 18 Icc Trip (ms) Trip
2 121
"Text63"
""
1 170 241 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
119 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  0 E 172 243 238 259
0 2 0 "s" 0 0 0 64 0 0  172 243
 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 10 T Warn (C)
2 124
"Text64"
""
1 170 271 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
122 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  0 E 172 273 238 289
0 2 0 "s" 0 0 0 64 0 0  172 273
 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 10 T Trip (C)
2 125
"Text65"
""
1 24 61 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
123 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  0 E 26 63 92 79
0 2 0 "s" 0 0 0 64 0 0  26 63
 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 9 Clock Sel
2 128
"Text66"
""
1 24 91 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
126 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  0 E 26 93 92 109
0 2 0 "s" 0 0 0 64 0 0  26 93
 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 9 Clock Res
2 129
"Text67"
""
1 24 121 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
127 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  0 E 26 123 72 136
0 2 0 "s" 0 0 0 64 0 0  26 123
 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 6 Out On
2 133
"Text69"
""
1 336 39 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
131 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  0 E 338 41 424 55
0 2 0 "s" 0 0 0 64 0 0  338 41
 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 13 MONITORING : 
2 135
"Text71"
""
1 337 62 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
133 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  0 E 339 64 382 77
0 2 0 "s" 0 0 0 64 0 0  339 64
 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 7 Vcc (V)
2 136
"Text72"
""
1 337 92 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
134 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  0 E 339 94 383 107
0 2 0 "s" 0 0 0 64 0 0  339 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 8 Vdd (V) 
2 137
"Text73"
""
1 337 122 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
135 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  0 E 339 124 405 140
0 2 0 "s" 0 0 0 64 0 0  339 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 5 VCSEL
2 138
"Text74"
""
1 337 152 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
136 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  0 E 339 154 415 170
0 2 0 "s" 0 0 0 64 0 0  339 154
 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 8 PIN Bias
2 139
"Text75"
""
1 363 185 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
137 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  0 E 365 187 411 200
0 2 0 "s" 0 0 0 64 0 0  365 187
 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  
2 140
"Text76"
""
1 337 212 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
138 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  0 E 339 214 385 227
0 2 0 "s" 0 0 0 64 0 0  339 214
 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 4 Icc 
2 141
"Text77"
""
1 337 242 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
139 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  0 E 339 244 405 260
0 2 0 "s" 0 0 0 64 0 0  339 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 8 T Link 0
2 142
"Text78"
""
1 337 272 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
140 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  0 E 339 274 385 287
0 2 0 "s" 0 0 0 64 0 0  339 274
 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 8 T Link 1
2 152
"Text88"
""
1 337 182 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
150 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  0 E 339 184 385 197
0 2 0 "s" 0 0 0 64 0 0  339 184
 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 4 Idd 
2 209
"Text5"
""
1 10 388 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
202 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 12 390 678 496
1 2 0 "s" 0 0 0 65 0 0  12 390
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 0 
2 211
"Text50"
""
1 40 313 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
204 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  0 E 42 315 108 329
0 2 0 "s" 0 0 0 64 0 0  42 315
 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 9 CONTROL: 
2 212
"Text52"
""
1 170 340 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
205 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  0 E 172 342 210 356
0 2 0 "s" 0 0 0 64 0 0  172 342
 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 4 Trip
2 213
"Text54"
""
1 24 339 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
206 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  0 E 26 341 66 353
0 2 0 "s" 0 0 0 64 0 0  26 341
 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 4 Mask
2 214
"Text68"
""
1 240 309 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
207 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  0 E 242 311 330 327
0 2 0 "s" 0 0 0 64 0 0  242 311
 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 12 MONITORING: 
2 216
"Text84"
""
1 337 338 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
209 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  0 E 339 340 415 356
0 2 0 "s" 0 0 0 64 0 0  339 340
 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 11 Temperature
2 217
"Text85"
""
1 484 339 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
210 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  0 E 486 341 552 357
0 2 0 "s" 0 0 0 64 0 0  486 341
 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 2 AC
2 225
"Text6"
""
1 416 338 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
218 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i,icard;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
icard=hv/4;
sprintf(datapoint, \"Crate%02d.LV_card%02d.LVcaTemp.Recv:_online.._value\", crate, icard);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  icard=i/4;
  sprintf(datapoint,\"Crate%02d.LV_card%02d.LVcaTemp.Recv:_online.._value\",crate,icard);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1;


dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
icard=hv/4;
sprintf(dp1, \"Crate%02d.LV_card%02d.LVcaTemp.Recv:_online.._value\", crate, icard);
dpGet(dp1, fNewValue);
setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1;

crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
icard=hv/4;
sprintf(dp1, \"Crate%02d.LV_card%02d.LVcaTemp.Recv:_online.._value\", crate, icard);
dpGet(dp1,fNewValue);
setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}

//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 340 474 356
1 2 0 "s" 0 0 0 64 0 0  418 340
 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 8 LVchTemp
2 226
"Text7"
""
1 505 339 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
219 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i,icard;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
icard=hv/4;
sprintf(datapoint, \"Crate%02d.LV_card%02d.LVcaPowr.Recv:_online.._value\", crate, icard);
if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  icard=i/4;
  sprintf(datapoint,\"Crate%02d.LV_card%02d.LVcaPowr.Recv:_online.._value\",crate,icard);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1;


dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
icard=hv/4;
sprintf(dp1, \"Crate%02d.LV_card%02d.LVcaPowr.Recv:_online.._value\", crate, icard);
dpGet(dp1, fNewValue);

setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1;

crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
icard=hv/4;
sprintf(dp1, \"Crate%02d.LV_card%02d.LVcaPowr.Recv:_online.._value\", crate, icard);
dpGet(dp1,fNewValue);

setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}

//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 507 341 563 357
1 2 0 "s" 0 0 0 64 0 0  507 341
 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 8 LVchPowr
2 280
"nb0"
""
1 70 401 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
272 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
   iNewValue = iNewValue*8;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 403 94 419
0 2 0 "s" 0 0 0 64 0 0  72 403
 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 3 nb0
2 282
"Text31"
""
1 70 416 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
274 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
   iNewValue = iNewValue*8+1;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 418 94 436
0 2 0 "s" 0 0 0 64 0 0  72 418
 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 3 nb0
2 283
"Text32"
""
1 70 431 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
275 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
   iNewValue = iNewValue*8+2;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 433 100 449
0 2 0 "s" 0 0 0 64 0 0  72 433
 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 3 nb0
2 284
"Text34"
""
1 70 448 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
276 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
   iNewValue = iNewValue*8+3;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 450 98 466
0 2 0 "s" 0 0 0 64 0 0  72 450
 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 3 nb0
2 285
"Text47"
""
1 70 465 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
277 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
   iNewValue = iNewValue*8+4;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 467 94 483
0 2 0 "s" 0 0 0 64 0 0  72 467
 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 3 nb0
2 286
"Text48"
""
1 110 411 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
278 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
   iNewValue = iNewValue*8+5;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 112 413 132 429
0 2 0 "s" 0 0 0 64 0 0  112 413
 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 3 nb0
2 287
"Text49"
""
1 110 428 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
279 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
   iNewValue = iNewValue*8+6;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 112 430 134 446
0 2 0 "s" 0 0 0 64 0 0  112 430
 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 3 nb0
2 288
"Text53"
""
1 110 445 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
280 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
   iNewValue = iNewValue*8+7;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 112 447 136 463
0 2 0 "s" 0 0 0 64 0 0  112 447
 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 3 nb0
2 294
"Text11"
""
1 70 201 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
285 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/4;
   iNewValue = iNewValue*4;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 203 94 219
0 2 0 "s" 0 0 0 64 0 0  72 203
 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 3 nb0
2 299
"Text87"
""
1 70 222 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
290 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/4;
   iNewValue = iNewValue*4+1;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 224 94 240
0 2 0 "s" 0 0 0 64 0 0  72 224
 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 3 nb0
2 301
"Text101"
""
1 70 243 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
292 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/4;
   iNewValue = iNewValue*4+2;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 245 94 261
0 2 0 "s" 0 0 0 64 0 0  72 245
 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 3 nb0
2 303
"Text102"
""
1 70 264 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
294 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N {153,204,255}
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/4;
   iNewValue = iNewValue*4+3;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 0 E U  1 E 72 266 94 282
0 2 0 "s" 0 0 0 64 0 0  72 266
 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 3 nb0
2 44
"Text10"
""
1 416 454 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
44 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchCurr.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.HVchCurr.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv,i;
string dp1,dp2;
dyn_int probe;
int status,indx;

dpGet(\"HVch.Numb:_original.._value\", hv);
dpGet(\"Crate.Numb:_original.._value\",crate);
sprintf(dp1, \"Crate%02d.Channel%02d.HVchCurr.Recv:_online.._value\",crate, hv);
dpGet(dp1, fNewValue);
probe=makeDynInt(62005,12005,2405,435);
sprintf(dp2, \"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate, hv);
dpGet(dp2,status);
indx=status&3; // this gives in indx 3&3=3 ; 2&3=2 ;1&3=1; 0&3 =0
indx=indx+1;
fNewValue=fNewValue*2.5/4096/probe[indx];
setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv,i;
string dp1,dp2;
dyn_int probe;
int status,indx;



dpGet(\"HVch.Numb:_original.._value\", hv);
dpGet(\"Crate.Numb:_original.._value\",crate);
sprintf(dp1, \"Crate%02d.Channel%02d.HVchCurr.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
probe=makeDynInt(62005,12005,2405,435);
sprintf(dp2, \"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate, hv);
dpGet(dp2,status);
indx=status&3; // this gives in indx 3&3=3 ; 2&3=2 ;1&3=1; 0&3 =0
//DebugN(\"indx \", indx);
indx=indx+1;
fNewValue=fNewValue*2.5/4096/probe[indx];
setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}

//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 456 472 474
1 2 0 "s" 0 0 0 64 0 0  418 456
 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 8 HVchCurr
2 46
"Text12"
""
1 416 424 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
46 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;
crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchVolt.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }
dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.HVchVolt.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                  

  
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1;



dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(dp1, \"Crate%02d.Channel%02d.HVchVolt.Recv:_online.._value\",crate, hv);
dpGet(dp1, fNewValue);
fNewValue = fNewValue ;
setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1;

crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.HVchVolt.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue = fNewValue ;
setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}

//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 418 426 472 444
1 2 0 "s" 0 0 0 64 0 0  418 426
 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 8 HVchVolt
2 160
"Text96"
""
1 337 398 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
158 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  0 E 339 400 435 416
0 2 0 "s" 0 0 0 64 0 0  339 400
 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 12 MONITORING :
2 162
"Text98"
""
1 337 456 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
160 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  0 E 339 458 385 471
0 2 0 "s" 0 0 0 64 0 0  339 458
 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 7 Current
2 163
"Text99"
""
1 337 426 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
161 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  0 E 339 428 405 441
0 2 0 "s" 0 0 0 64 0 0  339 428
 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 11 Voltage (V)
2 155
"Text91"
""
1 20 313 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
153 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  0 E 22 315 92 331
0 2 0 "s" 0 0 0 64 0 0  22 315
 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 9 CONTROL :
2 156
"Text92"
""
1 171 401 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
154 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  0 E 173 403 249 429
0 2 0 "s" 0 0 0 64 0 0  173 403
 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 11 Voltage (V)
2 157
"Text93"
""
1 171 431 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
155 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  0 E 173 433 229 449
0 2 0 "s" 0 0 0 64 0 0  173 433
 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 9 Curr Trip
2 158
"Text94"
""
1 172 461 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
156 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  0 E 174 463 220 476
0 2 0 "s" 0 0 0 64 0 0  174 463
 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 4 Ramp
2 364
"Text4"
""
1 134 11 E E E 1 E 1 E N {0,0,0} E N {204,204,153} E E
 E E
354 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 136 13 222 29
0 2 0 "s" 0 0 0 64 0 0  136 13
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 10 lv channel
2 383
"Text81"
""
1 10 368 E E E 1 E 1 E N {0,0,0} E N {102,153,204} E E
 E E
367 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 12 370 678 391
1 2 0 "s" 0 0 0 64 0 0  12 370
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 12   HV CHANNEL
2 385
"Text104"
""
1 10 303 E E E 1 E 1 E N {0,0,0} E N {204,204,153} E E
 E E
369 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 12 305 678 326
1 2 0 "s" 0 0 0 64 0 0  12 305
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 9   LV CARD
2 422
"Text42"
""
1 587 12 E E E 1 E 1 E N {0,0,0} E N {204,204,153} E E
 E E
403 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;
crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\",crate, hv);

dpGet(dp1,fNewValue);
//DebugN(\"datapoint\",dp1,fNewValue);
fNewValue=fNewValue;

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\",crate, hv);
dpGet(dp1,fNewValue);
fNewValue=fNewValue;
sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );


}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 589 14 613 31
1 2 0 "s" 0 0 0 64 0 0  589 14
 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 8 LVchStat
2 423
"Text43"
""
1 540 13 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
404 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  0 E 542 15 588 28
0 2 0 "s" 0 0 0 64 0 0  542 15
 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 6 Status
2 424
"Text44"
""
1 617 12 E E E 1 E 1 E N {0,0,0} E N {204,204,153} E E
 E E
405 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;
crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,xTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\",crate, hv);
dpGet(dp1,fNewValue);
//DebugN(\"datapoint\",dp1,fNewValue);

sprintf(xTmp,\"%x\", fNewValue);
setValue(\"\", \"text\", xTmp);

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,xTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(xTmp,\"%x\", fNewValue);
setValue(\"\", \"text\", xTmp);

//setValue(\"\", \"text\", dpValToString(dp, sNewValue, TRUE)

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchVolt}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 619 14 643 31
1 2 0 "s" 0 0 0 64 0 0  619 14
 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 8 LVchStat
2 427
"Text105"
""
1 485 62 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
408 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  0 E 487 64 510 77
0 2 0 "s" 0 0 0 64 0 0  487 64
 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 2 PS
2 428
"Text106"
""
1 572 62 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
409 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  0 E 574 64 594 77
0 2 0 "s" 0 0 0 64 0 0  574 64
 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 3 Ret
2 68
"Text23"
""
1 596 89 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
66 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";

sprintf(datapoint, \"Crate%02d.Channel%02d.LVretVdd.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
 dpConnect(\"EP_textFieldInCB\",channel);

count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.LVretVdd.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVretVdd.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1,sTmp;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.LVretVdd.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(sTmp,\"%f\",fNewValue);
setValue(\"\", \"text\", fNewValue );

}
// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 598 91 654 107
1 2 0 "s" 0 0 0 64 0 0  598 91
 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 8 LVretVdd
2 429
"Text108"
""
1 384 63 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
410 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  0 E 386 65 409 78
0 2 0 "s" 0 0 0 64 0 0  386 65
 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 3 Mod
2 430
"Text109"
""
1 573 90 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
411 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  0 E 575 92 595 105
0 2 0 "s" 0 0 0 64 0 0  575 92
 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 3 Ret
2 431
"Text112"
""
1 486 93 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
412 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  0 E 488 95 511 108
0 2 0 "s" 0 0 0 64 0 0  488 95
 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 2 PS
2 432
"Text114"
""
1 399 123 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
413 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  0 E 401 125 424 138
0 2 0 "s" 0 0 0 64 0 0  401 125
 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 V
2 433
"Text115"
""
1 490 123 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
414 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  0 E 492 125 515 138
0 2 0 "s" 0 0 0 64 0 0  492 125
 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 I
2 435
"Text117"
""
1 399 151 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
416 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  0 E 401 153 424 166
0 2 0 "s" 0 0 0 64 0 0  401 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 V
2 436
"Text118"
""
1 490 151 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
417 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  0 E 492 153 515 166
0 2 0 "s" 0 0 0 64 0 0  492 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 I
2 19
"Text1"
""
1 587 370 E E E 1 E 1 E N {0,0,0} E N {102,153,204} E E
 E E
19 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;

string datapoint,dp1;
int hv,i;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1;


dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(dp1, \"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate, hv);
dpGet(dp1, fNewValue);
setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1;

crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);
setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}

//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 589 372 613 389
1 2 0 "s" 0 0 0 64 0 0  589 372
 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 8 HVchStat
2 161
"Text97"
""
1 540 372 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
159 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  0 E 542 374 588 387
0 2 0 "s" 0 0 0 64 0 0  542 374
 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 6 Status
2 398
"Text9"
""
1 619 352 E E E 1 E 1 E N {0,0,0} E N {102,153,204} E E
 E E
381 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;

string datapoint,dp1;
int hv,i;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate, hv);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  sprintf(datapoint,\"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1, xTmp;


dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(dp1, \"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate, hv);
dpGet(dp1, fNewValue);

sprintf(xTmp,\"%x\", fNewValue);
setValue(\"\", \"text\", xTmp);
//setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv;
string dp1, xTmp;


crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
sprintf(dp1, \"Crate%02d.Channel%02d.HVchStat.Recv:_online.._value\",crate, hv);
dpGet(dp1,fNewValue);

sprintf(xTmp,\"%x\", fNewValue);
setValue(\"\", \"text\", xTmp);
//setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 




}

//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 621 372 643 389
1 2 0 "s" 0 0 0 64 0 0  621 372
 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 8 HVchStat
2 304
"lvcard"
""
1 98 304 E E E 1 E 1 E N {0,0,0} E N {204,204,153} E E
 E E
295 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/4;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 100 306 119 321
0 2 0 "s" 0 0 0 64 0 0  100 306
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 7 lv card
2 134
"Text70"
""
1 540 307 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
132 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  0 E 542 309 588 322
0 2 0 "s" 0 0 0 64 0 0  542 309
 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 6 Status
2 224
"Text51"
""
1 587 306 E E E 1 E 1 E N {0,0,0} E N {204,204,153} E E
 E E
217 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i,icard;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
icard=hv/4;
sprintf(datapoint, \"Crate%02d.LV_card%02d.LVcaStat.Recv:_online.._value\", crate, icard);if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  icard=i/4;
  sprintf(datapoint,\"Crate%02d.LV_card%02d.LVcaStat.Recv:_online.._value\",crate,icard);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1;


dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
icard=hv/4;
sprintf(dp1, \"Crate%02d.LV_card%02d.LVcaStat.Recv:_online.._value\", crate, icard);
dpGet(dp1, fNewValue);
setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1;

crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
icard=hv/4;
sprintf(dp1, \"Crate%02d.LV_card%02d.LVcaStat.Recv:_online.._value\", crate, icard);
dpGet(dp1,fNewValue);
setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}

//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 589 308 613 324
1 2 0 "s" 0 0 0 64 0 0  589 308
 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 8 LVchStat
2 208
"Text3"
""
1 10 520 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
201 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 12 522 678 548
1 2 0 "s" 0 0 0 65 0 0  12 522
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 0 
2 401
"Text111"
""
1 619 306 E E E 1 E 1 E N {0,0,0} E N {204,204,153} E E
 E E
383 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
//string* datapoint1;
string datapoint,dp1;
int hv,i,icard;
int crate,count;
string channel;

crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
icard=hv/4;
sprintf(datapoint, \"Crate%02d.LV_card%02d.LVcaStat.Recv:_online.._value\", crate, icard);if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  icard=i/4;
  sprintf(datapoint,\"Crate%02d.LV_card%02d.LVcaStat.Recv:_online.._value\",crate,icard);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1, xTmp;


dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
icard=hv/4;
sprintf(dp1, \"Crate%02d.LV_card%02d.LVcaStat.Recv:_online.._value\", crate, icard);
dpGet(dp1, fNewValue);

sprintf(xTmp,\"%x\", fNewValue);
setValue(\"\", \"text\", xTmp);
//setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1, xTmp;

crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
icard=hv/4;
sprintf(dp1, \"Crate%02d.LV_card%02d.LVcaStat.Recv:_online.._value\", crate, icard);
dpGet(dp1,fNewValue);

sprintf(xTmp,\"%x\", fNewValue);
setValue(\"\", \"text\", xTmp);
//setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}

//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 621 308 643 324
1 2 0 "s" 0 0 0 64 0 0  621 308
 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 8 LVchStat
2 219
"Text90"
""
1 24 526 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
212 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  0 E 26 528 72 541
0 2 0 "s" 0 0 0 64 0 0  26 528
 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 4 Mask
2 384
"Text103"
""
1 10 495 E E E 1 E 1 E N {0,0,0} E N {102,153,204} E E
 E E
368 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 12 497 678 518
1 2 0 "s" 0 0 0 64 0 0  12 497
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 9   HV CARD
2 275
"hvcard"
""
1 102 496 E E E 1 E 1 E N {0,0,0} E N {102,153,204} E E
 E E
267 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  iNewValue = iNewValue/8;
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 104 498 130 514
0 2 0 "s" 0 0 0 64 0 0  104 498
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 7 hv card
2 227
"Text8"
""
1 589 497 E E E 1 E 1 E N {0,0,0} E N {102,153,204} E E
 E E
220 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
string datapoint,dp1;
int hv,i,icard;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
icard=hv/8;
sprintf(datapoint, \"Crate%02d.HV_card%02d.HVcaStat.Recv:_online.._value\",crate, icard);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  icard=i/8;
  sprintf(datapoint,\"Crate%02d.HV_card%02d.HVcaStat.Recv:_online.._value\",crate,icard);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1;


dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
icard=hv/8;
sprintf(dp1, \"Crate%02d.HV_card%02d.HVcaStat.Recv:_online.._value\",crate, icard);
dpGet(dp1, fNewValue);
setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1;

crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
icard=hv/8;
sprintf(dp1, \"Crate%02d.HV_card%02d.HVcaStat.Recv:_online.._value\",crate, icard);
dpGet(dp1,fNewValue);
setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}
//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 591 499 613 515
1 2 0 "s" 0 0 0 64 0 0  591 499
 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 8 HVchStat
2 403
"Text113"
""
1 619 497 E E E 1 E 1 E N {0,0,0} E N {102,153,204} E E
 E E
385 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
dyn_errClass err;
string datapoint,dp1;
int hv,i,icard;
int crate,count;
string channel;



crate=0;
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
icard=hv/8;
sprintf(datapoint, \"Crate%02d.HV_card%02d.HVcaStat.Recv:_online.._value\",crate, icard);

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
  setValue(\"\", \"color\", \"_dpdoesnotexist\");
  return;
  }
dpConnect(\"EP_textFieldInCB\",channel);
count=47;
for(i=0; i<= count;i++)
  {
  icard=i/8;
  sprintf(datapoint,\"Crate%02d.HV_card%02d.HVcaStat.Recv:_online.._value\",crate,icard);
  dpConnect(\"EP_textFieldInCB1\",datapoint);  
  }                   
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");
}

EP_textFieldInCB(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1, xTmp;


dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
icard=hv/8;
sprintf(dp1, \"Crate%02d.HV_card%02d.HVcaStat.Recv:_online.._value\",crate, icard);
dpGet(dp1, fNewValue);

sprintf(xTmp,\"%x\", fNewValue);
setValue(\"\", \"text\", xTmp);
//setValue(\"\", \"text\", dpValToString(dp1, fNewValue, TRUE) ); 

}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
int crate;
int hv,icard;
string dp1, xTmp;

crate=0;

dpGet(\"HVch.Numb:_original.._value\", hv);
icard=hv/8;
sprintf(dp1, \"Crate%02d.HV_card%02d.HVcaStat.Recv:_online.._value\",crate, icard);
dpGet(dp1,fNewValue);

sprintf(xTmp,\"%x\", fNewValue);
setValue(\"\", \"text\", xTmp);
//setValue(\"\", \"text\", dpValToString(dp, fNewValue, TRUE) ); 

}
//dpConnect(\"add\", \"A.:_online.._value\", \"B.:_online.._value\");
//}
//add(string dp1, int a, string dp2, int b)
//{
//dpSet(\"C.:_original.._value\", a + b);

// SimpleCtrlScript {EP_textFieldIn}
// DP {Crate1.HV0.HVchStat}
// DPConfig {:_online.._value}
// DPType {float}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
" 0
 E 0 1 1 0 1 E U  1 E 621 499 643 515
1 2 0 "s" 0 0 0 64 0 0  621 499
 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 8 HVchStat
2 221
"Text100"
""
1 540 498 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
214 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  0 E 542 500 598 516
0 2 0 "s" 0 0 0 64 0 0  542 500
 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 6 Status
2 365
"Text56"
""
1 135 369 E E E 1 E 1 E N {0,0,0} E N {102,153,204} E E
 E E
354 0 0 0 0 0
EE E
0
1
LANG:1 0 
1
"dashclr"N "_Transparent"
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldIn();
  EP_setInvalid();
}

EP_textFieldIn()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._value\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            \"HVch.Numb:_online.._value\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}


EP_textFieldInCB(string dp, int iNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, iNewValue, TRUE) );
}

EP_setInvalid()
{
dyn_errClass err;

  if( dpSubStr( \"HVch.Numb:_online.._invalid\", DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_setInvalidCB\",
            \"HVch.Numb:_online.._invalid\");
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_setInvalidCB(string dp, bool boInvalid)
{
  setValue(\"\", \"color\", (boInvalid ? \"_invalid\" : \"\"));
}

// SimpleCtrlScript {EP_textFieldIn}
// DP {Item.HV}
// DPConfig {:_online.._value}
// DPType {int}
// UseDPUnit {TRUE}
// UseDPFormat {TRUE}
// SimpleCtrlScriptEnd {EP_textFieldIn}
// SimpleCtrlScript {EP_setInvalid}
// DP {Item.HV}
// DPConfig {:_online.._invalid}
// DPType {bool}
// Attribut {color}
// SimpleCtrlScriptEnd {EP_setInvalid}
" 0
 E 0 1 1 0 1 E U  1 E 137 371 223 387
0 2 0 "s" 0 0 0 64 0 0  137 371
 1
1
LANG:1 105 -microsoft windows-Arial-bold-r-normal-*-*-140-100-100-*-*-iso8859-1|-16,0,0,0,700,0,0,0,0,3,2,1,34,Arial
0 ""
1
LANG:1 10 hv channel
14 180
"TextField8"
""
1 250 61 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
176 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 59 312 85
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate,hv,oldhv,oldcrate;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
dpGet(\"HVch.Indx:_original.._value\", oldhv);
crate=0;
oldcrate=0;
//dpGet(\"Crate.Indx:_original.._value\", oldcrate);
DebugN(\"oldchannel\",oldhv,\"oldcrate\",oldcrate);
//dpGet(\"Crate.Numb:_original.._value\", crate);
sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Vcc.Send:_original.._value\",oldcrate, oldhv); 
//dpDisconnect(\"EP_textFieldInCB\",datapoint);

sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Vcc.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }




  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
string sTmp;
dpGet(dp, fNewValue);

sprintf(sTmp,\"%.1f\",fNewValue);
setValue(\"\", \"text\", sTmp );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Vcc.Send:_original.._value\",crate, hv); 
//iNewValue=fNewValue*50;
dpSetWait(datapoint, fNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 181
"TextField9"
""
1 250 91 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
177 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 89 312 115
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
 dpGet(\"HVch.Numb:_original.._value\", hv);
 crate=0;
 sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Vdd.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
string sTmp;

 dpGet(dp, fNewValue);
 
 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
 
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
  dpGet(\"HVch.Numb:_original.._value\", hv);
  crate=0;
  sprintf(datapoint, \"Crate%02d.Channel%02d.LVch_Vdd.Send:_original.._value\",crate, hv); 
 
  dpSetWait(datapoint, fNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 182
"TextField10"
""
1 250 271 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
178 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 269 312 295
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchTTrp.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
string sTmp;

 dpGet(dp, fNewValue);

 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
 dpGet(\"HVch.Numb:_original.._value\", hv);
 crate=0;
 sprintf(datapoint, \"Crate%02d.Channel%02d.LVchTTrp.Send:_original.._value\",crate, hv); 
 
 dpSetWait(datapoint, iNewValue);
 err = getLastError();
 if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 183
"TextField11"
""
1 250 241 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
179 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 239 312 265
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchTLim.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
 string sTmp;

 dpGet(dp, fNewValue);

 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue); 
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchTLim.Send:_original.._value\",crate, hv); 
 
  dpSetWait(datapoint, fNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 184
"TextField12"
""
1 250 211 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
180 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 209 312 235
3 "s" 0 0 0 0 0 0 
E
"
main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchCTrp.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
 string sTmp;

 dpGet(dp, fNewValue);

 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}

/*main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchCTr.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
 string sTmp;

 dpGet(dp, fNewValue);
 fNewValue=fNewValue*2;
 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}
*/" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;


  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchCTrp.Send:_original.._value\",crate, hv); 
 
 dpSetWait(datapoint, fNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}

/* main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,sTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchCTrp.Send:_original.._value\",crate, hv); 
 iNewValue=fNewValue/2;
  dpSetWait(datapoint, iNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}
*/

// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 185
"TextField13"
""
1 250 181 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
181 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 179 312 205
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchDTrp.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
 string sTmp;

 dpGet(dp, fNewValue);

 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;


  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchDTrp.Send:_original.._value\",crate, hv); 

 dpSetWait(datapoint, fNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 186
"TextField14"
""
1 250 151 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
182 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 149 312 175
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchPINV.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
string sTmp;

 dpGet(dp, fNewValue);

 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
 dpGet(\"HVch.Numb:_original.._value\", hv);
 crate=0;
 sprintf(datapoint, \"Crate%02d.Channel%02d.LVchPINV.Send:_original.._value\",crate, hv); 

 dpSetWait(datapoint, fNewValue);
 err = getLastError();
 if (dynlen(err) > 0)
   errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 187
"TextField15"
""
1 250 121 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
183 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 119 312 145
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchVCSV.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
string sTmp;

 dpGet(dp, fNewValue);

 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);

  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchVCSV.Send:_original.._value\",crate, hv); 

  dpSetWait(datapoint, fNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 188
"TextField16"
""
1 88 121 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
184 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
86 119 150 145
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchVOut.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
string sTmp;

 dpGet(dp, fNewValue);
 fNewValue=fNewValue;
 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue); 
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchVOut.Send:_original.._value\",crate, hv); 
 iNewValue=fNewValue;
   dpSetWait(datapoint, iNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 189
"TextField17"
""
1 88 91 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
185 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
86 89 150 115
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchCLKR.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
string sTmp;

 dpGet(dp, fNewValue);
 fNewValue=fNewValue;
 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
 }" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
 if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchCLKR.Send:_original.._value\",crate, hv); 
 iNewValue=fNewValue;
  dpSetWait(datapoint, iNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 190
"TextField18"
""
1 88 61 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
186 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
86 59 150 85
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.LVchCLKS.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
 string sTmp;

 dpGet(dp, fNewValue);
 fNewValue=fNewValue;
 sprintf(sTmp,\"%.1f\",fNewValue);
 setValue(\"\", \"text\", sTmp );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
float fNewValue;
dyn_errClass err;
string sTmp,ssTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", ssTmp);
  sscanf(ssTmp, \"%d\", iNewValue);
  sprintf(sTmp,\"%d\",iNewValue);
  sscanf(ssTmp, \"%f\", fNewValue);
  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
 dpGet(\"HVch.Numb:_original.._value\", hv);
 crate=0;
 sprintf(datapoint, \"Crate%02d.Channel%02d.LVchCLKS.Send:_original.._value\",crate, hv); 
 iNewValue=fNewValue;
 dpSetWait(datapoint, iNewValue);
 err = getLastError();
 if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 232
"TextField6"
""
1 250 338 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
225 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 336 312 362
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv,icard;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
icard=hv/4;
sprintf(datapoint, \"Crate%02d.LV_card%02d.LVcaTrip.Send:_online.._value\",crate, icard); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
fNewValue=fNewValue/2.5;
  setValue(\"\", \"text\", dpValToString(dp, fNewValue, FALSE) );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string datapoint;
int crate, hv,icard;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
icard=hv/4;
sprintf(datapoint, \"Crate%02d.LV_card%02d.LVcaTrip.Send:_original.._value\",crate,icard); 
iNewValue=iNewValue*2.5;
  dpSetWait(datapoint, iNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 289
"TextField1"
""
1 88 338 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
281 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
86 336 150 362
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, lv,icard;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", lv);
crate=0;
icard=lv/4;
sprintf(datapoint, \"Crate%02d.LV_card%02d.LVcaMask.Send:_original.._value\",crate, icard); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, fNewValue, FALSE) );
}



// SimpleCtrlScript {EP_setBackColor}
// DP {Crate%02d.HVCard_0.HVccMask}
// DPConfig {:_online.._value}
// DPType {int}
// AlertHdl {FALSE}
// DPEInvalid {Crate%02d.HVCard_0.HVccMask}
// DPEConfigInvalid {:_online.._invalid}
// Operator1 {less}
// Operant1 {1}
// Color1 {\\{204,51,51\\}}
// Operator2 {else}
// Operant2 {}
// Color2 {\\{102,204,102\\}}
// SimpleCtrlScriptEnd {EP_setBackColor}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string datapoint, datapoint2, datapoint3,datapoint4, datapoint5;
int crate, lv,icard, iVdd, iVcc,iVcsel,iVpin,i;
int doit;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  if( iNewValue != sTmp )
  {
    ChildPanelOn( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\",1,0 )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", lv);
crate=0;
icard=lv/4;
doit=1;



  sprintf(datapoint,\"Crate00.LV_card%02d.LVcaMask.Send:_original.._value\",icard);
DebugN(\"icard \",icard,\"crate \",crate,\"datapoint \",datapoint,iNewValue);
  for (i=icard*4;i<=icard*4+3;i++)
  {   
   //   DebugN(\"i \",i,\"icard \", icard,\"lv \",lv);
      sprintf(datapoint2,\"Crate%02d.Channel%02d.LVch_Vcc.Send:_original.._value\",crate, i); 
      dpGet(datapoint2, iVcc); 
      sprintf(datapoint3, \"Crate%02d.Channel%02d.LVch_Vdd.Send:_original.._value\",crate, i); 
      dpGet(datapoint3, iVdd);
      sprintf(datapoint4,\"Crate%02d.Channel%02d.LVchVCSV.Send:_original.._value\",crate, i); 
      dpGet(datapoint4, iVcsel); 
      sprintf(datapoint5, \"Crate%02d.Channel%02d.LVchPINV.Send:_original.._value\",crate, i); 
      dpGet(datapoint5, iVpin);
      DebugN(\"datapoint4\",datapoint4,\"iVpin\", iVcc,iVdd,iVcsel,iVpin);
//      if(iVcc!=0 || iVdd!=0 || iVcsel<0.05 || iVpin!=0)
//      {
//      doit=0;
//      }
  }
      if (doit==1)
        {
         dpSetWait(datapoint, iNewValue);
 //        DebugN(\"if iNewValue\",iNewValue, \"iVdd\", iVdd, \"iVcc\", iVcc,iVcsel,iVpin);
        }
      else 
        {
         //EP_childPanelOn();
 //        DebugN(\"else iNewValue\",iNewValue, \"iVdd\", iVdd, \"iVcc\", iVcc,iVcsel,iVpin);
         }
/*delay(3);
  for (i=icard*4;i<=icard*4+3;i++)
  {  
       dpSet(\"Crate%02d.Controller.CCchRead.Send:_original.._value\", i);
  }
  */
      err = getLastError();
      if (dynlen(err) > 0)
      errorDialog(err);
}


EP_childPanelOn()
{
  ChildPanelOn(\"/subpanels/ErrorMask1.pnl\",
      \"\",
      makeDynString(\"\"),1,0);
      return;
}
// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 58
"TextField2"
""
1 250 464 E E E 1 E 1 E N "_WindowText" E N {153,204,255} E E
 E E
57 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 462 312 488
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchRamp.Send:_online.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, fNewValue, FALSE) );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchRamp.Send:_original.._value\",crate, hv); 
  dpSet(datapoint, iNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 60
"TextField4"
""
1 250 404 E E E 1 E 1 E N "_WindowText" E N {153,204,255} E E
 E E
59 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 402 312 428
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchVolt.Send:_original.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, fNewValue, FALSE) );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchVolt.Send:_original.._value\",crate, hv); 
  dpSetWait(datapoint, iNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

14 61
"TextField5"
""
1 250 434 E E E 1 E 1 E N "_WindowText" E N {153,204,255} E E
 E E
60 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
248 432 312 458
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchITrp.Send:_online.._value\",crate, hv); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, fNewValue, FALSE) );
}" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string datapoint;
int crate, hv;

  getValue(\"\", \"text\", sTmp);
  sscanf(sTmp, \"%d\", iNewValue);

  if( iNewValue != sTmp )
  {
    ChildPanelOnCentral( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\" )));
    return;
  }
dpGet(\"HVch.Numb:_original.._value\", hv);
crate=0;
sprintf(datapoint, \"Crate%02d.Channel%02d.HVchITrp.Send:_original.._value\",crate, hv); 
  dpSetWait(datapoint, iNewValue);
  err = getLastError();
  if (dynlen(err) > 0)
    errorDialog(err);
}


// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

13 426
"Button1"
""
1 649 13 E E E 1 E 1 E N "_3DText" E N {204,204,153} E E
 E E
407 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 ""
647 11 671 35
T 
1
LANG:1 1 !
"// SimpleCtrlScriptStart {valid}
main()
{
  EP_childPanelOn();
}

EP_childPanelOn()
{
  ChildPanelOnCentral(\"subpanels/BinStat.pnl\",
      \"\",
      makeDynString(\"\"));
}

// SimpleCtrlScript {EP_childPanelOn}
// Function {ChildPanelOnCentral}
// File {subpanels/BinStat.pnl}
// Panel {}
// Parent {}
// Module {}
// OffsetX {0}
// OffsetY {0}
// SimpleCtrlScriptEnd {EP_childPanelOn}
" 0
 E E E
13 400
"StatExplHV"
""
1 649 371 E E E 1 E 1 E N "_3DText" E N {102,153,204} E E
 E E
382 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 ""
647 369 671 393
T 
1
LANG:1 1 !
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_childPanelOn();
}

EP_childPanelOn()
{
  ChildPanelOnCentral(\"subpanels/BinStatHV.pnl\",
      \"\",
      makeDynString(\"\"));
}

// SimpleCtrlScript {EP_childPanelOn}
// Function {ChildPanelOnCentral}
// File {subpanels/BinStat.pnl}
// Panel {}
// Parent {}
// Module {}
// OffsetX {0}
// OffsetY {0}
// SimpleCtrlScriptEnd {EP_childPanelOn}
" 0
 E E E
13 404
"Button2"
""
1 649 306 E E E 1 E 1 E N "_3DText" E N {204,204,153} E E
 E E
386 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 ""
647 304 671 328
T 
1
LANG:1 1 !
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_childPanelOn();
}

EP_childPanelOn()
{
  ChildPanelOnCentral(\"subpanels/BinStatLVC.pnl\",
      \"\",
      makeDynString(\"\"));
}

// SimpleCtrlScript {EP_childPanelOn}
// Function {ChildPanelOnCentral}
// File {subpanels/BinStat.pnl}
// Panel {}
// Parent {}
// Module {}
// OffsetX {0}
// OffsetY {0}
// SimpleCtrlScriptEnd {EP_childPanelOn}
" 0
 E E E
14 411
"TextField3"
""
1 613 590 E E E 1 E 1 E N "_WindowText" E N {153,204,255} E E
 E E
393 0 0 0 0 0
EE E
0
1
LANG:1 0 
0
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 ""
86 523 150 549
3 "s" 0 0 0 0 0 0 
E
"main()
{
  EP_textFieldIn();
}

EP_textFieldIn()
{
string datapoint;
int crate, hv,icard;
dyn_errClass err;

//dpGet(\"Item.Crate:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
dpGet(\"Crate.Numb:_original.._value\",crate);
icard=hv/8;
sprintf(datapoint, \"Crate%02d.HV_card%02d.HVcaMask.Send:_original.._value\",crate, icard); 

  if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }

  dpConnect(\"EP_textFieldInCB\",
            datapoint);
  err = getLastError();
  if (dynlen(err) > 0)
    setValue(\"\", \"color\", \"_dpdoesnotexist\");

}

EP_textFieldInCB(string dp, float fNewValue)
{
  setValue(\"\", \"text\", dpValToString(dp, fNewValue, FALSE) );
}



// SimpleCtrlScript {EP_setBackColor}
// DP {Crate%02d.HVCard_0.HVccMask}
// DPConfig {:_online.._value}
// DPType {int}
// AlertHdl {FALSE}
// DPEInvalid {Crate%02d.HVCard_0.HVccMask}
// DPEConfigInvalid {:_online.._invalid}
// Operator1 {less}
// Operant1 {1}
// Color1 {\\{204,51,51\\}}
// Operator2 {else}
// Operant2 {}
// Color2 {\\{102,204,102\\}}
// SimpleCtrlScriptEnd {EP_setBackColor}
" 0

"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_textFieldOut();
}

EP_textFieldOut()
{
int iNewValue;
dyn_errClass err;
string sTmp;
string datapoint, datapoint2, datapoint3,datapoint4, datapoint5;
int crate, hv,icard,i;
int doit,volt;


  getValue(\"\", \"text\", sTmp);
 
  sscanf(sTmp, \"%d\", iNewValue);

  if( iNewValue != sTmp )
  {
    ChildPanelOn( \"vision/MessageWarning\",
                         getCatStr( \"e_para\", \"warning\" ),
                         makeDynString( getCatStr( \"e_para\", \"wrongFormat\",1,0 )));
    return;
  }
dpGet(\"Crate.Numb\",crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
icard=hv/8;
doit=1;
sprintf(datapoint,\"Crate%02d.HV_card%02d.HVcaMask.Send:_original.._value\",crate,icard);
//DebugN(\"icard \",icard,\"crate \",crate,\"datapoint \",datapoint,iNewValue);
  for (i=icard*8;i<=icard*8+8;i++)
  {   
   sprintf(datapoint2,\"Crate%02d.Channel%02d.HVchVolt.Recv:_online.._value\",crate,i);
   dpGet(datapoint2,volt);
   DebugN(\"why?\",datapoint2,volt);
      if(volt>10)
	  {
      doit=0;
      }
  }
      if (doit==1||iNewValue==255)
        {
         dpSetWait(datapoint, iNewValue);
 //        DebugN(\"if iNewValue\",iNewValue, \"iVdd\", iVdd, \"iVcc\", iVcc,iVcsel,iVpin);
        }
      else 
        {
         DebugN(\"Hei\");  
         EP_childPanelOn();
 //        DebugN(\"else iNewValue\",iNewValue, \"iVdd\", iVdd, \"iVcc\", iVcc,iVcsel,iVpin);
         }
/*delay(3);
  for (i=icard*4;i<=icard*4+3;i++)
  {  
       dpSet(\"Crate%02d.Controller.CCchRead.Send:_original.._value\", i);
  }
  */
      err = getLastError();
      if (dynlen(err) > 0)
      errorDialog(err);
}



// SimpleCtrlScript {EP_textFieldOut}
// DP {Crate1.HV0.HVcoRamp}
// Config {:_original.._value}
// DPType {int}
// SimpleCtrlScriptEnd {EP_textFieldOut}
" 0

13 405
"Button3"
""
1 649 498 E E E 1 E 1 E N "_3DText" E N {102,153,204} E E
 E E
387 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 ""
647 496 671 520
T 
1
LANG:1 1 !
"// SimpleCtrlScriptStart {invalid}
main()
{
  EP_childPanelOn();
}

EP_childPanelOn()
{
  ChildPanelOnCentral(\"subpanels/BinStatHVC.pnl\",
      \"\",
      makeDynString(\"\"));
}

// SimpleCtrlScript {EP_childPanelOn}
// Function {ChildPanelOnCentral}
// File {subpanels/BinStat.pnl}
// Panel {}
// Parent {}
// Module {}
// OffsetX {0}
// OffsetY {0}
// SimpleCtrlScriptEnd {EP_childPanelOn}
" 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