pact now set in recGblGetLinkValue

This commit is contained in:
Janet B. Anderson
1992-09-21 12:26:34 +00:00
parent 1ac3b9dd91
commit f024ba4a02
3 changed files with 3 additions and 6 deletions

View File

@@ -42,6 +42,7 @@
* .11 08-14-92 jba Added simulation processing
* .12 08-19-92 jba Added code for invalid alarm output action
* .13 09-10-92 jba modified fetch of val from dol to call recGblGetLinkValue
* .14 09-18-92 jba pact now set in recGblGetLinkValue
*/
@@ -187,10 +188,8 @@ static long process(plongout)
long options=0;
long nRequest=1;
plongout->pact = TRUE;
status = recGblGetLinkValue(&(plongout->dol),(void *)plongout,
DBR_LONG,&(plongout->val),&options,&nRequest);
plongout->pact = FALSE;
if(RTN_SUCCESS(status)) plongout->udf=FALSE;
}

View File

@@ -41,6 +41,7 @@
* .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 hgv value with call to recGblGetLinkvalue
* .12 10-10-92 jba replaced code with recGblGetLinkValue call
* .13 10-18-92 jba pact now set in recGblGetLinkValue
*/
#include <vxWorks.h>
@@ -178,10 +179,8 @@ static long process(ppt)
if (!ppt->pact && ppt->gtyp == SOFTWARE){
options=0;
nRequest=1;
ppt->pact = TRUE;
status=recGblGetLinkValue(&(ppt->sgl),(void *)ppt,DBR_SHORT,
&(ppt->sgv),&options,&nRequest);
ppt->pact = FALSE;
if(status==0){
if(ppt->sgv != ppt->osgv){ /* hgv changed */

View File

@@ -40,6 +40,7 @@
* .09 08-14-92 jba Added simulation processing
* .10 08-19-92 jba Added code for invalid alarm output action
* .11 10-10-92 jba replaced code for get of VAL from DOL with recGblGetLinkValue call
* .12 10-18-92 jba pact noew set in recGblGetLinkValue
*/
@@ -185,10 +186,8 @@ static long process(pstringout)
long options=0;
long nRequest=1;
pstringout->pact = TRUE;
status = recGblGetLinkValue(&(pstringout->dol),(void *)pstringout,
DBR_STRING,pstringout->val,&options,&nRequest);
pstringout->pact = FALSE;
if(RTN_SUCCESS(status)) pstringout->udf=FALSE;
}