V 10 1 LANG:1 8 (NoName) PANEL,-1 -1 871 666 N {224,223,227} 2 "$1" "$2" " main() { // ------ Decode the name of node ------ string sDomain = $1; string 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) ? \"-\" : \"+\"; // ----------------------------------------------------- // Status summary -------------------------------------- _setColor2All(colOFF); dpConnect(\"ChangeLedColor0\", sNode+\".Status\"+\".On\"+\":_original.._value\"); dpConnect(\"ChangeLedColor1\", sNode+\".Status\"+\".RampUp\"+\":_original.._value\"); dpConnect(\"ChangeLedColor2\", sNode+\".Status\"+\".RampDown\"+\":_original.._value\"); dpConnect(\"ChangeLedColor3\", sNode+\".Status\"+\".FailureMaxSenseVoltage\"+\":_original.._value\"); dpConnect(\"ChangeLedColor4\", sNode+\".Status\"+\".FailureMaxTerminalVoltage\"+\":_original.._value\"); dpConnect(\"ChangeLedColor5\", sNode+\".Status\"+\".FailureMaxCurrent\"+\":_original.._value\"); dpConnect(\"ChangeLedColor6\", sNode+\".Status\"+\".FailureMaxTemperature\"+\":_original.._value\"); dpConnect(\"ChangeLedColor7\", sNode+\".Status\"+\".FailureMaxPower\"+\":_original.._value\"); dpConnect(\"ChangeLedColor8\", sNode+\".Status\"+\".FailureTimeout\"+\":_original.._value\"); // ----------------------------------------------------- string sSign = \"+\"; // <-----Don't forget to remove!!! 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/trd_General/trd_indicatorBIG.pnl\", \"vLVCh\",makeDynString(\"$sDpName:\"+sNode,\"$sDpeName:\"+sNode+\".MeasurementSenseVoltage\", \"$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/trd_General/trd_indicatorBIG.pnl\", \"iLVCh\",makeDynString(\"$sDpName:\"+sNode,\"$sDpeName:\"+sNode+\".MeasurementCurrent\", \"$Decimal:3\",\"$Digit:6\",\"$sLabel:IMON\",\"$sPanel:none\",\"$sSign:\",\"$sTitle:\"), xpos+15,ypos+80,0,1,1); removeSymbol(myModuleName(),myPanelName(),\"tLVCh\"); addSymbol(myModuleName(),myPanelName(),\"objects/trd_General/trd_indicator.pnl\", \"iLVCon\",makeDynString(\"$sDpName:\"+sNode,\"$sDpeName:\"+sNode+\".MeasurementTemperature\", \"$Decimal:1\",\"$Digit:6\",\"$sLabel:TMON\",\"$sPanel:none\",\"$sSign:\"+sSign,\"$sTitle:\"), xpos+15,ypos+140,0,1,1); */ // ------------------------- // Set the Chart // Adapt all the scales float fTmax = 35; int i, Rows; RowsLow = 9; for (i=0;i