7 #ifndef INC_aaoRecord_H
8 #define INC_aaoRecord_H
27 #ifndef aaoPOST_NUM_CHOICES
34 #define aaoPOST_NUM_CHOICES 2
70 struct asgMember *
asp;
72 struct processNotifyRecord *
ppnr;
177 aaoRecordOLDSIMM = 64,
180 aaoRecordSIMPVT = 67,
186 #ifdef GEN_SIZE_OFFSET
197 if (prt->no_fields != 71) {
199 " The aaoRecord defined in the DBD file has %d fields,\n"
200 " but the record support code was built with 71.\n",
203 prt->papFldDes[aaoRecordNAME]->size =
sizeof(prec->
name);
204 prt->papFldDes[aaoRecordNAME]->offset = (
unsigned short)((
char *)&prec->
name - (
char *)prec);
205 prt->papFldDes[aaoRecordDESC]->size =
sizeof(prec->
desc);
206 prt->papFldDes[aaoRecordDESC]->offset = (
unsigned short)((
char *)&prec->
desc - (
char *)prec);
207 prt->papFldDes[aaoRecordASG]->size =
sizeof(prec->
asg);
208 prt->papFldDes[aaoRecordASG]->offset = (
unsigned short)((
char *)&prec->
asg - (
char *)prec);
209 prt->papFldDes[aaoRecordSCAN]->size =
sizeof(prec->
scan);
210 prt->papFldDes[aaoRecordSCAN]->offset = (
unsigned short)((
char *)&prec->
scan - (
char *)prec);
211 prt->papFldDes[aaoRecordPINI]->size =
sizeof(prec->
pini);
212 prt->papFldDes[aaoRecordPINI]->offset = (
unsigned short)((
char *)&prec->
pini - (
char *)prec);
213 prt->papFldDes[aaoRecordPHAS]->size =
sizeof(prec->
phas);
214 prt->papFldDes[aaoRecordPHAS]->offset = (
unsigned short)((
char *)&prec->
phas - (
char *)prec);
215 prt->papFldDes[aaoRecordEVNT]->size =
sizeof(prec->
evnt);
216 prt->papFldDes[aaoRecordEVNT]->offset = (
unsigned short)((
char *)&prec->
evnt - (
char *)prec);
217 prt->papFldDes[aaoRecordTSE]->size =
sizeof(prec->
tse);
218 prt->papFldDes[aaoRecordTSE]->offset = (
unsigned short)((
char *)&prec->
tse - (
char *)prec);
219 prt->papFldDes[aaoRecordTSEL]->size =
sizeof(prec->
tsel);
220 prt->papFldDes[aaoRecordTSEL]->offset = (
unsigned short)((
char *)&prec->
tsel - (
char *)prec);
221 prt->papFldDes[aaoRecordDTYP]->size =
sizeof(prec->
dtyp);
222 prt->papFldDes[aaoRecordDTYP]->offset = (
unsigned short)((
char *)&prec->
dtyp - (
char *)prec);
223 prt->papFldDes[aaoRecordDISV]->size =
sizeof(prec->
disv);
224 prt->papFldDes[aaoRecordDISV]->offset = (
unsigned short)((
char *)&prec->
disv - (
char *)prec);
225 prt->papFldDes[aaoRecordDISA]->size =
sizeof(prec->
disa);
226 prt->papFldDes[aaoRecordDISA]->offset = (
unsigned short)((
char *)&prec->
disa - (
char *)prec);
227 prt->papFldDes[aaoRecordSDIS]->size =
sizeof(prec->
sdis);
228 prt->papFldDes[aaoRecordSDIS]->offset = (
unsigned short)((
char *)&prec->
sdis - (
char *)prec);
229 prt->papFldDes[aaoRecordMLOK]->size =
sizeof(prec->
mlok);
230 prt->papFldDes[aaoRecordMLOK]->offset = (
unsigned short)((
char *)&prec->
mlok - (
char *)prec);
231 prt->papFldDes[aaoRecordMLIS]->size =
sizeof(prec->
mlis);
232 prt->papFldDes[aaoRecordMLIS]->offset = (
unsigned short)((
char *)&prec->
mlis - (
char *)prec);
233 prt->papFldDes[aaoRecordBKLNK]->size =
sizeof(prec->
bklnk);
234 prt->papFldDes[aaoRecordBKLNK]->offset = (
unsigned short)((
char *)&prec->
bklnk - (
char *)prec);
235 prt->papFldDes[aaoRecordDISP]->size =
sizeof(prec->
disp);
236 prt->papFldDes[aaoRecordDISP]->offset = (
unsigned short)((
char *)&prec->
disp - (
char *)prec);
237 prt->papFldDes[aaoRecordPROC]->size =
sizeof(prec->
proc);
238 prt->papFldDes[aaoRecordPROC]->offset = (
unsigned short)((
char *)&prec->
proc - (
char *)prec);
239 prt->papFldDes[aaoRecordSTAT]->size =
sizeof(prec->
stat);
240 prt->papFldDes[aaoRecordSTAT]->offset = (
unsigned short)((
char *)&prec->
stat - (
char *)prec);
241 prt->papFldDes[aaoRecordSEVR]->size =
sizeof(prec->
sevr);
242 prt->papFldDes[aaoRecordSEVR]->offset = (
unsigned short)((
char *)&prec->
sevr - (
char *)prec);
243 prt->papFldDes[aaoRecordAMSG]->size =
sizeof(prec->
amsg);
244 prt->papFldDes[aaoRecordAMSG]->offset = (
unsigned short)((
char *)&prec->
amsg - (
char *)prec);
245 prt->papFldDes[aaoRecordNSTA]->size =
sizeof(prec->
nsta);
246 prt->papFldDes[aaoRecordNSTA]->offset = (
unsigned short)((
char *)&prec->
nsta - (
char *)prec);
247 prt->papFldDes[aaoRecordNSEV]->size =
sizeof(prec->
nsev);
248 prt->papFldDes[aaoRecordNSEV]->offset = (
unsigned short)((
char *)&prec->
nsev - (
char *)prec);
249 prt->papFldDes[aaoRecordNAMSG]->size =
sizeof(prec->
namsg);
250 prt->papFldDes[aaoRecordNAMSG]->offset = (
unsigned short)((
char *)&prec->
namsg - (
char *)prec);
251 prt->papFldDes[aaoRecordACKS]->size =
sizeof(prec->
acks);
252 prt->papFldDes[aaoRecordACKS]->offset = (
unsigned short)((
char *)&prec->
acks - (
char *)prec);
253 prt->papFldDes[aaoRecordACKT]->size =
sizeof(prec->
ackt);
254 prt->papFldDes[aaoRecordACKT]->offset = (
unsigned short)((
char *)&prec->
ackt - (
char *)prec);
255 prt->papFldDes[aaoRecordDISS]->size =
sizeof(prec->
diss);
256 prt->papFldDes[aaoRecordDISS]->offset = (
unsigned short)((
char *)&prec->
diss - (
char *)prec);
257 prt->papFldDes[aaoRecordLCNT]->size =
sizeof(prec->
lcnt);
258 prt->papFldDes[aaoRecordLCNT]->offset = (
unsigned short)((
char *)&prec->
lcnt - (
char *)prec);
259 prt->papFldDes[aaoRecordPACT]->size =
sizeof(prec->
pact);
260 prt->papFldDes[aaoRecordPACT]->offset = (
unsigned short)((
char *)&prec->
pact - (
char *)prec);
261 prt->papFldDes[aaoRecordPUTF]->size =
sizeof(prec->
putf);
262 prt->papFldDes[aaoRecordPUTF]->offset = (
unsigned short)((
char *)&prec->
putf - (
char *)prec);
263 prt->papFldDes[aaoRecordRPRO]->size =
sizeof(prec->
rpro);
264 prt->papFldDes[aaoRecordRPRO]->offset = (
unsigned short)((
char *)&prec->
rpro - (
char *)prec);
265 prt->papFldDes[aaoRecordASP]->size =
sizeof(prec->
asp);
266 prt->papFldDes[aaoRecordASP]->offset = (
unsigned short)((
char *)&prec->
asp - (
char *)prec);
267 prt->papFldDes[aaoRecordPPN]->size =
sizeof(prec->
ppn);
268 prt->papFldDes[aaoRecordPPN]->offset = (
unsigned short)((
char *)&prec->
ppn - (
char *)prec);
269 prt->papFldDes[aaoRecordPPNR]->size =
sizeof(prec->
ppnr);
270 prt->papFldDes[aaoRecordPPNR]->offset = (
unsigned short)((
char *)&prec->
ppnr - (
char *)prec);
271 prt->papFldDes[aaoRecordSPVT]->size =
sizeof(prec->
spvt);
272 prt->papFldDes[aaoRecordSPVT]->offset = (
unsigned short)((
char *)&prec->
spvt - (
char *)prec);
273 prt->papFldDes[aaoRecordRSET]->size =
sizeof(prec->
rset);
274 prt->papFldDes[aaoRecordRSET]->offset = (
unsigned short)((
char *)&prec->
rset - (
char *)prec);
275 prt->papFldDes[aaoRecordDSET]->size =
sizeof(prec->
dset);
276 prt->papFldDes[aaoRecordDSET]->offset = (
unsigned short)((
char *)&prec->
dset - (
char *)prec);
277 prt->papFldDes[aaoRecordDPVT]->size =
sizeof(prec->
dpvt);
278 prt->papFldDes[aaoRecordDPVT]->offset = (
unsigned short)((
char *)&prec->
dpvt - (
char *)prec);
279 prt->papFldDes[aaoRecordRDES]->size =
sizeof(prec->
rdes);
280 prt->papFldDes[aaoRecordRDES]->offset = (
unsigned short)((
char *)&prec->
rdes - (
char *)prec);
281 prt->papFldDes[aaoRecordLSET]->size =
sizeof(prec->
lset);
282 prt->papFldDes[aaoRecordLSET]->offset = (
unsigned short)((
char *)&prec->
lset - (
char *)prec);
283 prt->papFldDes[aaoRecordPRIO]->size =
sizeof(prec->
prio);
284 prt->papFldDes[aaoRecordPRIO]->offset = (
unsigned short)((
char *)&prec->
prio - (
char *)prec);
285 prt->papFldDes[aaoRecordTPRO]->size =
sizeof(prec->
tpro);
286 prt->papFldDes[aaoRecordTPRO]->offset = (
unsigned short)((
char *)&prec->
tpro - (
char *)prec);
287 prt->papFldDes[aaoRecordBKPT]->size =
sizeof(prec->
bkpt);
288 prt->papFldDes[aaoRecordBKPT]->offset = (
unsigned short)((
char *)&prec->
bkpt - (
char *)prec);
289 prt->papFldDes[aaoRecordUDF]->size =
sizeof(prec->
udf);
290 prt->papFldDes[aaoRecordUDF]->offset = (
unsigned short)((
char *)&prec->
udf - (
char *)prec);
291 prt->papFldDes[aaoRecordUDFS]->size =
sizeof(prec->
udfs);
292 prt->papFldDes[aaoRecordUDFS]->offset = (
unsigned short)((
char *)&prec->
udfs - (
char *)prec);
293 prt->papFldDes[aaoRecordTIME]->size =
sizeof(prec->
time);
294 prt->papFldDes[aaoRecordTIME]->offset = (
unsigned short)((
char *)&prec->
time - (
char *)prec);
295 prt->papFldDes[aaoRecordUTAG]->size =
sizeof(prec->
utag);
296 prt->papFldDes[aaoRecordUTAG]->offset = (
unsigned short)((
char *)&prec->
utag - (
char *)prec);
297 prt->papFldDes[aaoRecordFLNK]->size =
sizeof(prec->
flnk);
298 prt->papFldDes[aaoRecordFLNK]->offset = (
unsigned short)((
char *)&prec->
flnk - (
char *)prec);
299 prt->papFldDes[aaoRecordVAL]->size =
sizeof(prec->
val);
300 prt->papFldDes[aaoRecordVAL]->offset = (
unsigned short)((
char *)&prec->
val - (
char *)prec);
301 prt->papFldDes[aaoRecordPREC]->size =
sizeof(prec->
prec);
302 prt->papFldDes[aaoRecordPREC]->offset = (
unsigned short)((
char *)&prec->
prec - (
char *)prec);
303 prt->papFldDes[aaoRecordOUT]->size =
sizeof(prec->
out);
304 prt->papFldDes[aaoRecordOUT]->offset = (
unsigned short)((
char *)&prec->
out - (
char *)prec);
305 prt->papFldDes[aaoRecordDOL]->size =
sizeof(prec->
dol);
306 prt->papFldDes[aaoRecordDOL]->offset = (
unsigned short)((
char *)&prec->
dol - (
char *)prec);
307 prt->papFldDes[aaoRecordOMSL]->size =
sizeof(prec->
omsl);
308 prt->papFldDes[aaoRecordOMSL]->offset = (
unsigned short)((
char *)&prec->
omsl - (
char *)prec);
309 prt->papFldDes[aaoRecordEGU]->size =
sizeof(prec->
egu);
310 prt->papFldDes[aaoRecordEGU]->offset = (
unsigned short)((
char *)&prec->
egu - (
char *)prec);
311 prt->papFldDes[aaoRecordHOPR]->size =
sizeof(prec->
hopr);
312 prt->papFldDes[aaoRecordHOPR]->offset = (
unsigned short)((
char *)&prec->
hopr - (
char *)prec);
313 prt->papFldDes[aaoRecordLOPR]->size =
sizeof(prec->
lopr);
314 prt->papFldDes[aaoRecordLOPR]->offset = (
unsigned short)((
char *)&prec->
lopr - (
char *)prec);
315 prt->papFldDes[aaoRecordNELM]->size =
sizeof(prec->
nelm);
316 prt->papFldDes[aaoRecordNELM]->offset = (
unsigned short)((
char *)&prec->
nelm - (
char *)prec);
317 prt->papFldDes[aaoRecordFTVL]->size =
sizeof(prec->
ftvl);
318 prt->papFldDes[aaoRecordFTVL]->offset = (
unsigned short)((
char *)&prec->
ftvl - (
char *)prec);
319 prt->papFldDes[aaoRecordNORD]->size =
sizeof(prec->
nord);
320 prt->papFldDes[aaoRecordNORD]->offset = (
unsigned short)((
char *)&prec->
nord - (
char *)prec);
321 prt->papFldDes[aaoRecordBPTR]->size =
sizeof(prec->
bptr);
322 prt->papFldDes[aaoRecordBPTR]->offset = (
unsigned short)((
char *)&prec->
bptr - (
char *)prec);
323 prt->papFldDes[aaoRecordSIML]->size =
sizeof(prec->
siml);
324 prt->papFldDes[aaoRecordSIML]->offset = (
unsigned short)((
char *)&prec->
siml - (
char *)prec);
325 prt->papFldDes[aaoRecordSIMM]->size =
sizeof(prec->
simm);
326 prt->papFldDes[aaoRecordSIMM]->offset = (
unsigned short)((
char *)&prec->
simm - (
char *)prec);
327 prt->papFldDes[aaoRecordSIMS]->size =
sizeof(prec->
sims);
328 prt->papFldDes[aaoRecordSIMS]->offset = (
unsigned short)((
char *)&prec->
sims - (
char *)prec);
329 prt->papFldDes[aaoRecordSIOL]->size =
sizeof(prec->
siol);
330 prt->papFldDes[aaoRecordSIOL]->offset = (
unsigned short)((
char *)&prec->
siol - (
char *)prec);
331 prt->papFldDes[aaoRecordOLDSIMM]->size =
sizeof(prec->
oldsimm);
332 prt->papFldDes[aaoRecordOLDSIMM]->offset = (
unsigned short)((
char *)&prec->
oldsimm - (
char *)prec);
333 prt->papFldDes[aaoRecordSSCN]->size =
sizeof(prec->
sscn);
334 prt->papFldDes[aaoRecordSSCN]->offset = (
unsigned short)((
char *)&prec->
sscn - (
char *)prec);
335 prt->papFldDes[aaoRecordSDLY]->size =
sizeof(prec->
sdly);
336 prt->papFldDes[aaoRecordSDLY]->offset = (
unsigned short)((
char *)&prec->
sdly - (
char *)prec);
337 prt->papFldDes[aaoRecordSIMPVT]->size =
sizeof(prec->
simpvt);
338 prt->papFldDes[aaoRecordSIMPVT]->offset = (
unsigned short)((
char *)&prec->
simpvt - (
char *)prec);
339 prt->papFldDes[aaoRecordMPST]->size =
sizeof(prec->
mpst);
340 prt->papFldDes[aaoRecordMPST]->offset = (
unsigned short)((
char *)&prec->
mpst - (
char *)prec);
341 prt->papFldDes[aaoRecordAPST]->size =
sizeof(prec->
apst);
342 prt->papFldDes[aaoRecordAPST]->offset = (
unsigned short)((
char *)&prec->
apst - (
char *)prec);
343 prt->papFldDes[aaoRecordHASH]->size =
sizeof(prec->
hash);
344 prt->papFldDes[aaoRecordHASH]->offset = (
unsigned short)((
char *)&prec->
hash - (
char *)prec);
345 prt->rec_size =
sizeof(*prec);
epicsEnum16 sscn
Sim. Mode Scan.
struct asgMember * asp
Access Security Pvt.
epicsEnum16 stat
Alarm Status.
epicsEnum16 omsl
Output Mode Select.
epicsEnum16 prio
Scheduling Priority.
epicsUInt8 rpro
Reprocess.
epicsUInt8 disp
Disable putField.
epicsEnum16 nsta
New Alarm Status.
struct dbRecordType * rdes
Address of dbRecordType.
ELLLIST bklnk
Backwards link tracking.
char egu[16]
Engineering Units.
unambiguous_dset * dset
DSET address.
struct scan_element * spvt
Scan Private.
epicsUInt8 pact
Record active.
aaoPOST
Enumerated type from menu aaoPOST.
epicsUInt8 tpro
Trace Processing.
Declaration of aao record type.
State string "On Change".
LIBCOM_API void cantProceed(const char *errorMessage,...) EPICS_PRINTF_STYLE(1
Suspend this thread, the caller cannot continue or return.
struct processNotify * ppn
pprocessNotify
epicsEnum16 simm
Simulation Mode.
The core data types used by epics.
char asg[29]
Access Security Group.
DBLINK dol
Desired Output Link.
epicsEnum16 diss
Disable Alarm Sevrty.
epicsEnum16 sevr
Alarm Severity.
epicsUInt8 putf
dbPutField process
epicsEnum16 oldsimm
Prev. Simulation Mode.
ELLLIST mlis
Monitor List.
epicsEnum16 mpst
Post Value Monitors.
DBLINK sdis
Scanning Disable.
struct lockRecord * lset
Lock Set.
Routines for code that can't continue or return after an error.
epicsInt16 phas
Scan Phase.
epicsMutexId mlok
Monitor lock.
epicsEnum16 nsev
New Alarm Severity.
epicsUInt8 lcnt
Lock Count.
epicsInt16 disv
Disable Value.
epicsUInt64 utag
Time Tag.
EPICS time stamp, for use from C code.
A doubly-linked list library.
epicsInt16 prec
Display Precision.
DBLINK flnk
Forward Process Link.
epicsFloat64 hopr
High Operating Range.
epicsCallback * simpvt
Sim. Mode Private.
epicsEnum16 ftvl
Field Type of Value.
void * bptr
Buffer Pointer.
epicsUInt32 nord
Number elements read.
epicsUInt32 nelm
Number of Elements.
char namsg[40]
New Alarm Message.
epicsEnum16 sims
Simulation Mode Severity.
void * dpvt
Device Private.
char name[61]
Record Name.
epicsInt16 tse
Time Stamp Event.
APIs for the epicsMutex mutual exclusion semaphore.
DBLINK tsel
Time Stamp Link.
epicsFloat64 lopr
Low Operating Range.
struct processNotifyRecord * ppnr
pprocessNotifyRecord
DBLINK out
Output Specification.
epicsEnum16 ackt
Alarm Ack Transient.
char amsg[40]
Alarm Message.
epicsEnum16 dtyp
Device Type.
struct typed_rset * rset
Address of RSET.
epicsEnum16 pini
Process at iocInit.
#define epicsExportRegistrar(fun)
Declare a registrar function for exporting.
State string "Always".
epicsEnum16 apst
Post Archive Monitors.
DBLINK siol
Simulation Output Link.
epicsEnum16 scan
Scan Mechanism.
EPICS time-stamps (epicsTimeStamp), epicsTime C++ class and C functions for handling wall-clock times...
epicsEnum16 acks
Alarm Ack Severity.
epicsEnum16 udfs
Undefined Alarm Sevrty.
epicsFloat64 sdly
Sim. Mode Async Delay.
DBLINK siml
Simulation Mode Link.
epicsUInt8 proc
Force Processing.
struct epicsMutexParm * epicsMutexId
An identifier for an epicsMutex for use with the C API.
epicsUInt32 hash
Hash of OnChange data.
epicsUInt8 bkpt
Break Point.