From d9794604fb13cf874268b2425e899990eb15f988 Mon Sep 17 00:00:00 2001 From: Jim Kowalkowski Date: Mon, 14 Sep 1992 15:03:20 +0000 Subject: [PATCH] changed igv to hgv --- src/dev/devMz8310.c | 26 +++++++++++++------------- src/rec/recPulseCounter.c | 6 +++--- src/rec/recPulseTrain.c | 10 +++++----- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/dev/devMz8310.c b/src/dev/devMz8310.c index 9a54ddd51..a2cae3f30 100644 --- a/src/dev/devMz8310.c +++ b/src/dev/devMz8310.c @@ -598,14 +598,14 @@ static long cmd_pc(pr) if(pr->cnte==FALLING_EDGE) mode |= 0x1000; /*count on falling edge*/ - /* If necessary set igv control Active High Level Gate N */ - if(pr->gtyp==INTERNAL && pr->igv!=0) + /* If necessary set hgv control Active High Level Gate N */ + if(pr->gtyp==INTERNAL && pr->hgv!=0) { - unsigned short igv = (unsigned short)pr->igv; + unsigned short hgv = (unsigned short)pr->hgv; - if(igv>5) recGblRecordError(S_db_badField,(void *)pr, - "devMz8310 : illegal igv value"); - else mode |= igv<<13; + if(hgv>5) recGblRecordError(S_db_badField,(void *)pr, + "devMz8310 : illegal hgv value"); + else mode |= hgv<<13; } /*set count source selection*/ @@ -842,7 +842,7 @@ static long write_pt(pr) pdata = PDATAREG(card,chip); /* Should we just set on or off */ - if(pr->dcy<=0e0 || (pr->gtyp==SOFTWARE && pr->igv!=0)) { + if(pr->dcy<=0e0 || (pr->gtyp==SOFTWARE && pr->hgv!=0)) { pr->udf = FALSE; putCmd(pcmd,(DISARM | (1<cedg==FALLING_EDGE) mode |= 0x1000; /*count on falling edge*/ - /* If necessary set igv control MODE K: Active High Level Gate N */ - if(pr->gtyp==INTERNAL && pr->igv!=0) + /* If necessary set hgv control MODE K: Active High Level Gate N */ + if(pr->gtyp==INTERNAL && pr->hgv!=0) { - unsigned short igv = (unsigned short)pr->igv; + unsigned short hgv = (unsigned short)pr->hgv; - if(igv>5) + if(hgv>5) recGblRecordError(S_db_badField,(void *)pr, - "devMz8310 : illegal igv value"); + "devMz8310 : illegal hgv value"); else - mode |= igv<<13; + mode |= hgv<<13; } /*set count source selection*/ diff --git a/src/rec/recPulseCounter.c b/src/rec/recPulseCounter.c index 1390a7ba3..bf720f35c 100644 --- a/src/rec/recPulseCounter.c +++ b/src/rec/recPulseCounter.c @@ -129,7 +129,7 @@ static long init_record(ppc,pass) recGblRecordError(S_dev_noDSET,(void *)ppc,"pc: init_record"); return(S_dev_noDSET); } - /* get the igv value if sgl is a constant*/ + /* get the hgv value if sgl is a constant*/ if (ppc->sgl.type == CONSTANT && ppc->gtyp == SOFTWARE){ ppc->sgv = ppc->sgl.value.value; } @@ -168,7 +168,7 @@ static long process(ppc) return(S_dev_missingSup); } - /* get soft igv value when sgl is a DB_LINK and gtyp from Software */ + /* get soft hgv value when sgl is a DB_LINK and gtyp from Software */ if (!ppc->pact && ppc->gtyp == SOFTWARE){ if (ppc->sgl.type == DB_LINK){ options=0; @@ -190,7 +190,7 @@ static long process(ppc) } } if(status==0){ - if(ppc->sgv != ppc->osgv){ /* soft igv changed */ + if(ppc->sgv != ppc->osgv){ /* soft hgv changed */ save=ppc->cmd; if(ppc->sgv!=0){ ppc->cmd=CTR_START; diff --git a/src/rec/recPulseTrain.c b/src/rec/recPulseTrain.c index 460b5d318..45fd2a656 100644 --- a/src/rec/recPulseTrain.c +++ b/src/rec/recPulseTrain.c @@ -39,7 +39,7 @@ * .08 06-02-92 jba changed graphic/control limits for per,oper * .09 07-15-92 jba changed VALID_ALARM to INVALID alarm * .10 07-16-92 jba added invalid alarm fwd link test and chngd fwd lnk to macro - * .11 09-10-92 jba replaced get of igv value with call to recGblGetLinkvalue + * .11 09-10-92 jba replaced get of hgv value with call to recGblGetLinkvalue * .12 10-10-92 jba replaced code with recGblGetLinkValue call */ @@ -134,9 +134,9 @@ static long init_record(ppt,pass) recGblRecordError(S_dev_noDSET,(void *)ppt,"pt: init_record"); return(S_dev_noDSET); } - /* get the igv value if sgl is a constant*/ + /* get the hgv value if sgl is a constant*/ if (ppt->sgl.type == CONSTANT ){ - ppt->igv = ppt->sgl.value.value; + ppt->hgv = ppt->sgl.value.value; } if (ppt->sgl.type == PV_LINK ) @@ -174,7 +174,7 @@ static long process(ppt) return(S_dev_missingSup); } - /* get soft igv value when sgl is a DB_LINK and gtyp from Software */ + /* get soft hgv value when sgl is a DB_LINK and gtyp from Software */ if (!ppt->pact && ppt->gtyp == SOFTWARE){ options=0; nRequest=1; @@ -184,7 +184,7 @@ static long process(ppt) ppt->pact = FALSE; if(status==0){ - if(ppt->sgv != ppt->osgv){ /* igv changed */ + if(ppt->sgv != ppt->osgv){ /* hgv changed */ if(ppt->sgv==0){ save=ppt->dcy; ppt->dcy=0.0;