V 10
1
LANG:1 8 (NoName)
PANEL,433 187 738 401 N "_3DFace" 0
EEE E E 1 -1 -1 0  190 90
"" 0 1
EE 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
13 0
"DPtype"
""
1 160 80 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
1 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 ""
158 78 312 132
T 
1
LANG:1 11 DP OPC type
"main()
{
int i,ii,crate,try;
string datapoint,testdatapoint;
dyn_string db;

DebugN(\"tried\");

db = makeDynString(\"MOch_Tm0\",\"MOch_Tm1\",\"HVchCurr\",\"HVchITrp\");

dpGet(\"Crate.Numb:_original.._value\",crate);
for(i=0;i<=47;i++)
 {
 sprintf(datapoint,\"SCTmops1:Crate%02d.Channel%02d.\",crate,i);
 for(ii=1;ii<=3;ii++)
  {
  dpSetWait(datapoint+db[ii]+\".Recv:_address.._datatype\",0);
  }
 for(ii=4;ii<=4;ii++)
  {
  dpSetWait(datapoint+db[ii]+\".Send:_address.._datatype\",0); 
  //DebugN(\"testdatapoint0\",datapoint+db[ii]+\".Send:_address.._datatype\");
  }
 }
}" 0
 E E "main()
{

}" 0

13 1
"Button2"
""
1 160 20 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
1 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 ""
158 18 312 72
T 
1
LANG:1 10 DP Archive
"main()
{
int i,ii,crate;
string datapoint,testdatapoint;
dyn_string db;

DebugN(\"tried\");

db = makeDynString(\"LVchStat\",\"LVch_Vcc\",\"LVps_Vcc\",\"LVretVcc\",\"LVch_Vdd\",
						 \"LVps_Vdd\",\"LVretVdd\",\"LVchVCSV\",
                         \"LVchVCSI\",\"LVchPINV\",\"LVchPINI\",
                         \"MOch_Tm0\",\"MOch_Tm1\",
                         \"LVch_Icc\",\"LVch_Idd\",\"HVchVolt\",
                         \"HVchCurr\",\"HVchStat\");


dpGet(\"Crate.Numb:_original.._value\",crate);
for(i=0;i<=47;i++)
 {
 for(ii=1;ii<=18;ii++)
  {
  sprintf(datapoint,\"SCTmops1:Crate%02d.Channel%02d.\",crate,i);
  sprintf(testdatapoint,datapoint+db[ii]+\".Recv:_archive.._type\");
  dpSetWait(datapoint+db[ii]+\".Recv:_archive.._type\", 45,
  datapoint+db[ii]+\".Recv:_archive.._archive\", TRUE,
  datapoint+db[ii]+\".Recv:_archive.1._type\", 15);
  }
 }
for(i=0;i<=11;i++)
 {
 sprintf(datapoint,\"SCTmops1:Crate%02d.LV_card%02d.LVcaStat.Recv\",crate,i);
 dpSetWait(datapoint+\":_archive.._type\", 45,
 datapoint+\":_archive.._archive\", TRUE,
 datapoint+\":_archive.1._type\", 15);
  DebugN(\"LV card\",i,datapoint);
 }
 for(i=0;i<=5;i++)
 {
 sprintf(datapoint,\"SCTmops1:Crate%02d.HV_card%02d.HVcaStat.Recv\",crate,i);
 dpSetWait(datapoint+\":_archive.._type\", 45,
 datapoint+\":_archive.._archive\", TRUE,
 datapoint+\":_archive.1._type\", 15);
  DebugN(\"Hv card\",i,datapoint);
 }
}" 0
 E E "main()
{

}" 0

13 2
"Button3"
""
1 160 150 E E E 1 E 1 E N "_3DText" E N "_3DFace" E E
 E E
2 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 ""
158 148 312 202
T 
1
LANG:1 13 DP conversion
"main()
{
int i,ii,crate,try;
string datapoint,testdatapoint;
dyn_string db;

DebugN(\"tried\");

db = makeDynString(\"MOch_Tm0\",\"MOch_Tm1\",\"HVchITrp\");

dpGet(\"Crate.Numb:_original.._value\",crate);
for(i=0;i<=47;i++)
 {
 sprintf(datapoint,\"SCTmops1:Crate%02d.Channel%02d.\",crate,i);
dpSetWait(datapoint+\"HVchITrp.Send:_cmd_conv.1._poly_a\",0); 
dpSetWait(datapoint+\"HVchITrp.Send:_cmd_conv.1._poly_b\",0.1); 
DebugN(\"testdatapoint0\",datapoint+\"HVchITrp.Send:_cmd_conv.1._poly_b\");
 }
}" 0
 E E "main()
{

}" 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