V 10
1
LANG:1 6 Values
PANEL,416 194 461 563 N "_3DFace" 0
"main()
{
  int crate, channel, parameter;
  string parameterPath;
  dyn_string parametersNames;
 
  parametersNames = makeDynString(\"LVchStat\", \"HVchStat\", \"LVch_Vcc\", \"LVps_Vcc\", \"LVretVcc\", \"LVch_Icc\", 
				\"LVch_Vdd\", \"LVps_Vdd\", \"LVretVdd\", \"LVch_Idd\", \"LVchVCSV\", \"LVchVCSI\", 
				\"LVchPINV\", \"LVchPINI\", \"MOch_Tm0\", \"MOch_Tm1\", \"HVchVolt\", \"HVchCurr\");
  //get the actual crate and channel
  dpGet(\"Crate.Numb:_original.._value\", crate);
  dpGet(\"HVch.Numb:_original.._value\", channel);
  
  for(parameter=1; parameter<=dynlen(parametersNames); parameter++)
     {
        //second, connect to the new coordinates
        sprintf(parameterPath, \"Crate%02d.Channel%02d.%s.Recv:_online.._value\",
              crate, channel, parametersNames[parameter]);
        dpConnect(\"printValue\", parameterPath);
     }
  //connect for the future changes in crate and channel numbers
  //we don't need this function to be executed a the statrt (initilisation), hense the use of FALSE
  dpConnect(\"connectChannelParameters\", FALSE, \"Crate.Numb:_original.._value\", \"HVch.Numb:_original.._value\");
  
  //connect to the function that get the last send value (for controlled) parameters.
  //we need this function to be executed the first time (intialisation time)!
  dpConnect(\"printControlledParametersValues\", \"Crate.Numb:_original.._value\", \"HVch.Numb:_original.._value\");
}" 0
EE E E 1 -1 -1 0  30 40
"" 0 1
E"EP_childPanelOn()
{
 ChildPanelOnCentralModal(\"subpanels/ErrorMask.pnl\",\"\",makeDynString(\"\"));
}

getTimeStamp(string dpePath, int x_position, int y_position)
{
	string local_time_date;
	time time_stamp;
	bool visible;
	
	getValue(\"time_stamp1\", \"visible\", visible);
    setValue(\"time_stamp1\", \"position\",x_position-250, y_position+25);
	if(visible)
	  {
		 setValue(\"time_stamp1\", \"visible\", FALSE);
	  }
	else
	  {  	
	     dpGet(dpePath+\":_original.._stime\", time_stamp);
	     local_time_date = formatTime(\"%d/%m/%Y  %H:%M:%S\", time_stamp, \":%04d\");
	     setValue(\"time_stamp1\", \"text\", local_time_date);
		 setValue(\"time_stamp1\", \"visible\", TRUE); 
		 delay(6);
		 setValue(\"time_stamp1\", \"visible\", FALSE);
	  }
}

				
connectChannelParameters(string cratePath, int crate, string channelPath, int channel)
{
  int old_crate, old_channel, parameter;
  string parameterPath;

  dyn_string parametersNames = makeDynString(\"LVchStat\", \"HVchStat\", \"LVch_Vcc\", \"LVps_Vcc\", \"LVretVcc\", \"LVch_Icc\", 
				\"LVch_Vdd\", \"LVps_Vdd\", \"LVretVdd\", \"LVch_Idd\", \"LVchVCSV\", \"LVchVCSI\", 
				\"LVchPINV\", \"LVchPINI\", \"MOch_Tm0\", \"MOch_Tm1\", \"HVchVolt\", \"HVchCurr\");		
  //Remark: the actual crate and channel are passed via this function parameters

  //get the old crate and channel
  dpGet(\"Crate.Indx:_original.._value\", old_crate);
  dpGet(\"HVch.Indx:_original.._value\", old_channel);
  
  for(parameter=1; parameter<=dynlen(parametersNames); parameter++)
     {
        //first, disconnect from the old coordinates
        sprintf(parameterPath, \"Crate%02d.Channel%02d.%s.Recv:_online.._value\",
              old_crate, old_channel, parametersNames[parameter]);
        dpDisconnect(\"printValue\", parameterPath); 
      
        //second, connect to the new coordinates
        sprintf(parameterPath, \"Crate%02d.Channel%02d.%s.Recv:_online.._value\",
              crate, channel, parametersNames[parameter]);
         dpConnect(\"printValue\", parameterPath);
     }
}

printValue(string parameterPath, float parameterValue)
{
   int parameter;
   string Value, parameterName;
   dyn_string dpeSplit, parametersFormats;
   dyn_string parametersNames = makeDynString(\"LVchStat\", \"HVchStat\", \"LVch_Vcc\", \"LVps_Vcc\", \"LVretVcc\", \"LVch_Icc\", 
				\"LVch_Vdd\", \"LVps_Vdd\", \"LVretVdd\", \"LVch_Idd\", \"LVchVCSV\", \"LVchVCSI\", 
				\"LVchPINV\", \"LVchPINI\", \"MOch_Tm0\", \"MOch_Tm1\", \"HVchVolt\", \"HVchCurr\");
   
   //this are the parameters format
   parametersFormats = makeDynString(\"%-3d\", \"%-3d\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", 
                                     \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", 
                                     \"%-5.2f\", \"%-5.2f\", \"%-5.2f\");
   //get the parameter name
   dpeSplit = strsplit(parameterPath, \".\");
   parameterName =  dpeSplit[3];
   //find the correspondinf format
   for(parameter=1; parameter<=dynlen(parametersFormats); parameter++)
     {
        if(parameterName == parametersNames[parameter]) break;
     }
   sprintf(Value, parametersFormats[parameter], parameterValue);
   //print the value
   setValue(parameterName, \"text\", Value);
   
   //special treatement of the channel stat parameters
   if(parameterName==\"LVchStat\")
     {
        sprintf(Value, \"%x\", parameterValue);
        //print the value in hexadecimal
        setValue(\"LVchStat_hex\", \"text\", Value);
        //display stat as color (red=tripped or green=ok)
        if(parameterValue == 32) //32 is 0x20 in hexadecimal and means LV channel tripped
          {                      //Remark: parameterValue is float, then one can't use biwise operators
             setValue(\"LVchStat_color\", \"backCol\", \"Red\");
          }
        else
         {
            setValue(\"LVchStat_color\", \"backCol\", \"Green\");
         }  
     }
   else if(parameterName==\"HVchStat\")
     {
        sprintf(Value, \"%x\", parameterValue);
        //print the value in hexadecimal
        setValue(\"HVchStat_hex\", \"text\", Value);
        //display stat as color (red=tripped or green=ok)
        if(parameterValue == 192)//192 is 0xC0 in hexadecimal and means HV channel tripped
          {                      //Remark: parameterValue is float, then one can't use biwise operators
             setValue(\"HVchStat_color\", \"backCol\", \"Red\");
          }
        else
         {
            setValue(\"HVchStat_color\", \"backCol\", \"Green\");
         }  
     }
}

printControlledParametersValues(string cratePath, int crate, string channelPath, int channel)
{
  int parameter;
  float parameterValue;
  string Value, parameterPath;
  dyn_string parametersFormats;
  dyn_string parametersNames = makeDynString(\"LVch_Vcc\", \"LVch_Vdd\",  \"LVchVCSV\", \"LVchPINV\", \"LVchTLim\",
                               \"LVchTTrp\", \"LVchCTrp\", \"LVchDTrp\", \"LVchCLKS\", \"LVchCLKR\", \"LVchVOut\",
			                   \"HVchVolt\", \"HVchITrp\", \"HVchRamp\");	
  //this are the parameters format
  parametersFormats = makeDynString(\"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", \"%-5.2f\", 
                                    \"%-5.2f\", \"%-2d\", \"%-2d\", \"%-2d\", \"%-5.2f\", \"%-8d\", \"%-2d\");	
  //Remark: the actual crate and channel are passed via this function parameters
 
  for(parameter=1; parameter<=dynlen(parametersNames); parameter++)
     {     
        //second, connect to the new coordinates
        sprintf(parameterPath, \"Crate%02d.Channel%02d.%s.Send:_online.._value\",
              crate, channel, parametersNames[parameter]);
        dpGet(parameterPath, parameterValue);
        //use the parameter format to display it
        sprintf(Value, parametersFormats[parameter], parameterValue);
        //print the value
        setValue(parametersNames[parameter]+\"_set\", \"text\", Value);
     }
}


setParameterSendValue(string parameterName)
{
  int crate, channel, parameter;
  string parameterPath, parameterValue;

  //get the choosen value from  parameter's textField
  getValue(parameterName+\"_set\", \"text\", parameterValue);
  
  //get the actual crate and channel
  dpGet(\"Crate.Numb:_original.._value\", crate);
  dpGet(\"HVch.Numb:_original.._value\", channel);
  
  //contruct the parameter path and set the its value
  sprintf(parameterPath, \"Crate%02d.Channel%02d.%s.Send:_original.._value\", crate, channel, parameterName);  
  dpSet(parameterPath, parameterValue);
}" 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 381
"Text82"
""
1 10 30 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 32 448 398
1 2 0 "s" 0 0 0 65 0 0  12 32
 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 448 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
"LVch_Vcc"
""
1 249 61 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"
E E 0 1 1 0 1 E U  1 E 251 63 287 79
1 2 0 "s" 0 0 0 64 0 0  251 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 LVch_Vcc
2 107
"Text55"
""
1 20 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 22 42 92 58
0 2 0 "s" 0 0 0 64 0 0  22 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 20 63 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 22 65 68 78
0 2 0 "s" 0 0 0 64 0 0  22 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 7 Vcc (V)
2 112
"Text58"
""
1 20 90 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 22 92 68 105
0 2 0 "s" 0 0 0 64 0 0  22 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 7 Vdd (V)
2 113
"Text59"
""
1 20 115 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 22 117 78 133
0 2 0 "s" 0 0 0 64 0 0  22 117
 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 20 142 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 22 144 88 160
0 2 0 "s" 0 0 0 64 0 0  22 144
 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 20 203 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 22 205 98 221
0 2 0 "s" 0 0 0 64 0 0  22 205
 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 20 181 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 22 183 98 199
0 2 0 "s" 0 0 0 64 0 0  22 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 18 Icc Trip (ms) Trip
2 121
"Text63"
""
1 20 245 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 22 247 88 263
0 2 0 "s" 0 0 0 64 0 0  22 247
 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 20 268 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 22 270 88 286
0 2 0 "s" 0 0 0 64 0 0  22 270
 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 20 311 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 22 313 88 329
0 2 0 "s" 0 0 0 64 0 0  22 313
 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 20 337 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 22 339 88 355
0 2 0 "s" 0 0 0 64 0 0  22 339
 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 Reset
2 129
"Text67"
""
1 20 361 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 22 363 68 376
0 2 0 "s" 0 0 0 64 0 0  22 363
 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 169 40 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 171 42 257 56
0 2 0 "s" 0 0 0 64 0 0  171 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 13 MONITORING : 
2 135
"Text71"
""
1 170 63 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 172 65 215 78
0 2 0 "s" 0 0 0 64 0 0  172 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 7 Vcc (V)
2 136
"Text72"
""
1 170 90 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 172 92 216 105
0 2 0 "s" 0 0 0 64 0 0  172 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 8 Vdd (V) 
2 137
"Text73"
""
1 172 117 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 174 119 240 135
0 2 0 "s" 0 0 0 64 0 0  174 119
 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 172 142 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 174 144 250 160
0 2 0 "s" 0 0 0 64 0 0  174 144
 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 196 183 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 198 185 244 198
0 2 0 "s" 0 0 0 64 0 0  198 185
 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 172 181 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 174 183 220 196
0 2 0 "s" 0 0 0 64 0 0  174 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 9 Icc (mA) 
2 141
"Text77"
""
1 172 247 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 174 249 240 265
0 2 0 "s" 0 0 0 64 0 0  174 249
 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 T Link 0 (C) 
2 142
"Text78"
""
1 172 270 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 174 272 238 286
0 2 0 "s" 0 0 0 64 0 0  174 272
 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 T Link 1 (C)
2 152
"Text88"
""
1 172 206 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 174 208 220 221
0 2 0 "s" 0 0 0 64 0 0  174 208
 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 Idd (mA)
2 209
"Text5"
""
1 10 410 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 412 448 548
1 2 0 "s" 0 0 0 65 0 0  12 412
 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 44
"HVchCurr"
""
1 290 480 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"
E E 0 1 1 0 1 E U  1 E 292 482 398 498
1 2 0 "s" 0 0 0 64 0 0  292 482
 1
1
LANG:1 119 -microsoft windows-Courier New-normal-r-normal-*-*-110-100-100-*-*-iso8859-1|-12,0,0,0,400,0,0,0,0,3,2,1,49,Courier New
0 ""
1
LANG:1 8 HVchCurr
2 160
"Text96"
""
1 210 424 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 212 426 308 442
0 2 0 "s" 0 0 0 64 0 0  212 426
 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 209 482 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 211 484 257 497
0 2 0 "s" 0 0 0 64 0 0  211 484
 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 209 452 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 211 454 277 467
0 2 0 "s" 0 0 0 64 0 0  211 454
 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 19 424 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 21 426 91 442
0 2 0 "s" 0 0 0 64 0 0  21 426
 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 20 450 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 22 452 98 478
0 2 0 "s" 0 0 0 64 0 0  22 452
 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 20 478 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 22 480 108 496
0 2 0 "s" 0 0 0 64 0 0  22 480
 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 Curr Trip 
2 158
"Text94"
""
1 20 514 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 22 516 68 529
0 2 0 "s" 0 0 0 64 0 0  22 516
 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
"LV_Channel_Numb"
""
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"
"main()
{
  //show which channel has been selected
  dpConnect(\"displayActualChannel\", \"HVch.Numb:_online.._value\");
}

displayActualChannel(string dpePath, int channel)
{
   setValue(\"LV_Channel_Numb\", \"text\", channel);
   setValue(\"HV_Channel_Numb\", \"text\", channel);
}
" 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 390 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 392 448 413
1 2 0 "s" 0 0 0 64 0 0  12 392
 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   HV CHANNELS
2 365
"HV_Channel_Numb"
""
1 143 391 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"
E E 0 1 1 0 1 E U  1 E 145 393 231 409
0 2 0 "s" 0 0 0 64 0 0  145 393
 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
2 422
"LVchStat"
""
1 343 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"
E E 0 1 1 0 1 E U  1 E 345 14 369 31
1 2 0 "s" 0 0 0 64 0 0  345 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 288 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 290 15 336 28
0 2 0 "s" 0 0 0 64 0 0  290 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
"LVchStat_hex"
""
1 375 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"
E E 0 1 1 0 1 E U  1 E 377 14 401 31
1 2 0 "s" 0 0 0 64 0 0  377 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 300 63 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 302 65 325 78
0 2 0 "s" 0 0 0 64 0 0  302 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 2 PS
2 428
"Text106"
""
1 373 63 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 375 65 395 78
0 2 0 "s" 0 0 0 64 0 0  375 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 Ret
2 429
"Text108"
""
1 217 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 219 65 242 78
0 2 0 "s" 0 0 0 64 0 0  219 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 374 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 376 92 396 105
0 2 0 "s" 0 0 0 64 0 0  376 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 301 90 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 303 92 326 105
0 2 0 "s" 0 0 0 64 0 0  303 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 2 PS
2 432
"Text114"
""
1 234 117 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 236 119 259 132
0 2 0 "s" 0 0 0 64 0 0  236 119
 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 305 116 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 307 118 330 131
0 2 0 "s" 0 0 0 64 0 0  307 118
 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 234 142 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 236 144 259 157
0 2 0 "s" 0 0 0 64 0 0  236 144
 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 305 141 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 307 143 330 156
0 2 0 "s" 0 0 0 64 0 0  307 143
 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
"HVchStat"
""
1 343 392 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"
E E 0 1 1 0 1 E U  1 E 345 394 369 411
1 2 0 "s" 0 0 0 64 0 0  345 394
 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 288 393 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 290 395 336 408
0 2 0 "s" 0 0 0 64 0 0  290 395
 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
"HVchStat_hex"
""
1 375 374 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"
E E 0 1 1 0 1 E U  1 E 377 394 399 411
1 2 0 "s" 0 0 0 64 0 0  377 394
 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 461
"Text16"
""
1 259 480 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
439 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 261 482 307 498
0 2 0 "s" 0 0 0 64 0 0  261 482
 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 ( nA)
2 462
"Text35"
""
1 20 492 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
440 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 494 68 510
0 2 0 "s" 0 0 0 64 0 0  22 494
 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 ( nA)
2 463
"Text36"
""
1 218 90 E E E 1 E 1 E N {0,0,0} E N "_Transparent" E E
 E E
440 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 220 92 243 105
0 2 0 "s" 0 0 0 64 0 0  220 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 Mod
2 465
"LVps_Vcc"
""
1 321 62 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
440 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 323 64 359 80
1 2 0 "s" 0 0 0 64 0 0  323 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 LVps_Vcc
2 466
"LVretVcc"
""
1 398 62 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
441 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 400 64 436 80
1 2 0 "s" 0 0 0 64 0 0  400 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 LVretVcc
2 467
"LVch_Icc"
""
1 251 180 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
442 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 253 182 289 198
1 2 0 "s" 0 0 0 64 0 0  253 182
 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 468
"LVch_Vdd"
""
1 250 89 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
443 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 252 91 288 107
1 2 0 "s" 0 0 0 64 0 0  252 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 LVch_Vdd
2 469
"LVps_Vdd"
""
1 322 89 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
444 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 324 91 360 107
1 2 0 "s" 0 0 0 64 0 0  324 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 LVps_Vdd
2 470
"LVch_Idd"
""
1 251 205 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
445 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 253 207 289 223
1 2 0 "s" 0 0 0 64 0 0  253 207
 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 471
"LVchVCSV"
""
1 251 116 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
446 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 253 118 289 134
1 2 0 "s" 0 0 0 64 0 0  253 118
 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 472
"LVchVCSI"
""
1 321 116 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
447 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 323 118 359 134
1 2 0 "s" 0 0 0 64 0 0  323 118
 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 473
"LVchPINV"
""
1 251 143 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
448 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 253 145 289 161
1 2 0 "s" 0 0 0 64 0 0  253 145
 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 474
"LVchPINI"
""
1 321 143 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
449 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 323 145 359 161
1 2 0 "s" 0 0 0 64 0 0  323 145
 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 475
"MOch_Tm0"
""
1 251 246 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
450 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 253 248 289 264
1 2 0 "s" 0 0 0 64 0 0  253 248
 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 476
"MOch_Tm1"
""
1 251 271 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
451 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,try;
int crate,count,crateold,hvold;
string channel;

dpGet(\"Crate.Numb:_original.._value\", crate);
dpGet(\"HVch.Numb:_original.._value\", hv);
channel=\"HVch.Numb:_original.._value\";
dpGet(\"Crate.Indx:_original.._value\", crateold);
dpGet(\"HVch.Indx:_original.._value\", hvold);
sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crateold,hvold);
dpConnect(\"EP_textFieldInCB1\",datapoint); 
dpConnect(\"Connection\",channel,\"Crate.Numb:_original.._value\");
//dpConnect(\"Connection\",\"Crate.Numb:_original.._value\");
 err = getLastError();
 if (dynlen(err) > 0)
 setValue(\"\", \"color\", \"_dpdoesnotexist\");

if( dpSubStr( datapoint, DPSUB_DP_EL ) == \"\" )
  {
    setValue(\"\", \"color\", \"_dpdoesnotexist\");
    return;
  }
}
Connection(string dp, int iNewValue)
{
int crate,i;
string datapoint;
  dpGet(\"Crate.Indx:_original.._value\", crate);
  dpGet(\"HVch.Indx:_original.._value\", i);
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpDisconnect(\"EP_textFieldInCB1\",datapoint); 
  dpGet(\"Crate.Numb:_original.._value\", crate);
  dpGet(\"HVch.Numb:_original.._value\", i);
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpConnect(\"EP_textFieldInCB1\",datapoint); 
}

EP_textFieldInCB1(string dp, float fNewValue)
{ 
  string datapoint;
  int crate,i;
  dpGet(\"Crate.Numb:_original.._value\", crate);
  dpGet(\"HVch.Numb:_original.._value\", i);
  sprintf(datapoint,\"Crate%02d.Channel%02d.MOch_Tm1.Recv:_online.._value\",crate,i);
  dpGet(datapoint,fNewValue);
  setValue(\"\", \"text\", fNewValue );
  //DebugN(\"displayed datapoint\",datapoint);

}
// 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 253 273 289 289
1 2 0 "s" 0 0 0 64 0 0  253 273
 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 477
"HVchVolt"
""
1 291 451 E E E 1 E 1 E N {0,0,0} E N {153,204,255} E E
 E E
452 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 293 453 399 469
1 2 0 "s" 0 0 0 64 0 0  293 453
 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 478
"LVretVdd"
""
1 398 89 E E E 1 E 1 E N {0,0,0} E N {255,255,204} E E
 E E
453 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 400 91 436 107
1 2 0 "s" 0 0 0 64 0 0  400 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
14 455
"LVchDTrp_set"
""
1 98 203 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
434 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 ""
96 201 150 227
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchDTrp\");
}" 0

14 180
"LVch_Vcc_set"
""
1 98 60 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 ""
96 58 150 84
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVch_Vcc\");
}" 0

14 58
"HVchRamp_set"
""
1 98 513 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 ""
96 511 192 537
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);
dpGet(\"Crate.Numb:_original.._value\", crate);
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

"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"HVchRamp\");
}" 0

14 60
"HVchVolt_set"
""
1 98 453 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 ""
96 451 192 477
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"HVchVolt\");
}" 0

14 61
"HVchITrp_set"
""
1 98 483 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 ""
96 481 192 507
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"HVchITrp\");
}" 0

13 426
"LVchStat_color"
""
1 411 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 ""
409 11 433 35
T 
1
LANG:1 1 !
"main()
{
  ChildPanelOnCentral(\"subpanels/BinStat.pnl\", \"\", makeDynString(\"\"));
}" 0
 E E "
main()
{
/*
  int crate, channel, crateMax, channelMax;
  string statParameterPath;
  
  //get the system configuration (find how many crates and channels are used)
  dpGet(\"SCTmops1:Umax.Numb:_original.._value\", crateMax);
  dpGet(\"SCTmops1:Cmax.Numb:_original.._value\", channelMax);

  //display the actual channel stat as a color (green or red)
  dpConnect(\"displayChannelHWStat\", \"Crate.Numb:_original.._value\", \"HVch.Numb:_original.._value\");
  //display the stat of channel that has recently changed as a color (green or red)
  for(crate=0; crate<crateMax; crate++)
     {
       for(channel=0; channel<channelMax; channel++)
          {
             sprintf(statParameterPath, \"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\", crate, channel);
             dpConnect(\"channelHWStatColor\", FALSE, statParameterPath);
          }
     }
 */
}

displayChannelHWStat(string cratePath, int crate, string channelPath, int channel)
{
   int statParameterValue;
   string statParameterPath;
   
   //get the actual channel stat parameter: Path and Value
   sprintf(statParameterPath, \"Crate%02d.Channel%02d.LVchStat.Recv:_original.._value\", crate, channel);
   dpGet(statParameterPath, statParameterValue);
   
   //display color
   channelHWStatColor(statParameterPath, statParameterValue);  
}

channelHWStatColor(string statParameterPath, int statParameterValue)
{
  if(statParameterValue&0x20)
    {
      setValue(\"\", \"backCol\", \"Red\");
    }
  else
    {
      setValue(\"\", \"backCol\", \"Green\");
    }  
}
" 0

13 400
"HVchStat_color"
""
1 409 393 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 ""
407 391 431 415
T 
1
LANG:1 1 !
"main()
{
  ChildPanelOnCentral(\"subpanels/BinStatHV.pnl\", \"\", makeDynString(\"\"));
}" 0
 E E "main()
{
/*
  int crate, channel, crateMax, channelMax;
  string statParameterPath;
  
  //get the system configuration (find how many crates and channels are used)
  dpGet(\"SCTmops1:Umax.Numb:_original.._value\", crateMax);
  dpGet(\"SCTmops1:Cmax.Numb:_original.._value\", channelMax);
  DebugN(\"crateMax = \", crateMax);
  DebugN(\"channelMax = \", channelMax);

  //display the actual channel stat as a color (green or red)
  dpConnect(\"displayChannelHWStat\", \"Crate.Numb:_original.._value\", \"HVch.Numb:_original.._value\");
  //display the stat of channel that has recently changed as a color (green or red)
  for(crate=0; crate<crateMax; crate++)
     {
       for(channel=0; channel<channelMax; channel++)
          {
             sprintf(statParameterPath, \"Crate%02d.Channel%02d.HVchStat.Recv:_original.._value\", crate, channel);
             dpConnect(\"channelHWStatColor\", FALSE, statParameterPath);
          }
     }
     */
}

displayChannelHWStat(string cratePath, int crate, string channelPath, int channel)
{
   int statParameterValue;
   string statParameterPath;
   
   //get the actual channel stat parameter: Path and Value
   sprintf(statParameterPath, \"Crate%02d.Channel%02d.HVchStat.Recv:_original.._value\", crate, channel);
   dpGet(statParameterPath, statParameterValue);
   
   //display color
   channelHWStatColor(statParameterPath, statParameterValue);  
}

channelHWStatColor(string statParameterPath, int statParameterValue)
{
  DebugN(\"statParameterPath = \", statParameterPath);
  DebugN(\"statParameterValue = \", statParameterValue);
  if(statParameterValue&0xC0)
    {
      setValue(\"\", \"backCol\", \"Red\");
    }
  else
    {
      setValue(\"\", \"backCol\", \"Green\");
    }  
}
" 0

14 450
"LVch_Vdd_set"
""
1 98 87 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
429 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 ""
96 85 150 111
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVch_Vdd\");
}
" 0

14 451
"LVchVCSV_set"
""
1 98 114 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
430 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 ""
96 112 150 138
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchVCSV\");
}" 0

14 452
"LVchPINV_set"
""
1 98 141 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
431 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 ""
96 139 150 165
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchPINV\");
}" 0

14 454
"LVchCTrp_set"
""
1 98 178 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
433 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 ""
96 176 150 202
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchCTrp\");
}" 0

14 456
"LVchTLim_set"
""
1 98 242 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
435 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 ""
96 240 150 266
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchTLim\");
}" 0

14 457
"LVchTTrp_set"
""
1 98 267 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
436 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 ""
96 265 150 291
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchTTrp\");
}" 0

14 458
"LVchCLKS_set"
""
1 98 308 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
437 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 ""
96 306 150 332
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchCLKS\");
}" 0

14 459
"LVchCLKR_set"
""
1 98 335 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
438 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 ""
96 333 150 359
3 "s" 0 0 0 0 0 0 
E
E
"main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchCLKR\");
}" 0

14 460
"LVchVOut_set"
""
1 98 360 E E E 1 E 1 E N "_WindowText" E N {255,255,204} E E
 E E
439 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 ""
96 358 150 384
3 "s" 0 0 0 0 0 0 
E
E
"// SimpleCtrlScriptStart {invalid}
main()
{
  //this function is defined in panel general part
  setParameterSendValue(\"LVchVOut\");
}" 0

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