31 #include <waveformRecord.h> 38 switch (prec->inp.type) {
47 recGblRecordError(S_db_badField, (
void *)prec,
48 "devWfMailbox (init_record) Illegal INP field");
49 return(S_db_badField);
54 static long read_wf(waveformRecord *prec)
56 long nRequest = prec->nelm;
61 db_post_events(prec, &prec->rarm, DBE_VALUE|DBE_ARCHIVE);
62 dbPutLink(&prec->inp, prec->ftvl, prec->bptr, prec->nord);
65 if (prec->inp.type != CONSTANT)
66 (void)dbGetLink(&prec->inp, prec->ftvl, prec->bptr, 0, &nRequest);
68 prec->nord = nRequest;
69 if (prec->tsel.type == CONSTANT &&
70 prec->tse == epicsTimeEventDeviceTime)
71 dbGetTimeStamp(&prec->inp, &prec->time);
78 #include <epicsExport.h> epicsExportAddress(dset, devWfMailbox)