diff --git a/config/Makefile.linux b/config/Makefile.linux index 8956363af1a88a1e57e9723df14fe1ba592b4660..0a54864a33b9f7710c10b597a8059bad2a2705dd 100644 --- a/config/Makefile.linux +++ b/config/Makefile.linux @@ -125,14 +125,19 @@ install: $(DB) cat $$i | sed s/%IFO%/$$ifo/g\;s/%IFO0%/$$ifo0/g\;s/%SYS%/$$system/g > target/$(TARGET)/db/$$ifo/`basename $$i`; \ grep record target/$(TARGET)/db/$$ifo/`basename $$i` | egrep 'DACKILL|record\(ao|record\(stringout' | egrep -v 'DACKILL_PANIC' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "RO %s\n", $$0 }' >> target/$(TARGET)/db/$$ifo/autoBurt.req; \ grep record target/$(TARGET)/db/$$ifo/`basename $$i` | egrep 'record\(stringin' | egrep -v 'SDF_NAME' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "%s\n", $$0 }' >> target/$(TARGET)/db/$$ifo/autoBurt.req; \ + grep record target/$(TARGET)/db/$$ifo/`basename $$i` | egrep 'record\(ao' | egrep -v 'SWSTAT|DACKILL' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "%s.HSV\n%s.LSV\n%s.HIGH\n%s.LOW\n", $$0, $$0, $$0, $$0 }' >> target/$(TARGET)/db/$$ifo/autoBurt.req; \ + grep record target/$(TARGET)/db/$$ifo/`basename $$i` | egrep 'SWSTAT|DACKILL' | egrep -v 'DACKILL_PANIC' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "RO %s.HSV\nRO %s.LSV\nRO %s.LOW\n", $$0, $$0, $$0 }' >> target/$(TARGET)/db/$$ifo/autoBurt.req; \ \ grep record target/$(TARGET)/db/$$ifo/`basename $$i` | egrep 'record\(bo|record\(bi' | sed 's/.*"\(.*\)\".*/\1/g' >> target/$(TARGET)/db/$$ifo/autoBurt.req; \ + grep record target/$(TARGET)/db/$$ifo/`basename $$i` | egrep 'record\(bo|record\(bi' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "%s.OSV\n%s.ZSV\n", $$0, $$0 }' >> target/$(TARGET)/db/$$ifo/autoBurt.req; \ \ grep record target/$(TARGET)/db/$$ifo/`basename $$i` | egrep -v 'DACKILL|SDF_RELOAD|record\(ao|record\(string|record\(bi|record\(bo'| sed 's/.*"\(.*\)\".*/\1/g' >> target/$(TARGET)/db/$$ifo/autoBurt.req; \ + grep record target/$(TARGET)/db/$$ifo/`basename $$i` | egrep -v 'SWSTAT|DACKILL|record\(ao|record\(string|record\(bi|record\(bo' | sed 's/.*"\(.*\)\".*/\1/g' | awk '{ printf "%s.HSV\n%s.LSV\n%s.HIGH\n%s.LOW\n", $$0 , $$0, $$0, $$0 }' >> target/$(TARGET)/db/$$ifo/autoBurt.req; \ \ echo "dbLoadRecords \"db/$${ifo}/`basename $$i`\"" >> target/$(TARGET)/$(TARGET)$$ifo.cmd; \ echo "epicsEnvSet SDF_DIR /opt/rtcds/$(SITE)/${ifo}/target/$$model/$(TARGET)/burt/" >> target/$(TARGET)/$(TARGET)$$ifo.cmd; \ - echo "epicsEnvSet SDF_FILE $$model" >> target/$(TARGET)/$(TARGET)$$ifo.cmd; \ + echo "epicsEnvSet SDF_FILE safe" >> target/$(TARGET)/$(TARGET)$$ifo.cmd; \ + echo "epicsEnvSet SDF_MODEL $$model" >> target/$(TARGET)/$(TARGET)$$ifo.cmd; \ echo -n 'epicsEnvSet PREFIX '>> target/$(TARGET)/$(TARGET)$$ifo.cmd; \ grep _GRD_RB_STAT0 target/$(TARGET)/db/$$ifo/`basename $$i` | head -1 | sed 's/[^"]*"\([^"]*\)_GRD_RB_STAT0.*/\1/g' >> target/$(TARGET)/$(TARGET)$$ifo.cmd; \ done ; \ diff --git a/src/epics/seq/main.c b/src/epics/seq/main.c index ad890f9ce58bfb1be422c054f2f47d66fe12c21b..85708ab2568eca7ffdfdfb85a6a369b2cc03f73b 100644 --- a/src/epics/seq/main.c +++ b/src/epics/seq/main.c @@ -17,7 +17,10 @@ of this distribution. // Add command error checking, command out of range, etc. // Check autoBurt, particularly for SDF stuff // ADD ability to add channels from larger files. -// Fix GDSTP screen again. +// Add file CRC checking. +// File save on exit. +// Add code start time to log. +// Move log to new directory. Keep appending?? /* * Main program for demo sequencer @@ -43,7 +46,7 @@ of this distribution. #include "asCa.h" #include "asDbLib.h" -#define SDF_LOAD_ONLY 4 +#define SDF_LOAD_DB_ONLY 4 #define SDF_READ_ONLY 2 #define SDF_RESET 3 #define SDF_LOAD_PARTIAL 1 @@ -113,6 +116,7 @@ FILTER_TABLE filterTable[1000]; SET_ERR_TABLE setErrTable[SDF_ERR_TSIZE]; SET_ERR_TABLE unknownChans[SDF_ERR_TSIZE]; SET_ERR_TABLE uninitChans[SDF_ERR_TSIZE]; +SET_ERR_TABLE unMonChans[SDF_ERR_TSIZE]; struct timespec t; @@ -137,6 +141,156 @@ void init_vars() { } } +int getEpicsSettings(int numchans) +{ +dbAddr geaddr; +int ii; +long status; +long statusR; +double dval; +char sval[64]; +int chcount = 0; +int nvals = 1; + + for(ii=0;ii<numchans;ii++) + { + // Find address of channel + sprintf(cdTableP[ii].chname,"%s",cdTable[ii].chname); + cdTableP[ii].datatype = cdTable[ii].datatype; + cdTableP[ii].mask = cdTable[ii].mask; + cdTableP[ii].initialized = cdTable[ii].initialized; + // Find address of channel + status = dbNameToAddr(cdTableP[ii].chname,&geaddr); + if(!status) { + if(cdTableP[ii].datatype == 0) + { + statusR = dbGetField(&geaddr,DBR_DOUBLE,&dval,NULL,&nvals,NULL); + if(!statusR) cdTableP[ii].chval = dval; + } else { + statusR = dbGetField(&geaddr,DBR_STRING,&sval,NULL,&nvals,NULL); + if(!statusR) sprintf(cdTableP[ii].strval,"%s",sval); + } + chcount ++; + } + } +printf("Read %d EPICS values in getEpics \n",chcount); + +} + + +// writeTable2File ftype options: +#define SDF_WITH_INIT_FLAG 0 +#define SDF_FILE_PARAMS_ONLY 1 +#define SDF_FILE_BURT_ONLY 2 +int writeTable2File(char *filename, int ftype, CDS_CD_TABLE myTable[]) +{ +int ii; +FILE *csFile; + + // Write out local monitoring table as snap file. + csFile = fopen(filename,"w"); + for(ii=0;ii<chNum;ii++) + { + // printf("%s datatype is %d\n",myTable[ii].chname,myTable[ii].datatype); + char tabs[8]; + if(strlen(myTable[ii].chname) > 39) sprintf(tabs,"%s","\t"); + else sprintf(tabs,"%s","\t\t"); + + switch(ftype) + { + case SDF_WITH_INIT_FLAG: + if(myTable[ii].datatype == 0) + fprintf(csFile,"%s%s%d\t%.15e\t\%d\t%d\n",myTable[ii].chname,tabs,1,myTable[ii].chval,myTable[ii].mask,myTable[ii].initialized); + else + fprintf(csFile,"%s%s%d\t%s\t\%d\t%d\n",myTable[ii].chname,tabs,1,myTable[ii].strval,myTable[ii].mask,myTable[ii].initialized); + break; + case SDF_FILE_PARAMS_ONLY: + if(myTable[ii].datatype == 0) + fprintf(csFile,"%s%s%d\t%.15e\t%d\n",myTable[ii].chname,tabs,1,myTable[ii].chval,myTable[ii].mask); + else + fprintf(csFile,"%s%s%d\t%s\t\%dn",myTable[ii].chname,tabs,1,myTable[ii].strval,myTable[ii].mask); + break; + case SDF_FILE_BURT_ONLY: + if(myTable[ii].datatype == 0) + fprintf(csFile,"%s%s%d\t%.15e\n",myTable[ii].chname,tabs,1,myTable[ii].chval); + else + fprintf(csFile,"%s%s%d\t%s\n",myTable[ii].chname,tabs,1,myTable[ii].strval); + break; + default: + break; + } + } + fclose(csFile); +} +// Savetype +#define SAVE_TABLE_AS_SDF 1 +#define SAVE_TABLE_AS_BURT 2 +#define SAVE_EPICS_AS_SDF 3 +#define SAVE_EPICS_AS_BURT 4 +// Saveopts +#define SAVE_TIME_NOW 1 +#define SAVE_OVERWRITE 2 +#define SAVE_AS 3 + +int savesdffile(int saveType, int saveOpts, char *sdfdir, char *model, char *currentfile, char *saveasfile) +{ +char filename[256]; +char ftype[16]; +int status; + time_t now = time(NULL); + struct tm *mytime = localtime(&now); + + // Figure out the name of the file to save ******************************************************* + if(saveType == 1 || saveType == 3) sprintf(ftype,"%s","sdf"); + else sprintf(ftype,"%s","burt"); + + switch(saveOpts) + { + case SAVE_TIME_NOW: + sprintf(filename,"%s%s_%s_%d%02d%02d_%02d%02d%02d.snap", sdfdir,model,ftype, + (mytime->tm_year - 100), (mytime->tm_mon + 1), mytime->tm_mday, mytime->tm_hour, mytime->tm_min, mytime->tm_sec); + printf("File to save is TIME NOW: %s\n",filename); + break; + case SAVE_OVERWRITE: + sprintf(filename,"%s",currentfile); + printf("File to save is OVERWRITE: %s\n",filename); + break; + case SAVE_AS: + sprintf(filename,"%s%s_%s.snap",sdfdir,saveasfile,ftype); + printf("File to save is SAVE_AS: %s\n",filename); + break; + + default: + return(-1); + } + // SAVE THE DATA TO FILE ********************************************************************** + switch(saveType) + { + case SAVE_TABLE_AS_SDF: + printf("Save table as sdf\n"); + status = writeTable2File(filename,SDF_FILE_PARAMS_ONLY,cdTable); + break; + case SAVE_TABLE_AS_BURT: + printf("Save table as burt\n"); + status = writeTable2File(filename,SDF_FILE_BURT_ONLY,cdTable); + break; + case SAVE_EPICS_AS_SDF: + printf("Save epics as sdf\n"); + status = getEpicsSettings(chNum); + status = writeTable2File(filename,SDF_FILE_PARAMS_ONLY,cdTableP); + break; + case SAVE_EPICS_AS_BURT: + printf("Save epics as burt\n"); + status = getEpicsSettings(chNum); + status = writeTable2File(filename,SDF_FILE_BURT_ONLY,cdTableP); + break; + default: + return(-1); + } + return(0); +} + + // Routine to change ASG, thereby changing record locking void resetASG(char *name, int lock) { @@ -155,10 +309,9 @@ void resetASG(char *name, int lock) { dbFreeEntry(pdbentry); } -void compileUninitErrs(numEntries) +void createSortTableEntries(int numEntries) { int jj; -int nvals = 1; long status; dbAddr gaddr; struct buffer { @@ -172,18 +325,36 @@ struct strbuffer { char sval[128];; }strbuffer; long options = DBR_STATUS|DBR_TIME; +int nvals = 1; +int notMon = 0; chNotInit = 0; + chMon = 0; + + for(jj=0;jj<SDF_ERR_TSIZE;jj++) + { + sprintf(uninitChans[chNotInit].chname,"%s"," "); + sprintf(uninitChans[chNotInit].burtset,"%s"," "); + sprintf(uninitChans[chNotInit].liveset,"%s"," "); + sprintf(uninitChans[chNotInit].timeset,"%s"," "); + sprintf(unMonChans[notMon].chname,"%s"," "); + sprintf(unMonChans[notMon].burtset,"%s"," "); + sprintf(unMonChans[notMon].liveset,"%s"," "); + sprintf(unMonChans[notMon].timeset,"%s"," "); + } for(jj=0;jj<numEntries;jj++) { if((!cdTable[jj].initialized) && (chNotInit < SDF_ERR_TSIZE)) { printf("Chan %s not init %d %d %d\n",cdTable[jj].chname,cdTable[jj].initialized,jj,numEntries); sprintf(uninitChans[chNotInit].chname,"%s",cdTable[jj].chname); - sprintf(uninitChans[chNotInit].burtset,"%s"," "); - sprintf(uninitChans[chNotInit].timeset,"%s"," "); chNotInit ++; } + if(cdTable[jj].mask) chMon ++; + if((!cdTable[jj].mask) && (notMon < SDF_ERR_TSIZE)) { + sprintf(unMonChans[notMon].chname,"%s",cdTable[jj].chname); + notMon ++; + } } } @@ -253,7 +424,7 @@ static int lastcount = 0; // - BURT Setting // - Present Value // - Time the present setting was applied. -int spChecker(char *pref) +int spChecker(char *pref, int monitorAll) { int errCntr = 0; dbAddr paddr; @@ -280,7 +451,7 @@ int spChecker(char *pref) if(chNum) { for(ii=0;ii<chNum;ii++) { - if((errCntr < SDF_ERR_TSIZE) && (cdTable[ii].mask != 0)) + if((errCntr < SDF_ERR_TSIZE) && ((cdTable[ii].mask != 0) || (monitorAll))) { localErr = 0; // Find address of channel @@ -384,7 +555,7 @@ int newvalue(int numchans,CDS_CD_TABLE myTable[],int command) { chNotFound = 0; switch (command) { - case SDF_LOAD_ONLY: + case SDF_LOAD_DB_ONLY: case SDF_LOAD_PARTIAL: for(ii=0;ii<numchans;ii++) { // Find address of channel @@ -520,7 +691,7 @@ int readConfig(char *pref,char *sdfile, int command) switch(command) { - case SDF_LOAD_ONLY: + case SDF_LOAD_DB_ONLY: // Read the file and set EPICS records. DO NOT update the local setpoints table. // printf("LOAD_ONLY = %s\n",sdfile); cdf = fopen(sdfile,"r"); @@ -624,11 +795,12 @@ int readConfig(char *pref,char *sdfile, int command) // printf("%s %s %s %s\n",s1,s2,s3,s4); cdTableP[chNumP].mask = atoi(s4); if((cdTableP[chNumP].mask < 0) || (cdTableP[chNumP].mask > 1)) - cdTableP[chNumP].mask = -1; - } else { + cdTableP[chNumP].mask = 0; + } + // else { // printf("%s %s %s \n",s1,s2,s3); - cdTableP[chNumP].mask = -1; - } + // cdTableP[chNumP].mask = -1; + // } // Find channel in full list and replace setting info fmatch = 0; // We can set alarm values, but do not put them in cdTable @@ -688,9 +860,6 @@ int readConfig(char *pref,char *sdfile, int command) } } fclose(cdf); - chMon = 0; - for(ii=0;ii<chNum;ii++) - if(cdTable[ii].mask) chMon ++; lderror = newvalue(chNumP,cdTableP,command); if(!fmtInit) flderror = newfilterstats(fmNum,command); fmtInit = 1; @@ -731,7 +900,7 @@ int readConfig(char *pref,char *sdfile, int command) log = fopen("./ioc.log","a"); if(command == SDF_LOAD_PARTIAL) { fprintf(log,"New SDF request (w/table update): %s\nFile = %s\nTotal Chans = %d with load time = %d usec\n",timestring,sdfile,chNumP,(totaltime/1000)); - } else if(command == SDF_LOAD_ONLY){ + } else if(command == SDF_LOAD_DB_ONLY){ fprintf(log,"New SDF request (No table update): %s\nFile = %s\nTotal Chans = %d with load time = %d usec\n",timestring,sdfile,chNum,(totaltime/1000)); } fprintf(log,"***************************************************\n"); @@ -961,7 +1130,7 @@ void dbDumpRecords(DBBASE *pdbbase) cdTable[chNum].datatype = 1; sprintf(cdTable[chNum].strval,""); } - cdTable[chNum].mask = 1; + cdTable[chNum].mask = 0; cdTable[chNum].initialized = 0; // status = dbFirstField(pdbentry,TRUE); // if(status) printf(" No Fields\n"); @@ -971,6 +1140,7 @@ void dbDumpRecords(DBBASE *pdbbase) // } } + cdTable[chNum].mask = 1; chNum ++; status = dbNextRecord(pdbentry); } @@ -1000,6 +1170,13 @@ int main(int argc,char *argv[]) dbAddr chnotfoundaddr; dbAddr chnotinitaddr; dbAddr sorttableentriesaddr; + dbAddr monflagaddr; + dbAddr reloadtimeaddr; + dbAddr edbloadedaddr; + dbAddr savecmdaddr; + dbAddr saveasaddr; + dbAddr savetypeaddr; + dbAddr saveoptsaddr; // Initialize request for file load on startup. int sdfReq = SDF_LOAD_PARTIAL; long status; @@ -1011,11 +1188,17 @@ int main(int argc,char *argv[]) char loadedSdf[256]; int sperror = 0; int noMon; - FILE *csFile; + // FILE *csFile; int ii; int setChans = 0; char tsrString[64]; int tsrVal = 0; + int monFlag = 0; + int sdfSaveReq = 0; + int saveType = 0; + char saveTypeString[64]; + int saveOpts = 0; + char saveOptsString[64]; if(argc>=2) { iocsh(argv[1]); @@ -1026,9 +1209,11 @@ int main(int argc,char *argv[]) char *pref = getenv("PREFIX"); char *sdfDir = getenv("SDF_DIR"); char *sdf = getenv("SDF_FILE"); + char *modelname = getenv("SDF_MODEL"); // strcat(sdf,"_safe"); char sdfile[256]; char bufile[256]; + char saveasfilename[128]; printf("My prefix is %s\n",pref); // sprintf(sdfile, "%s%s%s", sdfDir, sdf,".sdf"); sprintf(sdfile, "%s%s%s", sdfDir, sdf,".snap"); // Initialize with BURT_safe.snap @@ -1040,6 +1225,7 @@ int main(int argc,char *argv[]) char reloadStat[256]; sprintf(reloadStat, "%s_%s", pref, "SDF_RELOAD_STATUS"); // Status of last reload char sdfFileName[256]; sprintf(sdfFileName, "%s_%s", pref, "SDF_NAME"); // Name of file to load next request char loadedFile[256]; sprintf(loadedFile, "%s_%s", pref, "SDF_LOADED"); // Name of file presently loaded + char edbloadedFile[256]; sprintf(edbloadedFile, "%s_%s", pref, "SDF_LOADED_EDB"); // Name of file presently loaded char speStat[256]; sprintf(speStat, "%s_%s", pref, "SDF_SP_ERR_CNT"); // Setpoint error counter char spaStat[256]; sprintf(spaStat, "%s_%s", pref, "SDF_ALARM_COUNT"); // Setpoint error counter char fcc[256]; sprintf(fcc, "%s_%s", pref, "SDF_FULL_CNT"); // Channels in Full BURT file @@ -1049,6 +1235,11 @@ int main(int argc,char *argv[]) char cnfname[256]; sprintf(cnfname, "%s_%s", pref, "SDF_DROP_CNT"); // SDF Table sorting request char cniname[256]; sprintf(cniname, "%s_%s", pref, "SDF_UNSET_CNT"); // SDF Table sorting request char stename[256]; sprintf(stename, "%s_%s", pref, "SDF_TABLE_ENTRIES"); // SDF Table sorting request + char monflagname[256]; sprintf(monflagname, "%s_%s", pref, "SDF_MON_ALL"); // SDF Table sorting request + char savecmdname[256]; sprintf(savecmdname, "%s_%s", pref, "SDF_SAVE_CMD"); // SDF Table sorting request + char saveasname[256]; sprintf(saveasname, "%s_%s", pref, "SDF_SAVE_AS_NAME"); // SDF Table sorting request + char savetypename[256]; sprintf(savetypename, "%s_%s", pref, "SDF_SAVE_TYPE"); // SDF Table sorting request + char saveoptsname[256]; sprintf(saveoptsname, "%s_%s", pref, "SDF_SAVE_OPTS"); // SDF Table sorting request // printf("SDF FILE EPICS = %s\n",sdfFileName); sprintf(timechannel,"%s_%s", pref, "TIME_STRING"); // printf("timechannel = %s\n",timechannel); @@ -1071,11 +1262,24 @@ int main(int argc,char *argv[]) status = dbNameToAddr(cnfname,&chnotfoundaddr); status = dbNameToAddr(cniname,&chnotinitaddr); status = dbNameToAddr(stename,&sorttableentriesaddr); + status = dbNameToAddr(reloadtimechannel,&reloadtimeaddr); + // Zero out the MONITOR ALL request + status = dbNameToAddr(monflagname,&monflagaddr); + status = dbPutField(&monflagaddr,DBR_LONG,&rdstatus,1); + // Zero out the save cmd + status = dbNameToAddr(savecmdname,&savecmdaddr); + status = dbPutField(&savecmdaddr,DBR_LONG,&rdstatus,1); + // Clear out the save as file name request + status = dbNameToAddr(saveasname,&saveasaddr); + status = dbPutField(&saveasaddr,DBR_STRING,"default",1); + status = dbNameToAddr(savetypename,&savetypeaddr); + status = dbNameToAddr(saveoptsname,&saveoptsaddr); status = dbNameToAddr(reloadStat,&reloadstat_addr); status = dbPutField(&reloadstat_addr,DBR_LONG,&rdstatus,1); status = dbNameToAddr(loadedFile,&loadedfile_addr); + status = dbNameToAddr(edbloadedFile,&edbloadedaddr); // printf("sp channel = %s\n",speStat); status = dbNameToAddr(speStat,&sperroraddr); @@ -1095,25 +1299,28 @@ int main(int argc,char *argv[]) // Get File Name status = dbNameToAddr(sdfFileName,&sdfname_addr); status = dbGetField(&sdfname_addr,DBR_STRING,sdf,&ropts,&nvals,NULL); - status = dbGetField(&tablesortreqaddr,DBR_STRING,tsrString,&ropts,&nvals,NULL); - if(strcmp(tsrString,"CHANS NOT FOUND") == 0) tsrVal = 1; - else if(strcmp(tsrString,"CHANS NOT INIT") == 0) tsrVal = 2; - else tsrVal = 0; sprintf(sdfile, "%s%s%s", sdfDir, sdf,".snap"); // Check if file name != to one presently loaded if(strcmp(sdf,loadedSdf) != 0) burtstatus |= 1; else burtstatus &= ~(1); - + if(burtstatus & 1) status = dbPutField(&reloadtimeaddr,DBR_STRING,"New SDF File Pending",1); + if(request != 0) { // Clear Request status = dbPutField(&reload_addr,DBR_LONG,&ropts,1); printf("New request is %d\n",request); switch (request){ - case SDF_LOAD_ONLY: - case SDF_LOAD_PARTIAL: + case SDF_LOAD_DB_ONLY: + strcpy(loadedSdf,sdf); + status = dbPutField(&edbloadedaddr,DBR_STRING,loadedSdf,1); + chNumP = 0; + break; case SDF_RESET: + break; + case SDF_LOAD_PARTIAL: strcpy(loadedSdf,sdf); status = dbPutField(&loadedfile_addr,DBR_STRING,loadedSdf,1); + status = dbPutField(&edbloadedaddr,DBR_STRING,loadedSdf,1); chNumP = 0; // printf("NEW FULL SDF REQ = %s \n%s %s\n%s\nReqest = %d\n",sdfile,sdf,loadedSdf,request); break; @@ -1134,32 +1341,53 @@ int main(int argc,char *argv[]) setChans = chNumP - alarmCnt; status = dbPutField(&filesetcntaddr,DBR_LONG,&setChans,1); status = dbPutField(&fulldbcntaddr,DBR_LONG,&chNum,1); + createSortTableEntries(chNum); noMon = chNum - chMon; status = dbPutField(&monchancntaddr,DBR_LONG,&noMon,1); status = dbPutField(&alrmchcountaddr,DBR_LONG,&alarmCnt,1); status = dbPutField(&chnotfoundaddr,DBR_LONG,&chNotFound,1); - compileUninitErrs(chNum); status = dbPutField(&chnotinitaddr,DBR_LONG,&chNotInit,1); - csFile = fopen(bufile,"w"); - for(ii=0;ii<chNum;ii++) - { - // printf("%s datatype is %d\n",cdTable[ii].chname,cdTable[ii].datatype); - char tabs[8]; - if(strlen(cdTable[ii].chname) > 39) sprintf(tabs,"%s","\t"); - else sprintf(tabs,"%s","\t\t"); - - if(cdTable[ii].datatype == 0) - fprintf(csFile,"%s%s%d\t%.15e\t\%d\t%d\n",cdTable[ii].chname,tabs,1,cdTable[ii].chval,cdTable[ii].mask,cdTable[ii].initialized); - else - fprintf(csFile,"%s%s%d\t%s\t\%d\t%d\n",cdTable[ii].chname,tabs,1,cdTable[ii].strval,cdTable[ii].mask,cdTable[ii].initialized); - } - fclose(csFile); + // Write out local monitoring table as snap file. + status = writeTable2File(bufile,SDF_WITH_INIT_FLAG,cdTable); } status = dbPutField(&reloadstat_addr,DBR_LONG,&burtstatus,1); - sleep(1); + // sleep(1); + // Check for SAVE requests + status = dbGetField(&savecmdaddr,DBR_LONG,&sdfSaveReq,&ropts,&nvals,NULL); + if(sdfSaveReq) + { + // Clear the save file request + status = dbPutField(&savecmdaddr,DBR_LONG,&ropts,1); + // Determine file type + status = dbGetField(&savetypeaddr,DBR_STRING,saveTypeString,&ropts,&nvals,NULL); + if(strcmp(saveTypeString,"TABLE AS SDF") == 0) saveType = 1; + else if(strcmp(saveTypeString,"TABLE AS BURT") == 0) saveType = 2; + else if(strcmp(saveTypeString,"EPICS DB AS SDF") == 0) saveType = 3; + else if(strcmp(saveTypeString,"EPICS DB AS BURT") == 0) saveType = 4; + else saveType = 0; + // Determine file options + status = dbGetField(&saveoptsaddr,DBR_STRING,saveOptsString,&ropts,&nvals,NULL); + if(strcmp(saveOptsString,"TIME NOW") == 0) saveOpts = 1; + else if(strcmp(saveOptsString,"OVERWRITE") == 0) saveOpts = 2; + else if(strcmp(saveOptsString,"SAVE AS") == 0) saveOpts = 3; + else saveOpts = 0; + // Get saveas filename + status = dbGetField(&saveasaddr,DBR_STRING,saveasfilename,&ropts,&nvals,NULL); + // Save the file + printf("savefile cmd: type = %d opts = %d\n",saveType,saveOpts); + savesdffile(saveType,saveOpts,sdfDir,modelname,sdfile,saveasfilename); + } // Check present settings vs BURT settings and report diffs. - sperror = spChecker(pref); + // Check if MON ALL CHANNELS is set + status = dbGetField(&monflagaddr,DBR_LONG,&monFlag,&ropts,&nvals,NULL); + sperror = spChecker(pref,monFlag); status = dbPutField(&sperroraddr,DBR_LONG,&sperror,1); + // Table sorting and presentation + status = dbGetField(&tablesortreqaddr,DBR_STRING,tsrString,&ropts,&nvals,NULL); + if(strcmp(tsrString,"CHANS NOT FOUND") == 0) tsrVal = 1; + else if(strcmp(tsrString,"CHANS NOT INIT") == 0) tsrVal = 2; + else if(strcmp(tsrString,"CHANS NOT MON") == 0) tsrVal = 3; + else tsrVal = 0; switch(tsrVal) { case 0: reportSetErrors(pref, sperror,setErrTable); @@ -1173,6 +1401,10 @@ int main(int argc,char *argv[]) reportSetErrors(pref, chNotInit, uninitChans); status = dbPutField(&sorttableentriesaddr,DBR_LONG,&chNotInit,1); break; + case 3: + reportSetErrors(pref, noMon, unMonChans); + status = dbPutField(&sorttableentriesaddr,DBR_LONG,&noMon,1); + break; default: reportSetErrors(pref, sperror,setErrTable); status = dbPutField(&sorttableentriesaddr,DBR_LONG,&sperror,1); diff --git a/src/epics/util/SDF_RESTORE.adl b/src/epics/util/SDF_RESTORE.adl new file mode 100644 index 0000000000000000000000000000000000000000..77e3533f6c8b879021c63a332f7bc75d029db331 --- /dev/null +++ b/src/epics/util/SDF_RESTORE.adl @@ -0,0 +1,953 @@ + +file { + name="/opt/rtcds/rtscore/branches/branch-2.9/src/epics/util/SDF_RESTORE.adl" + version=030107 +} +display { + object { + x=900 + y=98 + width=500 + height=460 + } + clr=14 + bclr=3 + cmap="" + gridSpacing=5 + gridOn=0 + snapToGrid=0 +} +"color map" { + ncolors=65 + colors { + ffffff, + ececec, + dadada, + c8c8c8, + bbbbbb, + aeaeae, + 9e9e9e, + 919191, + 858585, + 787878, + 696969, + 5a5a5a, + 464646, + 2d2d2d, + 000000, + 00d800, + 1ebb00, + 339900, + 2d7f00, + 216c00, + fd0000, + de1309, + be190b, + a01207, + 820400, + 5893ff, + 597ee1, + 4b6ec7, + 3a5eab, + 27548d, + fbf34a, + f9da3c, + eeb62b, + e19015, + cd6100, + ffb0ff, + d67fe2, + ae4ebc, + 8b1a96, + 610a75, + a4aaff, + 8793e2, + 6a73c1, + 4d52a4, + 343386, + c7bb6d, + b79d5c, + a47e3c, + 7d5627, + 58340f, + 99ffff, + 73dfff, + 4ea5f9, + 2a63e4, + 0a00b8, + ebf1b5, + d4db9d, + bbc187, + a6a462, + 8b8239, + 73ff6b, + 52da3b, + 3cb420, + 289315, + 1a7309, + } +} +rectangle { + object { + x=0 + y=339 + width=500 + height=100 + } + "basic attribute" { + clr=31 + } +} +rectangle { + object { + x=0 + y=0 + width=499 + height=22 + } + "basic attribute" { + clr=14 + } +} +text { + object { + x=10 + y=4 + width=200 + height=18 + } + "basic attribute" { + clr=2 + } + textix="FBID_SDF_RESTORE" + align="horiz. centered" +} +"text update" { + object { + x=256 + y=4 + width=200 + height=15 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_TIME_STRING" + clr=2 + bclr=14 + } + limits { + } +} +rectangle { + object { + x=0 + y=24 + width=499 + height=100 + } + "basic attribute" { + clr=55 + } +} +"related display" { + object { + x=27 + y=25 + width=448 + height=20 + } + display[0] { + name="TARGET_MEDM/FBID_SDF_TABLE.adl" + } + clr=0 + bclr=34 + label="SDF MONITOR" +} +rectangle { + object { + x=340 + y=131 + width=157 + height=200 + } + "basic attribute" { + clr=55 + } +} +rectangle { + object { + x=0 + y=131 + width=330 + height=200 + } + "basic attribute" { + clr=55 + } +} +"message button" { + object { + x=364 + y=206 + width=115 + height=19 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_RELOAD" + clr=50 + bclr=54 + } + label="RESET EDB TO TABLE" + release_msg="3" +} +"message button" { + object { + x=364 + y=158 + width=115 + height=19 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_RELOAD" + clr=50 + bclr=54 + } + label="LOAD TABLE + EDB" + release_msg="1" +} +"message button" { + object { + x=364 + y=182 + width=115 + height=19 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_RELOAD" + clr=50 + bclr=54 + } + label="LOAD TABLE ONLY" + release_msg="2" +} +"shell command" { + object { + x=84 + y=160 + width=200 + height=20 + } + command[0] { + label="BURT Restore" + name="/opt/rtcds/LOCATION_NAME/IFO_LC/scripts/fe_load_burt" + args="-s LOCATION_NAME -i IFO_LC -d DCU_NODE_ID MODEL_LC &" + } + clr=0 + bclr=14 + label="SDF/BURT REQUEST FILE" +} +"text update" { + object { + x=84 + y=185 + width=200 + height=19 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_NAME" + clr=50 + bclr=42 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=25 + y=218 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="TABLE LOAD" + align="horiz. centered" +} +byte { + object { + x=286 + y=216 + width=15 + height=19 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_RELOAD_STATUS" + clr=20 + bclr=60 + } + sbit=1 + ebit=1 +} +"text update" { + object { + x=84 + y=276 + width=200 + height=15 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_RELOAD_TIME" + clr=0 + bclr=54 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=25 + y=277 + width=50 + height=14 + } + "basic attribute" { + clr=14 + } + textix="TIME" + align="horiz. centered" +} +text { + object { + x=25 + y=187 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="REQUEST" + align="horiz. centered" +} +"text update" { + object { + x=84 + y=216 + width=200 + height=19 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_LOADED" + clr=50 + bclr=42 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=355 + y=135 + width=130 + height=18 + } + "basic attribute" { + clr=14 + } + textix="SDF RESTORE OPTIONS" + align="horiz. centered" +} +"text update" { + object { + x=84 + y=246 + width=200 + height=19 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_LOADED_EDB" + clr=50 + bclr=42 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=27 + y=248 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="EDB LOAD" + align="horiz. centered" +} +text { + object { + x=84 + y=135 + width=200 + height=18 + } + "basic attribute" { + clr=14 + } + textix="<---- SDF FILE REQUEST / SETTINGS ---->" + align="horiz. centered" +} +byte { + object { + x=286 + y=246 + width=15 + height=19 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_RELOAD_STATUS" + clr=20 + bclr=60 + } + sbit=1 + ebit=1 +} +text { + object { + x=27 + y=302 + width=50 + height=18 + } + "basic attribute" { + clr=14 + } + textix="CHANS" + align="horiz. centered" +} +"text update" { + object { + x=84 + y=300 + width=50 + height=19 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_FILE_SET_CNT" + clr=50 + bclr=42 + } + align="horiz. centered" + limits { + } +} +"message button" { + object { + x=364 + y=246 + width=115 + height=19 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_RELOAD" + clr=50 + bclr=54 + } + label="LOAD EDB ONLY" + release_msg="4" +} +composite { + object { + x=28 + y=52 + width=446 + height=68 + } + "composite name"="" + children { + composite { + object { + x=424 + y=52 + width=50 + height=47 + } + "composite name"="" + children { + "text update" { + object { + x=424 + y=83 + width=50 + height=16 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_ALARM_COUNT" + clr=0 + bclr=14 + } + align="horiz. centered" + limits { + } + } + text { + object { + x=424 + y=52 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="ALARM" + align="horiz. centered" + } + text { + object { + x=424 + y=68 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="SETS" + align="horiz. centered" + } + } + } + composite { + object { + x=358 + y=52 + width=50 + height=47 + } + "composite name"="" + children { + "text update" { + object { + x=358 + y=83 + width=50 + height=16 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_DROP_CNT" + clr=0 + bclr=14 + } + align="horiz. centered" + limits { + } + } + text { + object { + x=358 + y=52 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="NOT" + align="horiz. centered" + } + text { + object { + x=358 + y=68 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="FOUND" + align="horiz. centered" + } + } + } + composite { + object { + x=292 + y=52 + width=50 + height=47 + } + "composite name"="" + children { + "text update" { + object { + x=292 + y=83 + width=50 + height=16 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_UNSET_CNT" + clr=0 + bclr=14 + } + align="horiz. centered" + limits { + } + } + text { + object { + x=292 + y=52 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="NOT" + align="horiz. centered" + } + text { + object { + x=292 + y=68 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="INIT" + align="horiz. centered" + } + } + } + composite { + object { + x=94 + y=52 + width=50 + height=47 + } + "composite name"="" + children { + text { + object { + x=94 + y=68 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="DIFFS" + align="horiz. centered" + } + "text update" { + object { + x=94 + y=83 + width=50 + height=16 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_ERR_CNT" + clr=0 + bclr=14 + } + align="horiz. centered" + limits { + } + } + text { + object { + x=94 + y=52 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="TOTAL" + align="horiz. centered" + } + } + } + composite { + object { + x=28 + y=52 + width=50 + height=47 + } + "composite name"="" + children { + "text update" { + object { + x=28 + y=83 + width=50 + height=16 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_FULL_CNT" + clr=0 + bclr=14 + } + align="horiz. centered" + limits { + } + } + text { + object { + x=28 + y=52 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="TOTAL" + align="horiz. centered" + } + text { + object { + x=28 + y=68 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="SET PTS" + align="horiz. centered" + } + } + } + composite { + object { + x=160 + y=52 + width=50 + height=47 + } + "composite name"="" + children { + text { + object { + x=160 + y=68 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="MONITORED" + align="horiz. centered" + } + "text update" { + object { + x=160 + y=83 + width=50 + height=16 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_MON_CNT" + clr=0 + bclr=14 + } + align="horiz. centered" + limits { + } + } + text { + object { + x=160 + y=52 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="NOT" + align="horiz. centered" + } + } + } + composite { + object { + x=226 + y=52 + width=50 + height=68 + } + "composite name"="" + children { + "choice button" { + object { + x=226 + y=82 + width=50 + height=38 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_MON_ALL" + clr=0 + bclr=29 + } + } + text { + object { + x=226 + y=52 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="MONITOR" + align="horiz. centered" + } + text { + object { + x=226 + y=68 + width=50 + height=16 + } + "basic attribute" { + clr=14 + } + textix="SELECT" + align="horiz. centered" + } + } + } + } +} +text { + object { + x=5 + y=372 + width=60 + height=18 + } + "basic attribute" { + clr=14 + } + textix="FILE TYPE" + align="horiz. centered" +} +menu { + object { + x=84 + y=369 + width=200 + height=25 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SAVE_TYPE" + clr=0 + bclr=60 + } +} +text { + object { + x=5 + y=396 + width=70 + height=18 + } + "basic attribute" { + clr=14 + } + textix="FILE OPTIONS" + align="horiz. centered" +} +menu { + object { + x=84 + y=397 + width=200 + height=25 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SAVE_OPTS" + clr=0 + bclr=60 + } +} +"text entry" { + object { + x=290 + y=399 + width=200 + height=19 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SAVE_AS_NAME" + clr=0 + bclr=54 + } + limits { + } +} +"text update" { + object { + x=290 + y=372 + width=200 + height=19 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_LOADED" + clr=50 + bclr=42 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=84 + y=343 + width=200 + height=18 + } + "basic attribute" { + clr=14 + } + textix="SDF FIL SAVE" + align="horiz. centered" +} +"message button" { + object { + x=338 + y=343 + width=115 + height=19 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SAVE_CMD" + clr=50 + bclr=54 + } + label="SAVE SETTINGS" + release_msg="1" +} diff --git a/src/epics/util/SDF_TABLE.adl b/src/epics/util/SDF_TABLE.adl new file mode 100644 index 0000000000000000000000000000000000000000..268c4bd9f5d43c21e9d4457c6328568ace31d516 --- /dev/null +++ b/src/epics/util/SDF_TABLE.adl @@ -0,0 +1,3496 @@ + +file { + name="/opt/rtcds/rtscore/branches/branch-2.9/src/epics/util/SDF_TABLE.adl" + version=030107 +} +display { + object { + x=900 + y=330 + width=631 + height=920 + } + clr=14 + bclr=3 + cmap="" + gridSpacing=5 + gridOn=0 + snapToGrid=0 +} +"color map" { + ncolors=65 + colors { + ffffff, + ececec, + dadada, + c8c8c8, + bbbbbb, + aeaeae, + 9e9e9e, + 919191, + 858585, + 787878, + 696969, + 5a5a5a, + 464646, + 2d2d2d, + 000000, + 00d800, + 1ebb00, + 339900, + 2d7f00, + 216c00, + fd0000, + de1309, + be190b, + a01207, + 820400, + 5893ff, + 597ee1, + 4b6ec7, + 3a5eab, + 27548d, + fbf34a, + f9da3c, + eeb62b, + e19015, + cd6100, + ffb0ff, + d67fe2, + ae4ebc, + 8b1a96, + 610a75, + a4aaff, + 8793e2, + 6a73c1, + 4d52a4, + 343386, + c7bb6d, + b79d5c, + a47e3c, + 7d5627, + 58340f, + 99ffff, + 73dfff, + 4ea5f9, + 2a63e4, + 0a00b8, + ebf1b5, + d4db9d, + bbc187, + a6a462, + 8b8239, + 73ff6b, + 52da3b, + 3cb420, + 289315, + 1a7309, + } +} +rectangle { + object { + x=0 + y=0 + width=630 + height=22 + } + "basic attribute" { + clr=14 + } +} +text { + object { + x=10 + y=4 + width=200 + height=18 + } + "basic attribute" { + clr=2 + } + textix="FBID_SDF_TABLE" + align="horiz. centered" +} +"text update" { + object { + x=410 + y=4 + width=200 + height=15 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_TIME_STRING" + clr=2 + bclr=14 + } + limits { + } +} +rectangle { + object { + x=0 + y=24 + width=630 + height=30 + } + "basic attribute" { + clr=10 + } +} +rectangle { + object { + x=48 + y=57 + width=565 + height=22 + } + "basic attribute" { + clr=14 + } +} +text { + object { + x=70 + y=60 + width=200 + height=18 + } + "basic attribute" { + clr=2 + } + textix="CHANNEL NAME" + align="horiz. centered" +} +"text update" { + object { + x=48 + y=81 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT0" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=101 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT1" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=121 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT2" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=141 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT3" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=161 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT4" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=181 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT5" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=201 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT6" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=221 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT7" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=241 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT8" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=261 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT9" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"shell command" { + object { + x=13 + y=102 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT1 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="02" +} +"shell command" { + object { + x=13 + y=122 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT2 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="03" +} +"shell command" { + object { + x=13 + y=142 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT3 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="04" +} +"shell command" { + object { + x=13 + y=162 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT4 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="05" +} +"shell command" { + object { + x=13 + y=182 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT5 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="06" +} +"shell command" { + object { + x=13 + y=202 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT6 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="07" +} +"shell command" { + object { + x=13 + y=222 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT7 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="08" +} +"shell command" { + object { + x=13 + y=242 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT8 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="09" +} +"shell command" { + object { + x=13 + y=262 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT9 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="10" +} +menu { + object { + x=69 + y=29 + width=200 + height=20 + } + control { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SORT" + clr=0 + bclr=60 + } +} +"text update" { + object { + x=432 + y=30 + width=50 + height=16 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_TABLE_ENTRIES" + clr=14 + bclr=0 + } + align="horiz. centered" + limits { + } +} +"shell command" { + object { + x=13 + y=82 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT0 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="01" +} +text { + object { + x=443 + y=61 + width=170 + height=18 + } + "basic attribute" { + clr=2 + } + textix="TIME OF LAST CHANGE" + align="horiz. centered" +} +"text update" { + object { + x=443 + y=81 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT0_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=101 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT1_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=121 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT2_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=141 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT3_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=161 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT4_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=181 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT5_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=201 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT6_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=221 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT7_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=241 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT8_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=261 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT9_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=368 + y=61 + width=70 + height=18 + } + "basic attribute" { + clr=2 + } + textix="PRESENT" + align="horiz. centered" +} +"text update" { + object { + x=368 + y=81 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT0_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=101 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT1_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=121 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT2_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=141 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT3_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=161 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT4_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=181 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT5_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=201 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT6_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=221 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT7_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=241 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT8_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=368 + y=261 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT9_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +text { + object { + x=294 + y=61 + width=69 + height=18 + } + "basic attribute" { + clr=2 + } + textix="BURT" + align="horiz. centered" +} +"text update" { + object { + x=293 + y=81 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT0_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=101 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT1_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=121 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT2_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=141 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT3_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=161 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT4_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=181 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT5_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=201 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT6_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=221 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT7_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=241 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT8_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + format="string" + limits { + } +} +"text update" { + object { + x=293 + y=261 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT9_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + format="string" + limits { + } +} +composite { + object { + x=13 + y=286 + width=600 + height=200 + } + "composite name"="" + children { + "text update" { + object { + x=443 + y=286 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT10_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=306 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT11_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=326 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT12_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=346 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT13_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=366 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT14_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=386 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT15_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=406 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT16_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=426 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT17_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=446 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT18_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=466 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT19_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=286 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT10_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=306 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT11_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=326 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT12_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=346 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT13_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=366 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT14_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=386 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT15_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=406 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT16_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=426 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT17_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=446 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT18_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=466 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT19_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=286 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT10_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=306 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT11_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=326 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT12_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=346 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT13_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=366 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT14_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=386 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT15_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=406 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT16_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=426 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT17_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=446 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT18_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=466 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT19_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + composite { + object { + x=13 + y=286 + width=275 + height=200 + } + "composite name"="" + children { + "text update" { + object { + x=48 + y=286 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT10" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=306 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT11" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=326 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT12" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=346 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT13" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=366 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT14" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=386 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT15" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=406 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT16" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=426 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT17" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=446 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT18" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=466 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT19" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "shell command" { + object { + x=13 + y=287 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT10 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="11" + } + "shell command" { + object { + x=13 + y=307 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT11 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="12" + } + "shell command" { + object { + x=13 + y=327 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT12 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="13" + } + "shell command" { + object { + x=13 + y=347 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT13 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="14" + } + "shell command" { + object { + x=13 + y=367 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT14 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="15" + } + "shell command" { + object { + x=13 + y=387 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT15 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="16" + } + "shell command" { + object { + x=13 + y=407 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT16 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="17" + } + "shell command" { + object { + x=13 + y=427 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT17 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="18" + } + "shell command" { + object { + x=13 + y=447 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT18 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="19" + } + "shell command" { + object { + x=13 + y=467 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT19 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="20" + } + } + } + } +} +composite { + object { + x=13 + y=491 + width=600 + height=200 + } + "composite name"="" + children { + "text update" { + object { + x=48 + y=491 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT20" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=511 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT21" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=531 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT22" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=551 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT23" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=571 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT24" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=591 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT25" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=611 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT26" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=631 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT27" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=651 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT28" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=48 + y=671 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT29" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "shell command" { + object { + x=13 + y=492 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT20 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="21" + } + "shell command" { + object { + x=13 + y=512 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT21 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="22" + } + "shell command" { + object { + x=13 + y=532 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT22 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="23" + } + "shell command" { + object { + x=13 + y=552 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT23 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="24" + } + "shell command" { + object { + x=13 + y=572 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT24 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="25" + } + "shell command" { + object { + x=13 + y=592 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT25 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="26" + } + "shell command" { + object { + x=13 + y=612 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT26 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="27" + } + "shell command" { + object { + x=13 + y=632 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT27 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="28" + } + "shell command" { + object { + x=13 + y=652 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT28 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="29" + } + "shell command" { + object { + x=13 + y=672 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT29 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="30" + } + "text update" { + object { + x=443 + y=491 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT20_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=511 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT21_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=531 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT22_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=551 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT23_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=571 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT24_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=591 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT25_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=611 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT26_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=631 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT27_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=651 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT28_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=443 + y=671 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT29_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=491 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT20_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=511 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT21_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=531 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT22_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=551 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT23_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=571 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT24_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=591 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT25_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=611 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT26_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=631 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT27_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=651 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT28_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=368 + y=671 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT29_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=491 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT20_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=511 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT21_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=531 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT22_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=551 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT23_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=571 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT24_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=591 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT25_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=611 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT26_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=631 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT27_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=651 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT28_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } + } + "text update" { + object { + x=293 + y=671 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT29_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } + } + } +} +"text update" { + object { + x=48 + y=697 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT30" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=717 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT31" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=737 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT32" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=757 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT33" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=777 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT34" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=797 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT35" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=817 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT36" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=837 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT37" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=857 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT38" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=48 + y=877 + width=240 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT39" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"shell command" { + object { + x=13 + y=698 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT20 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="31" +} +"shell command" { + object { + x=13 + y=718 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT31 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="32" +} +"shell command" { + object { + x=13 + y=738 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT32 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="33" +} +"shell command" { + object { + x=13 + y=758 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT33 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="34" +} +"shell command" { + object { + x=13 + y=778 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT34 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="35" +} +"shell command" { + object { + x=13 + y=798 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT35 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="36" +} +"shell command" { + object { + x=13 + y=818 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT36 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="37" +} +"shell command" { + object { + x=13 + y=838 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT37 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="38" +} +"shell command" { + object { + x=13 + y=858 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT38 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="39" +} +"shell command" { + object { + x=13 + y=878 + width=30 + height=18 + } + command[0] { + label="GUARD CH1" + name="/opt/rtcds/lho/h1/scripts/grdfiltdecode.py" + args="-i SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT39 -m MODEL_LC -d TARGET_MEDM" + } + clr=0 + bclr=54 + label="40" +} +"text update" { + object { + x=443 + y=697 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT30_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=717 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT31_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=737 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT32_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=757 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT33_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=777 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT34_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=797 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT35_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=817 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT36_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=837 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT37_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=857 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT38_TIME" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=443 + y=877 + width=170 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT39_TIME" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=697 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT30_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=717 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT31_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=737 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT32_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=757 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT33_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=777 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT34_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=797 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT35_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=817 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT36_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=837 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT37_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=857 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT38_LIVE" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=368 + y=877 + width=70 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT39_LIVE" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=697 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT30_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=717 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT31_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=737 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT32_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=757 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT33_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=777 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT34_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=797 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT35_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=817 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT36_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=837 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT37_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=857 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT38_BURT" + clr=14 + bclr=50 + } + align="horiz. centered" + limits { + } +} +"text update" { + object { + x=293 + y=877 + width=69 + height=20 + } + monitor { + chan="SITE_NAME:FEC-DCU_NODE_ID_SDF_SP_STAT39_BURT" + clr=14 + bclr=1 + } + align="horiz. centered" + limits { + } +} +text { + object { + x=282 + y=31 + width=100 + height=18 + } + "basic attribute" { + clr=0 + } + textix="Number of Entries ----->" +} diff --git a/src/epics/util/feCodeGen.pl b/src/epics/util/feCodeGen.pl index baef6dcbfc5fa19b533f3d29c13e5a948e00269a..7170e8c401d1eeffb47994a8208fe81e27267d7f 100755 --- a/src/epics/util/feCodeGen.pl +++ b/src/epics/util/feCodeGen.pl @@ -1381,19 +1381,6 @@ for($ii=0;$ii<32;$ii++) print EPICS "OUTVARIABLE FEC\_$dcuId\_GDS_MON_$ii epicsOutput.gdsMon\[$ii\] int ao 0\n"; } -# print OUTH "\tint awgtpmanGPS;\n"; - -#print EPICS "DUMMY FEC\_$dcuId\_SDF_RELOAD int ao 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_RELOAD_STATUS int ao 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_FULL_CNT int ao 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_SUBSET_CH_COUNT int ao 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_MON_CNT int ao 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_ALARM_COUNT int ao 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_NAME int stringout 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_NAME_SUBSET int stringin 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_RELOAD_TIME int stringout 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_LOADED int stringout 0\n"; -# print EPICS "DUMMY FEC\_$dcuId\_SDF_LOADED_INIT int stringout 0\n"; # The following code is in solely for automated testing. if($diagTest > -1) @@ -2107,6 +2094,10 @@ system("cp $rcg_src_dir/src/epics/util/ALARMS.adl ALARMS.adl"); system("cat ALARMS.adl | sed '$sed_arg' > $epicsScreensDir/$sysname" . "_ALARM_MONITOR.adl"); system("cp $rcg_src_dir/src/epics/util/BURT_RESTORE.adl BURT_RESTORE.adl"); system("cat BURT_RESTORE.adl | sed '$sed_arg' > $epicsScreensDir/$sysname" . "_BURT_RESTORE.adl"); +system("cp $rcg_src_dir/src/epics/util/SDF_RESTORE.adl SDF_RESTORE.adl"); +system("cat SDF_RESTORE.adl | sed '$sed_arg' > $epicsScreensDir/$sysname" . "_SDF_RESTORE.adl"); +system("cp $rcg_src_dir/src/epics/util/SDF_TABLE.adl SDF_TABLE.adl"); +system("cat SDF_TABLE.adl | sed '$sed_arg' > $epicsScreensDir/$sysname" . "_SDF_TABLE.adl"); my $cur_subsys_num = 0; diff --git a/src/epics/util/fmseq.pl b/src/epics/util/fmseq.pl index 2643adb2ff75ea4dd9118c2127a36ac89e3e9229..ca6a92d31fcafa7715342308a3c25c773e18b289 100755 --- a/src/epics/util/fmseq.pl +++ b/src/epics/util/fmseq.pl @@ -864,14 +864,21 @@ foreach $i ( @names ) { # add msg and load coeff records print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_RELOAD\")\n"; +print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_SAVE_CMD\")\n"; print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_RELOAD_STATUS\")\n"; print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_FULL_CNT\")\n"; print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_FILE_SET_CNT\")\n"; print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_MON_CNT\")\n"; print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_ALARM_COUNT\")\n"; print "grecord(stringout,\"%IFO%:FEC-${dcuId}_SDF_NAME\")\n"; +print "grecord(stringout,\"%IFO%:FEC-${dcuId}_SDF_SAVE_AS_NAME\")\n"; print "grecord(stringout,\"%IFO%:FEC-${dcuId}_SDF_RELOAD_TIME\")\n"; print "grecord(stringout,\"%IFO%:FEC-${dcuId}_SDF_LOADED\")\n"; +print "grecord(stringout,\"%IFO%:FEC-${dcuId}_SDF_LOADED_EDB\")\n"; +print "grecord(bo,\"%IFO%:FEC-${dcuId}_SDF_MON_ALL\")\n"; +print "{\n field(ZNAM,\"MASK\")\n"; +print " field(ONAM,\"ALL\")\n}\n"; + print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_ALH_CRC\")\n"; print "{\n field(SCAN,\".5 second\")\n}\n"; print "grecord(ao,\"%IFO%:FEC-${dcuId}_SDF_SP_ERR_CNT\")\n"; @@ -888,9 +895,27 @@ print "grecord(mbbi,\"%IFO%:FEC-${dcuId}_SDF_SORT\")\n"; print "{\n field(ZRVL,\"0\")\n"; print " field(ONVL,\"1\")\n"; print " field(TWVL,\"2\")\n"; +print " field(THVL,\"3\")\n"; print " field(ZRST,\"SETTING DIFFS\")\n"; print " field(ONST,\"CHANS NOT FOUND\")\n"; -print " field(TWST,\"CHANS NOT INIT\")\n}\n"; +print " field(TWST,\"CHANS NOT INIT\")\n"; +print " field(THST,\"CHANS NOT MON\")\n}\n"; +print "grecord(mbbi,\"%IFO%:FEC-${dcuId}_SDF_SAVE_TYPE\")\n"; +print "{\n field(ZRVL,\"0\")\n"; +print " field(ONVL,\"1\")\n"; +print " field(TWVL,\"2\")\n"; +print " field(THVL,\"3\")\n"; +print " field(ZRST,\"TABLE AS SDF\")\n"; +print " field(ONST,\"TABLE AS BURT\")\n"; +print " field(TWST,\"EPICS DB AS SDF\")\n"; +print " field(THST,\"EPICS DB AS BURT\")\n}\n"; +print "grecord(mbbi,\"%IFO%:FEC-${dcuId}_SDF_SAVE_OPTS\")\n"; +print "{\n field(ZRVL,\"0\")\n"; +print " field(ONVL,\"1\")\n"; +print " field(TWVL,\"2\")\n"; +print " field(ZRST,\"TIME NOW\")\n"; +print " field(ONST,\"OVERWRITE\")\n"; +print " field(TWST,\"SAVE AS\")\n}\n"; for(my $ffn = 0;$ffn < 40; $ffn ++) { my $strGrdName = "%IFO%:FEC-${dcuId}_SDF_SP_STAT"; diff --git a/src/epics/util/lib/medmGenGdsTp.pm b/src/epics/util/lib/medmGenGdsTp.pm index 5905780be922f3a06cf842460c97460b90814bcb..28e7cb67c1292b826c4748a1d14e28236b834f31 100644 --- a/src/epics/util/lib/medmGenGdsTp.pm +++ b/src/epics/util/lib/medmGenGdsTp.pm @@ -117,8 +117,8 @@ sub createGdsMedm # Add BURT related display $xpos = 562; $ypos = 106; $width = 160; $height = 18; $mdlNamelc = lc($mdlName); - $relDisp = "$medmTarget\/$mdlNamelc\/$mdlName\_BURT_RESTORE.adl"; - $medmdata .= ("CDS::medmGen::medmGenRelDisp") -> ($xpos,$ypos,$width,$height,$relDisp,$ecolors{white},$ecolors{blue},"BURT RESTORE"); + $relDisp = "$medmTarget\/$mdlNamelc\/$mdlName\_SDF_RESTORE.adl"; + $medmdata .= ("CDS::medmGen::medmGenRelDisp") -> ($xpos,$ypos,$width,$height,$relDisp,$ecolors{white},$ecolors{blue},"SDF RESTORE"); # BURT Diffs Label $xpos = 733; $ypos = 94; $width = 24; $height = 12; $medmdata .= ("CDS::medmGen::medmGenText") -> ($xpos,$ypos,$width,$height,"DIFFS",$ecolors{black}); @@ -128,12 +128,9 @@ sub createGdsMedm # BURT Partial File Loaded $xpos = 562; $ypos = 128; $width = 200; $height = 15; $medmdata .= ("CDS::medmGen::medmGenTextMon") -> ($xpos,$ypos,$width,$height,"$site\:FEC-$dcuid\_SDF_LOADED",$ecolors{white},$ecolors{blue},"static"); - # BURT Reload Status bit 0 - $xpos = 562; $ypos = 146; $width = 65; $height = 10; - $medmdata .= ("CDS::medmGen::medmGenByte") -> ($xpos,$ypos,$width,$height,"$site\:FEC-$dcuid\_SDF_RELOAD_STATUS","0","0",$ecolors{yellow},$ecolors{green}); - # BURT Reload Status bit 1 and 2 - $xpos = 628; $ypos = 146; $width = 134; $height = 10; - $medmdata .= ("CDS::medmGen::medmGenByte") -> ($xpos,$ypos,$width,$height,"$site\:FEC-$dcuid\_SDF_RELOAD_STATUS","1","2",$ecolors{red},$ecolors{green}); + # BURT Reload Status bit 1 FILE NOT FOUND + $xpos = 562; $ypos = 146; $width = 200; $height = 10; + $medmdata .= ("CDS::medmGen::medmGenByte") -> ($xpos,$ypos,$width,$height,"$site\:FEC-$dcuid\_SDF_RELOAD_STATUS","1","1",$ecolors{red},$ecolors{green}); # BURT Reload Time $xpos = 562; $ypos = 160; $width = 200; $height = 15; $medmdata .= ("CDS::medmGen::medmGenTextMon") -> ($xpos,$ypos,$width,$height,"$site\:FEC-$dcuid\_SDF_RELOAD_TIME",$ecolors{white},$ecolors{blue},"static");