Changes for dynamic link modification

This commit is contained in:
Marty Kraimer
1996-04-22 14:44:45 +00:00
parent 5a983c11cb
commit 535ef14cf8
71 changed files with 125 additions and 674 deletions

View File

@@ -144,10 +144,6 @@ static long init_record(ptimer, pass)
if (ptimer->torg.type == CONSTANT) {
recGblInitConstantLink(&ptimer->torg,DBF_FLOAT,&ptimer->trdl);
}
else {
status = recGblInitFastInLink(&(ptimer->torg), (void *) ptimer, DBR_FLOAT, "TRDL");
if(status) return(status);
} /* endif */
/* read to maintain time pulses over a restart */
return read_timer(ptimer);
@@ -286,7 +282,7 @@ static long write_timer(struct timerRecord *ptimer)
/* get the delay from trigger source */
if (ptimer->torg.type == DB_LINK) {
status=recGblGetFastLink(&(ptimer->torg), (void *)ptimer, &(ptimer->trdl));
status=dbGetLink(&(ptimer->torg),DBR_FLOAT,&(ptimer->trdl),0,0);
if (!RTN_SUCCESS(status)) return status;
}