V 10 1 LANG:1 8 (NoName) PANEL,-1 -1 871 666 N "hmpUserFrameBack" 2 "$1" "$2" " main() { // ------ Decode the name of node ------ sDomain = $1; sNode = $2; hmpBase_GetCoords(sNode, iModule, iSector, iExtra, iType); if(iType != LDT_LVSEG && iType != LDT_LVROSEG) { DebugN(\"hmpHVChannel: Bad referenced Alias for PWS Module !! ABORT [\"+sNode+\"]\"); return; } sLogName = hmpBase_buildLogicalName(iType,iModule,iSector,iExtra); string sSign = (iType == LDT_LVSEG && iExtra == LDC_ISNEGATIVE) ? \"-\" : \"+\"; // ----------------------------------------------------- int xpos,ypos,wpos,hpos; getValue(\"fr1\",\"position\",xpos,ypos); getValue(\"fr1\",\"size\",wpos,hpos); xpos = xpos;// -1030; ypos = ypos -(hpos); removeSymbol(myModuleName(),myPanelName(),\"vLVCh\"); addSymbol(myModuleName(),myPanelName(),\"objects/hmpGeneral/hmpIndicatorBIG.pnl\", \"vLVCh\",makeDynString(\"$sDpName:\"+sNode,\"$sDpeName:\"+sNode+\".actual.vMon\", \"$Decimal:3\",\"$Digit:6\",\"$sLabel:VMON\",\"$sPanel:none\",\"$sSign:\"+sSign,\"$sTitle:\"), xpos+15,ypos+40,0,1,1); removeSymbol(myModuleName(),myPanelName(),\"iLVCh\"); addSymbol(myModuleName(),myPanelName(),\"objects/hmpGeneral/hmpIndicatorBIG.pnl\", \"iLVCh\",makeDynString(\"$sDpName:\"+sNode,\"$sDpeName:\"+sNode+\".actual.iMon\", \"$Decimal:3\",\"$Digit:6\",\"$sLabel:IMON\",\"$sPanel:none\",\"$sSign:\",\"$sTitle:\"), xpos+15,ypos+80,0,1,1); removeSymbol(myModuleName(),myPanelName(),\"iLVCon\"); addSymbol(myModuleName(),myPanelName(),\"objects/hmpGeneral/hmpIndicator.pnl\", \"iLVCon\",makeDynString(\"$sDpName:\"+sNode,\"$sDpeName:\"+sNode+\".actual.vCon\", \"$Decimal:3\",\"$Digit:6\",\"$sLabel:VCON\",\"$sPanel:none\",\"$sSign:\"+sSign,\"$sTitle:\"), xpos+15,ypos+140,0,1,1); // ------------------------- // Set the Chart // Adapt all the scales float fImax; dpGet(sNode+\".readBackSettings.i0:_original.._value\",fImax); fImax = fImax * 1.20; Trend1.curveAutoscale(\"Imon\")=FALSE; Trend1.curveMax(\"Imon\", fImax ); Trend1.curveMin(\"Imon\", 0 ); // then put the names & Units Trend1.curveLegendName(\"Vmon\", \"LV Voltage monitoring\"); Trend1.curveLegendName(\"Imon\", \"LV Current monitoring\"); Trend1.curveLegendUnit(\"Vmon\", \"V\"); Trend1.curveLegendUnit(\"Imon\", \"A\"); // Then Connect the Dps Trend1.connectDirectly(\"Vmon\", sNode+\".actual.vMon:_original.._value\"); Trend1.connectDirectly(\"Imon\", sNode+\".actual.iMon:_original.._value\"); // ------------------------- // ------------------------- getValue(\"lnStatusW\",\"position\",xpos,ypos); getValue(\"fr1\",\"size\",wpos,hpos); xpos = xpos;// -1030; ypos = ypos; removeSymbol(myModuleName(),myPanelName(),\"StatusWord\"); addSymbol(myModuleName(),myPanelName(),\"objects/hmpGeneral/hmpLedBar.pnl\", \"StatusWord\",makeDynString(\"$sDpE:\"+sNode+\".actual.status\", \"$colOFF:{53,0,0}\",\"$colON:{253,0,0}\", \"$Tips:ChON,Ramp Up,Ramp Down,Over Current,Over Voltage,Under Voltage,External Trip,Over HV Max,External Disabled,Internal Trip,Calibration Error,Unplugged,Under Current,Over Voltage Protection,Power Fail,Temperature Error\"), xpos+2,ypos+19,0,1,1); dpConnect(\"VSetValue\",sNode+\".readBackSettings.v0:_original.._value\",sNode+\".readBackSettings.v0:_original.._invalid\"); dpConnect(\"ISetValue\",sNode+\".readBackSettings.i0:_original.._value\",sNode+\".readBackSettings.i0:_original.._invalid\"); dpConnect(\"TSetValue\",sNode+\".readBackSettings.tripTime:_original.._value\",sNode+\".readBackSettings.tripTime:_original.._invalid\"); // ------------------------- fwCU_connectState(\"ChState\",sDomain+\"::\"+sNode); // -------- Access control ------------------------------------------- // Set the CB Function that Hook the change of Logged User dyn_string exceptionInfo; fwAccessControl_setupPanel(\"hmpLVChannel_LoggedUserAC\",exceptionInfo); if (dynlen(exceptionInfo)) { hmpLVChannel_LoggedUserAC(\"\",\"\"); // global \"reject\" } // ---------------------------------------------------------------------- // ---------------- Set the title into the main window ------------------ if(iType == LDT_LVROSEG) dcsUiBase_setMainTitle(\"HMPID - RICH \"+iModule+\" READ OUT \"+ ( (iExtra == LDC_ISLEFT) ? \"LEFT\" :\"RIGHT\" )+\" LV CHANNEL\" ); else dcsUiBase_setMainTitle(\"HMPID - RICH \"+iModule+\" SECTOR \"+iSector+\" FFE \"+( (iExtra == LDC_ISNEGATIVE)?\"NEGATIVE\":\"POSITIVE\")+\" LV CHANNEL\" ); // ---------------------------------------------------------------------- } /// ---- Dp connected function VSetValue(string dp,float fNewValue,string dp2,bool invalid) { setMultiValue(\"txtActualV\",\"text\",fNewValue,\"txtActualV\",\"foreCol\",(invalid) ? \"?invalid\":\"hmpDataInputFore\"); } ISetValue(string dp,float fNewValue,string dp2,bool invalid) { setMultiValue(\"txtActualI\",\"text\",fNewValue,\"txtActualI\",\"foreCol\",(invalid) ? \"?invalid\":\"hmpDataInputFore\"); } TSetValue(string dp,float fNewValue,string dp2,bool invalid) { setMultiValue(\"txtActualT\",\"text\",fNewValue,\"txtActualT\",\"foreCol\",(invalid) ? \"?invalid\":\"hmpDataInputFore\"); } ChState(string node, string state) { string color; fwCU_getStateColor(node, state, color); setMultiValue(\"txtChStatus\",\"text\",state,\"txtChStatus\",\"backCol\",color); } " 0 "main() { // -------------- Event Terminate --------------------- // // Here REMOVE all objects inserted with an // addSymbol() function // // int removeSymbol (string moduleName, string panelName, string refName); removeSymbol(myModuleName(),myPanelName(),\"vLVCh\"); removeSymbol(myModuleName(),myPanelName(),\"iLVCh\"); removeSymbol(myModuleName(),myPanelName(),\"StatusWord\"); removeSymbol(myModuleName(),myPanelName(),\"iLVCon\"); // } //" 0 E E E 1 0 0 0 0 0 ""0 1 E "#uses \"hmpBaselibrary.ctl\" #uses \"hmpCAENlibrary.ctl\" global int iModule; global int iSector; global int iType; global int iExtra; global string sNode; global string sDomain; global string sLogName; void __LoadParamTable(string sLogicalChannel) { dyn_string dsDpEl; dyn_float dfValues; // Keep the parameters values if( !hmpCAEN_LoadFwCaenChannelStock(sLogicalChannel,1,dsDpEl,dfValues)) return; txtVSetON.text = dfValues[dynContains(dsDpEl,\"v0\")]; txtISetRU.text = dfValues[dynContains(dsDpEl,\"i0\")]; txtDelay.text = dfValues[dynContains(dsDpEl,\"delay\")]; txtTripTime.text = dfValues[dynContains(dsDpEl,\"tripTime\")]; if( !hmpCAEN_LoadFwCaenChannelStock(sLogicalChannel,2,dsDpEl,dfValues)) return; txtISetON.text = dfValues[dynContains(dsDpEl,\"i0\")]; if( !hmpCAEN_LoadFwCaenChannelStock(sLogicalChannel,3,dsDpEl,dfValues)) return; txtISetRD.text = dfValues[dynContains(dsDpEl,\"i0\")]; txtTripAtReady.text = 0; return; } void __StoreParamTable(string sLogicalChannel) { dyn_string dsDpEl; dyn_float dfValues; dsDpEl = makeDynString(\"v0\",\"i0\",\"tripTime\",\"delay\"); // disbling the I0 set - 18/01/2006 // dfValues = makeDynFloat(txtVSetON.text,txtISetRU.text,txtTripTime.text,txtDelay.text); dfValues = makeDynFloat(txtVSetON.text,txtISetON.text,txtTripTime.text,txtDelay.text); if( !hmpCAEN_StoreFwCaenChannelStock(sLogicalChannel,1,dsDpEl,dfValues)) return; dsDpEl = makeDynString(\"v0\",\"i0\",\"delay\"); dfValues = makeDynFloat(txtVSetON.text,txtISetON.text,txtDelay.text); if( !hmpCAEN_StoreFwCaenChannelStock(sLogicalChannel,2,dsDpEl,dfValues)) return; dsDpEl = makeDynString(\"i0\",\"tripTime\",\"delay\"); // disbling the I0 set - 18/01/2006 // dfValues = makeDynFloat(txtISetRD.text,txtTripAtReady.text,txtDelay.text); dfValues = makeDynFloat(txtISetON.text,txtTripAtReady.text,txtDelay.text); if( !hmpCAEN_StoreFwCaenChannelStock(sLogicalChannel,3,dsDpEl,dfValues)) return; return; } // ------ Access Control related Functions ------------------------------------ // void hmpLVChannel_DisableAllAC() { // Put Here all commands to disable objects on panel setMultiValue(\"cmdChOff\",\"visible\",false, \"cmdChOn\",\"visible\",false, \"cmdFWLink\",\"visible\",false, \"cmdLoadTable\",\"visible\",false, \"cmdStoreTable\",\"visible\",false, \"cmdStoreToChannel\",\"visible\",false); } void hmpLVChannel_EnableAC(bool isGuest, bool isOperator, bool isExpert, bool isAdmin) { if(isGuest) { // Put Here all commands to enable objects on panel // related to Guest grants setMultiValue(\"cmdChOff\",\"visible\",false, \"cmdChOn\",\"visible\",false, \"cmdFWLink\",\"visible\",false, \"cmdLoadTable\",\"visible\",false, \"cmdStoreTable\",\"visible\",false, \"cmdStoreToChannel\",\"visible\",false); } if(isOperator) { // Put Here all commands to enable objects on panel // related to Operator grants setMultiValue(\"cmdChOff\",\"visible\",true, \"cmdChOn\",\"visible\",true, \"cmdFWLink\",\"visible\",false, \"cmdLoadTable\",\"visible\",false, \"cmdStoreTable\",\"visible\",false, \"cmdStoreToChannel\",\"visible\",false); } if(isExpert) { // Put Here all commands to enable objects on panel // related to Expert grants setMultiValue(\"cmdChOff\",\"visible\",true, \"cmdChOn\",\"visible\",true, \"cmdFWLink\",\"visible\",false, \"cmdLoadTable\",\"visible\",true, \"cmdStoreTable\",\"visible\",true, \"cmdStoreToChannel\",\"visible\",true); } if(isAdmin) { // Put Here all commands to enable objects on panel // related to Administrator grants setMultiValue(\"cmdChOff\",\"visible\",true, \"cmdChOn\",\"visible\",true, \"cmdFWLink\",\"visible\",true, \"cmdLoadTable\",\"visible\",true, \"cmdStoreTable\",\"visible\",true, \"cmdStoreToChannel\",\"visible\",true); } } void hmpLVChannel_LoggedUserAC(string dp, string username_from_ui) { // Set the minimum users grants bool isGuest=false; bool isOperator=false; bool isExpert=false; bool isAdmin=false; // Disable all items in the panel hmpLVChannel_DisableAllAC(); // Get Grants for the specified user dcsUiBase_getACGrants(isAdmin,isExpert,isOperator,isGuest); // Now enable - this is related to the specific Policy rules hmpLVChannel_EnableAC(isGuest,isOperator,isExpert,isAdmin); } // ------------------------------------------------------------------------------ " 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 6 640 "Border1" "" 1 0 645 E E E 1 E 1 E N "hmpUserFrameFore" E N "hmpUserDeskPanelBack" E E E E 867 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 0 0 820 645 6 641 "Border2" "" 1 4 510 E E E 1 E 1 E N "hmpUserFrameFore" E N "hmpUserFrameBack" E E E E 868 0 0 0 0 0 E E E 4 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 4 4 814 510 30 477 "fr1" "" 1 12 200 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 725 0 0 0 0 0 E E E 1 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { }" 0 E 0 1 1 0 1 E U 0 E 10 40 190 200 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 0 2 478 "Text21" "" 1 160 72 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 726 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 162 74 190 90 0 2 0 "0s" 0 0 0 65 0 0 162 74 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 V 2 479 "Text22" "" 1 160 113 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 727 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 162 115 190 131 0 2 0 "0s" 0 0 0 65 0 0 162 115 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 A 30 480 "Frame2" "" 1 280 279 E E E 1 E 1 E N "_3DText" E N "_Transparent" E E E E 728 0 0 0 0 0 E E E 1 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 280 210 800 285 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 32 Settings ReadBacks from Hardware 2 481 "Text16" "" 1 299 241 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 729 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 301 243 315 260 0 2 0 "0s" 0 0 0 194 0 0 315 243 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 2 v0 2 482 "Text17" "" 1 439 241 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 730 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 441 243 456 260 0 2 0 "0s" 0 0 0 194 0 0 456 243 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 3 i0 2 483 "Text18" "" 1 568 242 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 731 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 570 244 635 261 0 2 0 "0s" 0 0 0 194 0 0 635 244 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 10 TripTime 4 485 "Line1" "" 1 17 227 E E E 1 E 1 E N "hmpUserFrameFore" E N {255,255,255} E E E E 733 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E 17 277 17 227 4 486 "Line2" "" 1 16 278 E E E 1 E 1 E N "hmpUserFrameFore" E N {255,255,255} E E E E 734 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E 264 278 16 278 4 487 "Line3" "" 1 264 277 E E E 1 E 1 E N "hmpUserFrameFore" E N {255,255,255} E E E E 735 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E 264 277 264 228 2 489 "Text20" "" 1 390 242 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 737 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 392 244 407 258 0 2 0 "0s" 0 0 0 64 0 0 392 244 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 V 2 490 "Text23" "" 1 531 241 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 738 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 533 243 548 257 0 2 0 "0s" 0 0 0 64 0 0 533 243 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 2 uA 2 491 "Text24" "" 1 696 241 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 739 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 698 243 716 258 0 2 0 "0s" 0 0 0 64 0 0 698 243 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 3 sec 4 496 "lnStatusW" "" 1 17 227 E E E 1 E 1 E N "hmpUserFrameFore" E N {255,255,255} E E E E 744 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E 17 227 264 227 2 502 "Text1" "" 1 18 245 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 750 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 20 247 266 263 0 2 0 "0s" 0 0 0 64 0 0 20 247 1 1 LANG:1 96 -*-Courier New-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Courier New 0 "" 1 LANG:1 34 T P O U U C I D H E U O O R R O 2 524 "Text2" "" 1 18 254 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 752 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 20 256 266 272 0 2 0 "0s" 0 0 0 64 0 0 20 256 1 1 LANG:1 96 -*-Courier New-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Courier New 0 "" 1 LANG:1 34 E W V C N A T I V T V V C D U N 2 525 "Text3" "" 1 18 263 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 753 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 20 265 266 281 0 2 0 "0s" 0 0 0 64 0 0 20 265 1 1 LANG:1 96 -*-Courier New-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Courier New 0 "" 1 LANG:1 34 R F P P L R S M R W P 30 540 "Frame1" "" 1 10 448 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 768 0 0 0 0 0 E E E 1 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 10 290 800 450 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 8 Settings 2 574 "txtChStatus" "" 1 10 10 E E E 1 E 1 E N "_WindowText" E N {204,204,204} E E E E 802 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { }" 0 E 0 1 1 0 1 E U 1 E 12 12 188 28 1 2 0 "0s" 0 0 0 65 0 0 12 12 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-16-*-100-100-*-*-iso8859-1|-16,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 10 RUMPING UP 2 617 "Text47" "" 1 20 309 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 845 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 22 311 238 330 0 2 0 "0s" 0 0 0 66 0 0 22 311 1 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 12 Voltage set 2 618 "Text48" "" 1 20 333 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 846 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 22 335 238 351 0 2 0 "0s" 0 0 0 66 0 0 22 335 1 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 19 Current limit at ON 2 619 "Text5" "" 1 20 358 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 847 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 22 360 238 376 0 2 0 "0s" 0 0 0 66 0 0 22 360 1 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 23 Current limit at RAMPUP 2 620 "Text8" "" 1 20 383 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 848 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 22 385 238 401 0 2 0 "0s" 0 0 0 66 0 0 22 385 1 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 33 Current limit in READY for Physic 2 621 "Text9" "" 1 402 304 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 849 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 404 306 528 322 0 2 0 "0s" 0 0 0 66 0 0 404 306 1 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 19 Trip time at RAMPUP 2 622 "Text49" "" 1 345 358 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 850 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 347 360 533 376 0 2 0 "0s" 0 0 0 66 0 0 347 360 1 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 23 FSM LockTime at Setting 2 623 "Text50" "" 1 631 302 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 851 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 633 304 658 320 0 2 0 "0s" 0 0 0 64 0 0 633 304 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 3 sec 2 624 "Text51" "" 1 631 357 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 852 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 633 359 658 377 0 2 0 "0s" 0 0 0 64 0 0 633 359 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 3 sec 2 625 "Text52" "" 1 341 306 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 853 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 343 308 368 324 0 2 0 "0s" 0 0 0 64 0 0 343 308 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 V 2 626 "Text53" "" 1 341 331 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 854 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 343 333 368 349 0 2 0 "0s" 0 0 0 64 0 0 343 333 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 A 2 627 "Text54" "" 1 341 356 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 855 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 343 358 368 374 0 2 0 "0s" 0 0 0 64 0 0 343 358 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 A 2 628 "Text55" "" 1 341 381 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 856 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 343 383 368 399 0 2 0 "0s" 0 0 0 64 0 0 343 383 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 1 A 2 629 "Text13" "" 1 402 329 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 857 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 404 331 528 347 0 2 0 "0s" 0 0 0 66 0 0 404 331 1 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 18 Trip time at READY 2 630 "Text14" "" 1 631 327 E E E 1 E 1 E N "hmpInstrumentUnitFore" E N "hmpInstrumentUnitBack" E E E E 858 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 1 E 633 329 658 345 0 2 0 "0s" 0 0 0 64 0 0 633 329 1 1 LANG:1 84 -*-Arial-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 3 sec 30 638 "Frame3" "" 1 10 279 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 866 0 0 0 0 0 E E E 1 1 LANG:1 0 1 "dashclr"N "_Transparent" E E 0 1 1 0 1 E U 0 E 10 210 270 285 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 11 Status Word 2 639 "Text56" "" 1 95 160 E E E 1 E 1 E N "hmpUserFrameFore" E N "_Transparent" E E E E 867 0 0 0 0 0 E E E 0 1 LANG:1 0 1 "dashclr"N "_Transparent" "main() { }" 0 E 0 1 1 0 1 E U 0 E 97 162 188 178 0 2 0 "0s" 0 0 0 65 0 0 97 162 1 1 LANG:1 87 -*-Arial-bold-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 1 LANG:1 8 V Conn. 23 476 "Trend1" "" 1 -44 -28 E E E 1 E 1 E N "hmpInstrumentFore" E N "hmpInstrumentBack" E E E E 724 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 198 8 802 204 5 E E E 1 599 N {255,255,255} 0 0 1 0 1 0 2 0 "Vmon" "" 0 1 0 0 1 "4 0 0.0" "%x" 0 0 2 0 E E 1 0 0 3 2 1 LANG:1 0 1 LANG:1 0 1 "" "" 1 0 1 1 0 1 N {204,51,51} 0 0 0 0 0 0 0 0 0 "Imon" "" 0 1 0 0 1 "2 1 0.0" "%x" 0 0 3 0 E E 1 0 0 3 2 1 LANG:1 0 1 LANG:1 0 1 "" "" 1 0 1 1 0 1 N {0,255,255} 0 0 0 0 0 0 0 0 1 1 "%X" "%x" 0 1 0 0 E 1 0 1 0 90 0 10 900 1 LANG:1 98 -*-Arial Narrow-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial Narrow 0 "" 1 LANG:1 98 -*-Arial Narrow-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial Narrow 0 "" 1 LANG:1 98 -*-Arial Narrow-*-r-normal-*-11-*-100-100-*-*-iso8859-1|-11,0,0,0,404,0,0,0,0,0,0,0,0,Arial Narrow 0 "" 100 N {255,255,255} 0 0 1 0 1 150 0 5 5 1 2 0 14 497 "txtActualV" "" 1 317 238 E E E 0 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 745 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 315 236 389 263 3 "0s" 0 0 0 0 0 -1 E "main() { }" 0 E 14 498 "txtActualI" "" 1 458 238 E E E 0 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 746 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 456 236 530 263 3 "0s" 0 0 0 0 0 -1 E E E 14 499 "txtActualT" "" 1 636 238 E E E 0 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 747 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 634 236 694 263 3 "0s" 0 0 0 0 0 -1 E E E 13 566 "cmdStoreTable" "" 1 670 410 E E E 1 E 1 E N "hmpUserFrameFore" E N "hmpUserFrameBack" E E E E 794 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 668 408 784 442 T 1 LANG:1 11 STORE TABLE "main() { __StoreParamTable(sLogName); }" 0 E E E 13 567 "cmdLoadTable" "" 1 550 410 E E E 1 E 1 E N "hmpUserFrameFore" E N "hmpUserFrameBack" E E E E 795 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 548 408 664 442 T 1 LANG:1 10 LOAD TABLE "main() { __LoadParamTable(sLogName); }" 0 E E E 13 572 "cmdFWLink" "" 1 220 410 E E E 1 E 1 E N "hmpUserFrameFore" E N "hmpUserFrameBack" E E E E 800 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 218 408 362 442 T 1 LANG:1 18 HV Channel Control "// SimpleCtrlScriptStart {invalid} main() { EP_childPanelOn(); } EP_childPanelOn() { string dpType; dyn_string dsAppo, exceptionInfo; dpType = dpTypeName(sNode); fwDevice_getDefaultOperationPanels(dpType, dsAppo, exceptionInfo); ChildPanelOnCentralModal(dsAppo[1]+\".pnl\",\"HV Channel\", makeDynString(\"$sDpName:\" + sNode )); } // SimpleCtrlScript {EP_childPanelOn} // Function {ChildPanelOnCentral} // File {fwCaen/fwCaenChannelOperation.pnl} // Panel {HVChOp} // Parent {} // Module {} // OffsetX {0} // OffsetY {0} // SimpleCtrlScriptEnd {EP_childPanelOn} " 0 E E E 13 573 "Button1" "" 1 20 410 E E E 1 E 1 E N "hmpUserFrameFore" E N "hmpUserFrameBack" E E E E 801 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 18 408 216 442 T 1 LANG:1 22 STORE PARAM TO CHANNEL "main() { string state; int set; // first get the actual FSM status fwDU_getState(sDomain, sNode, state); // and decide the set switch(state) { case \"ON\": set = 5; break; case \"OFF\": case \"TRIPPED\": set = 1; break; case \"INTERMEDIATE\": set = 3; break; default: return; break; } // Set the channel __StoreParamTable(sLogName); hmpCAEN_FwCaenChannelSetStock(sLogName,\"\",set,false); return; }" 0 E E E 14 631 "txtVSetON" "" 1 248 303 E E E 1 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 859 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 246 301 340 328 3 "0s" 0 0 0 0 0 -1 E E E 14 632 "txtISetON" "" 1 248 328 E E E 1 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 860 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 246 326 340 353 3 "0s" 0 0 0 0 0 -1 E E E 14 633 "txtISetRU" "" 1 248 353 E E E 0 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 861 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 246 351 340 378 3 "0s" 0 0 0 0 0 -1 E E E 14 634 "txtISetRD" "" 1 248 378 E E E 0 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 862 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 246 376 340 403 3 "0s" 0 0 0 0 0 -1 E "main() { }" 0 E 14 635 "txtTripTime" "" 1 538 300 E E E 1 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 863 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 536 298 630 325 3 "0s" 0 0 0 0 0 -1 E E E 14 636 "txtDelay" "" 1 538 357 E E E 1 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 864 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 536 355 630 382 3 "0s" 0 0 0 0 0 -1 E "main() { }" 0 E 14 637 "txtTripAtReady" "" 1 538 325 E E E 0 E 1 E N "hmpDataInputFore" E N "hmpDataInputBack" E E E E 865 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 84 -*-Arial-*-r-normal-*-13-*-100-100-*-*-iso8859-1|-13,0,0,0,404,0,0,0,0,0,0,0,0,Arial 0 "" 536 323 630 350 3 "0s" 0 0 0 0 0 -1 E E E 13 642 "cmdChOn" "" 1 20 460 E E E 1 E 1 E N "hmpUserFrameFore" E N "hmpUserFrameBack" E E E E 869 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 87 -*-Arial-bold-r-normal-*-16-*-100-100-*-*-iso8859-1|-16,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 18 458 162 502 T 1 LANG:1 10 CHANNEL ON "main() { dpSetWait(sNode+\".settings.onOff:_original.._value\",true); }" 0 E E E 13 643 "cmdChOff" "" 1 170 460 E E E 1 E 1 E N "hmpUserFrameFore" E N "hmpUserFrameBack" E E E E 870 0 0 0 0 0 E E E 0 1 LANG:1 0 0 1 LANG:1 87 -*-Arial-bold-r-normal-*-16-*-100-100-*-*-iso8859-1|-16,0,0,0,697,0,0,0,0,0,0,0,0,Arial 0 "" 168 458 312 502 T 1 LANG:1 11 CHANNEL OFF "main() { dpSetWait(sNode+\".settings.onOff:_original.._value\",false); }" 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