7 #ifndef INC_calcoutRecord_H
8 #define INC_calcoutRecord_H
22 #define HAS_calcoutdset
27 #ifndef calcoutINAV_NUM_CHOICES
36 #define calcoutINAV_NUM_CHOICES 4
39 #ifndef calcoutDOPT_NUM_CHOICES
46 #define calcoutDOPT_NUM_CHOICES 2
49 #ifndef calcoutOOPT_NUM_CHOICES
60 #define calcoutOOPT_NUM_CHOICES 6
96 struct asgMember *
asp;
98 struct processNotifyRecord *
ppnr;
203 calcoutRecordNAME = 0,
204 calcoutRecordDESC = 1,
205 calcoutRecordASG = 2,
206 calcoutRecordSCAN = 3,
207 calcoutRecordPINI = 4,
208 calcoutRecordPHAS = 5,
209 calcoutRecordEVNT = 6,
210 calcoutRecordTSE = 7,
211 calcoutRecordTSEL = 8,
212 calcoutRecordDTYP = 9,
213 calcoutRecordDISV = 10,
214 calcoutRecordDISA = 11,
215 calcoutRecordSDIS = 12,
216 calcoutRecordMLOK = 13,
217 calcoutRecordMLIS = 14,
218 calcoutRecordBKLNK = 15,
219 calcoutRecordDISP = 16,
220 calcoutRecordPROC = 17,
221 calcoutRecordSTAT = 18,
222 calcoutRecordSEVR = 19,
223 calcoutRecordAMSG = 20,
224 calcoutRecordNSTA = 21,
225 calcoutRecordNSEV = 22,
226 calcoutRecordNAMSG = 23,
227 calcoutRecordACKS = 24,
228 calcoutRecordACKT = 25,
229 calcoutRecordDISS = 26,
230 calcoutRecordLCNT = 27,
231 calcoutRecordPACT = 28,
232 calcoutRecordPUTF = 29,
233 calcoutRecordRPRO = 30,
234 calcoutRecordASP = 31,
235 calcoutRecordPPN = 32,
236 calcoutRecordPPNR = 33,
237 calcoutRecordSPVT = 34,
238 calcoutRecordRSET = 35,
239 calcoutRecordDSET = 36,
240 calcoutRecordDPVT = 37,
241 calcoutRecordRDES = 38,
242 calcoutRecordLSET = 39,
243 calcoutRecordPRIO = 40,
244 calcoutRecordTPRO = 41,
245 calcoutRecordBKPT = 42,
246 calcoutRecordUDF = 43,
247 calcoutRecordUDFS = 44,
248 calcoutRecordTIME = 45,
249 calcoutRecordUTAG = 46,
250 calcoutRecordFLNK = 47,
251 calcoutRecordRPVT = 48,
252 calcoutRecordVAL = 49,
253 calcoutRecordPVAL = 50,
254 calcoutRecordCALC = 51,
255 calcoutRecordCLCV = 52,
256 calcoutRecordINPA = 53,
257 calcoutRecordINPB = 54,
258 calcoutRecordINPC = 55,
259 calcoutRecordINPD = 56,
260 calcoutRecordINPE = 57,
261 calcoutRecordINPF = 58,
262 calcoutRecordINPG = 59,
263 calcoutRecordINPH = 60,
264 calcoutRecordINPI = 61,
265 calcoutRecordINPJ = 62,
266 calcoutRecordINPK = 63,
267 calcoutRecordINPL = 64,
268 calcoutRecordOUT = 65,
269 calcoutRecordINAV = 66,
270 calcoutRecordINBV = 67,
271 calcoutRecordINCV = 68,
272 calcoutRecordINDV = 69,
273 calcoutRecordINEV = 70,
274 calcoutRecordINFV = 71,
275 calcoutRecordINGV = 72,
276 calcoutRecordINHV = 73,
277 calcoutRecordINIV = 74,
278 calcoutRecordINJV = 75,
279 calcoutRecordINKV = 76,
280 calcoutRecordINLV = 77,
281 calcoutRecordOUTV = 78,
282 calcoutRecordOOPT = 79,
283 calcoutRecordODLY = 80,
284 calcoutRecordDLYA = 81,
285 calcoutRecordDOPT = 82,
286 calcoutRecordOCAL = 83,
287 calcoutRecordOCLV = 84,
288 calcoutRecordOEVT = 85,
289 calcoutRecordEPVT = 86,
290 calcoutRecordIVOA = 87,
291 calcoutRecordIVOV = 88,
292 calcoutRecordEGU = 89,
293 calcoutRecordPREC = 90,
294 calcoutRecordHOPR = 91,
295 calcoutRecordLOPR = 92,
296 calcoutRecordHIHI = 93,
297 calcoutRecordLOLO = 94,
298 calcoutRecordHIGH = 95,
299 calcoutRecordLOW = 96,
300 calcoutRecordHHSV = 97,
301 calcoutRecordLLSV = 98,
302 calcoutRecordHSV = 99,
303 calcoutRecordLSV = 100,
304 calcoutRecordHYST = 101,
305 calcoutRecordADEL = 102,
306 calcoutRecordMDEL = 103,
307 calcoutRecordA = 104,
308 calcoutRecordB = 105,
309 calcoutRecordC = 106,
310 calcoutRecordD = 107,
311 calcoutRecordE = 108,
312 calcoutRecordF = 109,
313 calcoutRecordG = 110,
314 calcoutRecordH = 111,
315 calcoutRecordI = 112,
316 calcoutRecordJ = 113,
317 calcoutRecordK = 114,
318 calcoutRecordL = 115,
319 calcoutRecordOVAL = 116,
320 calcoutRecordLA = 117,
321 calcoutRecordLB = 118,
322 calcoutRecordLC = 119,
323 calcoutRecordLD = 120,
324 calcoutRecordLE = 121,
325 calcoutRecordLF = 122,
326 calcoutRecordLG = 123,
327 calcoutRecordLH = 124,
328 calcoutRecordLI = 125,
329 calcoutRecordLJ = 126,
330 calcoutRecordLK = 127,
331 calcoutRecordLL = 128,
332 calcoutRecordPOVL = 129,
333 calcoutRecordLALM = 130,
334 calcoutRecordALST = 131,
335 calcoutRecordMLST = 132,
336 calcoutRecordRPCL = 133,
337 calcoutRecordORPC = 134
340 #ifdef GEN_SIZE_OFFSET
351 if (prt->no_fields != 135) {
353 " The calcoutRecord defined in the DBD file has %d fields,\n"
354 " but the record support code was built with 135.\n",
357 prt->papFldDes[calcoutRecordNAME]->size =
sizeof(prec->
name);
358 prt->papFldDes[calcoutRecordNAME]->offset = (
unsigned short)((
char *)&prec->
name - (
char *)prec);
359 prt->papFldDes[calcoutRecordDESC]->size =
sizeof(prec->
desc);
360 prt->papFldDes[calcoutRecordDESC]->offset = (
unsigned short)((
char *)&prec->
desc - (
char *)prec);
361 prt->papFldDes[calcoutRecordASG]->size =
sizeof(prec->
asg);
362 prt->papFldDes[calcoutRecordASG]->offset = (
unsigned short)((
char *)&prec->
asg - (
char *)prec);
363 prt->papFldDes[calcoutRecordSCAN]->size =
sizeof(prec->
scan);
364 prt->papFldDes[calcoutRecordSCAN]->offset = (
unsigned short)((
char *)&prec->
scan - (
char *)prec);
365 prt->papFldDes[calcoutRecordPINI]->size =
sizeof(prec->
pini);
366 prt->papFldDes[calcoutRecordPINI]->offset = (
unsigned short)((
char *)&prec->
pini - (
char *)prec);
367 prt->papFldDes[calcoutRecordPHAS]->size =
sizeof(prec->
phas);
368 prt->papFldDes[calcoutRecordPHAS]->offset = (
unsigned short)((
char *)&prec->
phas - (
char *)prec);
369 prt->papFldDes[calcoutRecordEVNT]->size =
sizeof(prec->
evnt);
370 prt->papFldDes[calcoutRecordEVNT]->offset = (
unsigned short)((
char *)&prec->
evnt - (
char *)prec);
371 prt->papFldDes[calcoutRecordTSE]->size =
sizeof(prec->
tse);
372 prt->papFldDes[calcoutRecordTSE]->offset = (
unsigned short)((
char *)&prec->
tse - (
char *)prec);
373 prt->papFldDes[calcoutRecordTSEL]->size =
sizeof(prec->
tsel);
374 prt->papFldDes[calcoutRecordTSEL]->offset = (
unsigned short)((
char *)&prec->
tsel - (
char *)prec);
375 prt->papFldDes[calcoutRecordDTYP]->size =
sizeof(prec->
dtyp);
376 prt->papFldDes[calcoutRecordDTYP]->offset = (
unsigned short)((
char *)&prec->
dtyp - (
char *)prec);
377 prt->papFldDes[calcoutRecordDISV]->size =
sizeof(prec->
disv);
378 prt->papFldDes[calcoutRecordDISV]->offset = (
unsigned short)((
char *)&prec->
disv - (
char *)prec);
379 prt->papFldDes[calcoutRecordDISA]->size =
sizeof(prec->
disa);
380 prt->papFldDes[calcoutRecordDISA]->offset = (
unsigned short)((
char *)&prec->
disa - (
char *)prec);
381 prt->papFldDes[calcoutRecordSDIS]->size =
sizeof(prec->
sdis);
382 prt->papFldDes[calcoutRecordSDIS]->offset = (
unsigned short)((
char *)&prec->
sdis - (
char *)prec);
383 prt->papFldDes[calcoutRecordMLOK]->size =
sizeof(prec->
mlok);
384 prt->papFldDes[calcoutRecordMLOK]->offset = (
unsigned short)((
char *)&prec->
mlok - (
char *)prec);
385 prt->papFldDes[calcoutRecordMLIS]->size =
sizeof(prec->
mlis);
386 prt->papFldDes[calcoutRecordMLIS]->offset = (
unsigned short)((
char *)&prec->
mlis - (
char *)prec);
387 prt->papFldDes[calcoutRecordBKLNK]->size =
sizeof(prec->
bklnk);
388 prt->papFldDes[calcoutRecordBKLNK]->offset = (
unsigned short)((
char *)&prec->
bklnk - (
char *)prec);
389 prt->papFldDes[calcoutRecordDISP]->size =
sizeof(prec->
disp);
390 prt->papFldDes[calcoutRecordDISP]->offset = (
unsigned short)((
char *)&prec->
disp - (
char *)prec);
391 prt->papFldDes[calcoutRecordPROC]->size =
sizeof(prec->
proc);
392 prt->papFldDes[calcoutRecordPROC]->offset = (
unsigned short)((
char *)&prec->
proc - (
char *)prec);
393 prt->papFldDes[calcoutRecordSTAT]->size =
sizeof(prec->
stat);
394 prt->papFldDes[calcoutRecordSTAT]->offset = (
unsigned short)((
char *)&prec->
stat - (
char *)prec);
395 prt->papFldDes[calcoutRecordSEVR]->size =
sizeof(prec->
sevr);
396 prt->papFldDes[calcoutRecordSEVR]->offset = (
unsigned short)((
char *)&prec->
sevr - (
char *)prec);
397 prt->papFldDes[calcoutRecordAMSG]->size =
sizeof(prec->
amsg);
398 prt->papFldDes[calcoutRecordAMSG]->offset = (
unsigned short)((
char *)&prec->
amsg - (
char *)prec);
399 prt->papFldDes[calcoutRecordNSTA]->size =
sizeof(prec->
nsta);
400 prt->papFldDes[calcoutRecordNSTA]->offset = (
unsigned short)((
char *)&prec->
nsta - (
char *)prec);
401 prt->papFldDes[calcoutRecordNSEV]->size =
sizeof(prec->
nsev);
402 prt->papFldDes[calcoutRecordNSEV]->offset = (
unsigned short)((
char *)&prec->
nsev - (
char *)prec);
403 prt->papFldDes[calcoutRecordNAMSG]->size =
sizeof(prec->
namsg);
404 prt->papFldDes[calcoutRecordNAMSG]->offset = (
unsigned short)((
char *)&prec->
namsg - (
char *)prec);
405 prt->papFldDes[calcoutRecordACKS]->size =
sizeof(prec->
acks);
406 prt->papFldDes[calcoutRecordACKS]->offset = (
unsigned short)((
char *)&prec->
acks - (
char *)prec);
407 prt->papFldDes[calcoutRecordACKT]->size =
sizeof(prec->
ackt);
408 prt->papFldDes[calcoutRecordACKT]->offset = (
unsigned short)((
char *)&prec->
ackt - (
char *)prec);
409 prt->papFldDes[calcoutRecordDISS]->size =
sizeof(prec->
diss);
410 prt->papFldDes[calcoutRecordDISS]->offset = (
unsigned short)((
char *)&prec->
diss - (
char *)prec);
411 prt->papFldDes[calcoutRecordLCNT]->size =
sizeof(prec->
lcnt);
412 prt->papFldDes[calcoutRecordLCNT]->offset = (
unsigned short)((
char *)&prec->
lcnt - (
char *)prec);
413 prt->papFldDes[calcoutRecordPACT]->size =
sizeof(prec->
pact);
414 prt->papFldDes[calcoutRecordPACT]->offset = (
unsigned short)((
char *)&prec->
pact - (
char *)prec);
415 prt->papFldDes[calcoutRecordPUTF]->size =
sizeof(prec->
putf);
416 prt->papFldDes[calcoutRecordPUTF]->offset = (
unsigned short)((
char *)&prec->
putf - (
char *)prec);
417 prt->papFldDes[calcoutRecordRPRO]->size =
sizeof(prec->
rpro);
418 prt->papFldDes[calcoutRecordRPRO]->offset = (
unsigned short)((
char *)&prec->
rpro - (
char *)prec);
419 prt->papFldDes[calcoutRecordASP]->size =
sizeof(prec->
asp);
420 prt->papFldDes[calcoutRecordASP]->offset = (
unsigned short)((
char *)&prec->
asp - (
char *)prec);
421 prt->papFldDes[calcoutRecordPPN]->size =
sizeof(prec->
ppn);
422 prt->papFldDes[calcoutRecordPPN]->offset = (
unsigned short)((
char *)&prec->
ppn - (
char *)prec);
423 prt->papFldDes[calcoutRecordPPNR]->size =
sizeof(prec->
ppnr);
424 prt->papFldDes[calcoutRecordPPNR]->offset = (
unsigned short)((
char *)&prec->
ppnr - (
char *)prec);
425 prt->papFldDes[calcoutRecordSPVT]->size =
sizeof(prec->
spvt);
426 prt->papFldDes[calcoutRecordSPVT]->offset = (
unsigned short)((
char *)&prec->
spvt - (
char *)prec);
427 prt->papFldDes[calcoutRecordRSET]->size =
sizeof(prec->
rset);
428 prt->papFldDes[calcoutRecordRSET]->offset = (
unsigned short)((
char *)&prec->
rset - (
char *)prec);
429 prt->papFldDes[calcoutRecordDSET]->size =
sizeof(prec->
dset);
430 prt->papFldDes[calcoutRecordDSET]->offset = (
unsigned short)((
char *)&prec->
dset - (
char *)prec);
431 prt->papFldDes[calcoutRecordDPVT]->size =
sizeof(prec->
dpvt);
432 prt->papFldDes[calcoutRecordDPVT]->offset = (
unsigned short)((
char *)&prec->
dpvt - (
char *)prec);
433 prt->papFldDes[calcoutRecordRDES]->size =
sizeof(prec->
rdes);
434 prt->papFldDes[calcoutRecordRDES]->offset = (
unsigned short)((
char *)&prec->
rdes - (
char *)prec);
435 prt->papFldDes[calcoutRecordLSET]->size =
sizeof(prec->
lset);
436 prt->papFldDes[calcoutRecordLSET]->offset = (
unsigned short)((
char *)&prec->
lset - (
char *)prec);
437 prt->papFldDes[calcoutRecordPRIO]->size =
sizeof(prec->
prio);
438 prt->papFldDes[calcoutRecordPRIO]->offset = (
unsigned short)((
char *)&prec->
prio - (
char *)prec);
439 prt->papFldDes[calcoutRecordTPRO]->size =
sizeof(prec->
tpro);
440 prt->papFldDes[calcoutRecordTPRO]->offset = (
unsigned short)((
char *)&prec->
tpro - (
char *)prec);
441 prt->papFldDes[calcoutRecordBKPT]->size =
sizeof(prec->
bkpt);
442 prt->papFldDes[calcoutRecordBKPT]->offset = (
unsigned short)((
char *)&prec->
bkpt - (
char *)prec);
443 prt->papFldDes[calcoutRecordUDF]->size =
sizeof(prec->
udf);
444 prt->papFldDes[calcoutRecordUDF]->offset = (
unsigned short)((
char *)&prec->
udf - (
char *)prec);
445 prt->papFldDes[calcoutRecordUDFS]->size =
sizeof(prec->
udfs);
446 prt->papFldDes[calcoutRecordUDFS]->offset = (
unsigned short)((
char *)&prec->
udfs - (
char *)prec);
447 prt->papFldDes[calcoutRecordTIME]->size =
sizeof(prec->
time);
448 prt->papFldDes[calcoutRecordTIME]->offset = (
unsigned short)((
char *)&prec->
time - (
char *)prec);
449 prt->papFldDes[calcoutRecordUTAG]->size =
sizeof(prec->
utag);
450 prt->papFldDes[calcoutRecordUTAG]->offset = (
unsigned short)((
char *)&prec->
utag - (
char *)prec);
451 prt->papFldDes[calcoutRecordFLNK]->size =
sizeof(prec->
flnk);
452 prt->papFldDes[calcoutRecordFLNK]->offset = (
unsigned short)((
char *)&prec->
flnk - (
char *)prec);
453 prt->papFldDes[calcoutRecordRPVT]->size =
sizeof(prec->
rpvt);
454 prt->papFldDes[calcoutRecordRPVT]->offset = (
unsigned short)((
char *)&prec->
rpvt - (
char *)prec);
455 prt->papFldDes[calcoutRecordVAL]->size =
sizeof(prec->
val);
456 prt->papFldDes[calcoutRecordVAL]->offset = (
unsigned short)((
char *)&prec->
val - (
char *)prec);
457 prt->papFldDes[calcoutRecordPVAL]->size =
sizeof(prec->
pval);
458 prt->papFldDes[calcoutRecordPVAL]->offset = (
unsigned short)((
char *)&prec->
pval - (
char *)prec);
459 prt->papFldDes[calcoutRecordCALC]->size =
sizeof(prec->
calc);
460 prt->papFldDes[calcoutRecordCALC]->offset = (
unsigned short)((
char *)&prec->
calc - (
char *)prec);
461 prt->papFldDes[calcoutRecordCLCV]->size =
sizeof(prec->
clcv);
462 prt->papFldDes[calcoutRecordCLCV]->offset = (
unsigned short)((
char *)&prec->
clcv - (
char *)prec);
463 prt->papFldDes[calcoutRecordINPA]->size =
sizeof(prec->
inpa);
464 prt->papFldDes[calcoutRecordINPA]->offset = (
unsigned short)((
char *)&prec->
inpa - (
char *)prec);
465 prt->papFldDes[calcoutRecordINPB]->size =
sizeof(prec->
inpb);
466 prt->papFldDes[calcoutRecordINPB]->offset = (
unsigned short)((
char *)&prec->
inpb - (
char *)prec);
467 prt->papFldDes[calcoutRecordINPC]->size =
sizeof(prec->
inpc);
468 prt->papFldDes[calcoutRecordINPC]->offset = (
unsigned short)((
char *)&prec->
inpc - (
char *)prec);
469 prt->papFldDes[calcoutRecordINPD]->size =
sizeof(prec->
inpd);
470 prt->papFldDes[calcoutRecordINPD]->offset = (
unsigned short)((
char *)&prec->
inpd - (
char *)prec);
471 prt->papFldDes[calcoutRecordINPE]->size =
sizeof(prec->
inpe);
472 prt->papFldDes[calcoutRecordINPE]->offset = (
unsigned short)((
char *)&prec->
inpe - (
char *)prec);
473 prt->papFldDes[calcoutRecordINPF]->size =
sizeof(prec->
inpf);
474 prt->papFldDes[calcoutRecordINPF]->offset = (
unsigned short)((
char *)&prec->
inpf - (
char *)prec);
475 prt->papFldDes[calcoutRecordINPG]->size =
sizeof(prec->
inpg);
476 prt->papFldDes[calcoutRecordINPG]->offset = (
unsigned short)((
char *)&prec->
inpg - (
char *)prec);
477 prt->papFldDes[calcoutRecordINPH]->size =
sizeof(prec->
inph);
478 prt->papFldDes[calcoutRecordINPH]->offset = (
unsigned short)((
char *)&prec->
inph - (
char *)prec);
479 prt->papFldDes[calcoutRecordINPI]->size =
sizeof(prec->
inpi);
480 prt->papFldDes[calcoutRecordINPI]->offset = (
unsigned short)((
char *)&prec->
inpi - (
char *)prec);
481 prt->papFldDes[calcoutRecordINPJ]->size =
sizeof(prec->
inpj);
482 prt->papFldDes[calcoutRecordINPJ]->offset = (
unsigned short)((
char *)&prec->
inpj - (
char *)prec);
483 prt->papFldDes[calcoutRecordINPK]->size =
sizeof(prec->
inpk);
484 prt->papFldDes[calcoutRecordINPK]->offset = (
unsigned short)((
char *)&prec->
inpk - (
char *)prec);
485 prt->papFldDes[calcoutRecordINPL]->size =
sizeof(prec->
inpl);
486 prt->papFldDes[calcoutRecordINPL]->offset = (
unsigned short)((
char *)&prec->
inpl - (
char *)prec);
487 prt->papFldDes[calcoutRecordOUT]->size =
sizeof(prec->
out);
488 prt->papFldDes[calcoutRecordOUT]->offset = (
unsigned short)((
char *)&prec->
out - (
char *)prec);
489 prt->papFldDes[calcoutRecordINAV]->size =
sizeof(prec->
inav);
490 prt->papFldDes[calcoutRecordINAV]->offset = (
unsigned short)((
char *)&prec->
inav - (
char *)prec);
491 prt->papFldDes[calcoutRecordINBV]->size =
sizeof(prec->
inbv);
492 prt->papFldDes[calcoutRecordINBV]->offset = (
unsigned short)((
char *)&prec->
inbv - (
char *)prec);
493 prt->papFldDes[calcoutRecordINCV]->size =
sizeof(prec->
incv);
494 prt->papFldDes[calcoutRecordINCV]->offset = (
unsigned short)((
char *)&prec->
incv - (
char *)prec);
495 prt->papFldDes[calcoutRecordINDV]->size =
sizeof(prec->
indv);
496 prt->papFldDes[calcoutRecordINDV]->offset = (
unsigned short)((
char *)&prec->
indv - (
char *)prec);
497 prt->papFldDes[calcoutRecordINEV]->size =
sizeof(prec->
inev);
498 prt->papFldDes[calcoutRecordINEV]->offset = (
unsigned short)((
char *)&prec->
inev - (
char *)prec);
499 prt->papFldDes[calcoutRecordINFV]->size =
sizeof(prec->
infv);
500 prt->papFldDes[calcoutRecordINFV]->offset = (
unsigned short)((
char *)&prec->
infv - (
char *)prec);
501 prt->papFldDes[calcoutRecordINGV]->size =
sizeof(prec->
ingv);
502 prt->papFldDes[calcoutRecordINGV]->offset = (
unsigned short)((
char *)&prec->
ingv - (
char *)prec);
503 prt->papFldDes[calcoutRecordINHV]->size =
sizeof(prec->
inhv);
504 prt->papFldDes[calcoutRecordINHV]->offset = (
unsigned short)((
char *)&prec->
inhv - (
char *)prec);
505 prt->papFldDes[calcoutRecordINIV]->size =
sizeof(prec->
iniv);
506 prt->papFldDes[calcoutRecordINIV]->offset = (
unsigned short)((
char *)&prec->
iniv - (
char *)prec);
507 prt->papFldDes[calcoutRecordINJV]->size =
sizeof(prec->
injv);
508 prt->papFldDes[calcoutRecordINJV]->offset = (
unsigned short)((
char *)&prec->
injv - (
char *)prec);
509 prt->papFldDes[calcoutRecordINKV]->size =
sizeof(prec->
inkv);
510 prt->papFldDes[calcoutRecordINKV]->offset = (
unsigned short)((
char *)&prec->
inkv - (
char *)prec);
511 prt->papFldDes[calcoutRecordINLV]->size =
sizeof(prec->
inlv);
512 prt->papFldDes[calcoutRecordINLV]->offset = (
unsigned short)((
char *)&prec->
inlv - (
char *)prec);
513 prt->papFldDes[calcoutRecordOUTV]->size =
sizeof(prec->
outv);
514 prt->papFldDes[calcoutRecordOUTV]->offset = (
unsigned short)((
char *)&prec->
outv - (
char *)prec);
515 prt->papFldDes[calcoutRecordOOPT]->size =
sizeof(prec->
oopt);
516 prt->papFldDes[calcoutRecordOOPT]->offset = (
unsigned short)((
char *)&prec->
oopt - (
char *)prec);
517 prt->papFldDes[calcoutRecordODLY]->size =
sizeof(prec->
odly);
518 prt->papFldDes[calcoutRecordODLY]->offset = (
unsigned short)((
char *)&prec->
odly - (
char *)prec);
519 prt->papFldDes[calcoutRecordDLYA]->size =
sizeof(prec->
dlya);
520 prt->papFldDes[calcoutRecordDLYA]->offset = (
unsigned short)((
char *)&prec->
dlya - (
char *)prec);
521 prt->papFldDes[calcoutRecordDOPT]->size =
sizeof(prec->
dopt);
522 prt->papFldDes[calcoutRecordDOPT]->offset = (
unsigned short)((
char *)&prec->
dopt - (
char *)prec);
523 prt->papFldDes[calcoutRecordOCAL]->size =
sizeof(prec->
ocal);
524 prt->papFldDes[calcoutRecordOCAL]->offset = (
unsigned short)((
char *)&prec->
ocal - (
char *)prec);
525 prt->papFldDes[calcoutRecordOCLV]->size =
sizeof(prec->
oclv);
526 prt->papFldDes[calcoutRecordOCLV]->offset = (
unsigned short)((
char *)&prec->
oclv - (
char *)prec);
527 prt->papFldDes[calcoutRecordOEVT]->size =
sizeof(prec->
oevt);
528 prt->papFldDes[calcoutRecordOEVT]->offset = (
unsigned short)((
char *)&prec->
oevt - (
char *)prec);
529 prt->papFldDes[calcoutRecordEPVT]->size =
sizeof(prec->
epvt);
530 prt->papFldDes[calcoutRecordEPVT]->offset = (
unsigned short)((
char *)&prec->
epvt - (
char *)prec);
531 prt->papFldDes[calcoutRecordIVOA]->size =
sizeof(prec->
ivoa);
532 prt->papFldDes[calcoutRecordIVOA]->offset = (
unsigned short)((
char *)&prec->
ivoa - (
char *)prec);
533 prt->papFldDes[calcoutRecordIVOV]->size =
sizeof(prec->
ivov);
534 prt->papFldDes[calcoutRecordIVOV]->offset = (
unsigned short)((
char *)&prec->
ivov - (
char *)prec);
535 prt->papFldDes[calcoutRecordEGU]->size =
sizeof(prec->
egu);
536 prt->papFldDes[calcoutRecordEGU]->offset = (
unsigned short)((
char *)&prec->
egu - (
char *)prec);
537 prt->papFldDes[calcoutRecordPREC]->size =
sizeof(prec->
prec);
538 prt->papFldDes[calcoutRecordPREC]->offset = (
unsigned short)((
char *)&prec->
prec - (
char *)prec);
539 prt->papFldDes[calcoutRecordHOPR]->size =
sizeof(prec->
hopr);
540 prt->papFldDes[calcoutRecordHOPR]->offset = (
unsigned short)((
char *)&prec->
hopr - (
char *)prec);
541 prt->papFldDes[calcoutRecordLOPR]->size =
sizeof(prec->
lopr);
542 prt->papFldDes[calcoutRecordLOPR]->offset = (
unsigned short)((
char *)&prec->
lopr - (
char *)prec);
543 prt->papFldDes[calcoutRecordHIHI]->size =
sizeof(prec->
hihi);
544 prt->papFldDes[calcoutRecordHIHI]->offset = (
unsigned short)((
char *)&prec->
hihi - (
char *)prec);
545 prt->papFldDes[calcoutRecordLOLO]->size =
sizeof(prec->
lolo);
546 prt->papFldDes[calcoutRecordLOLO]->offset = (
unsigned short)((
char *)&prec->
lolo - (
char *)prec);
547 prt->papFldDes[calcoutRecordHIGH]->size =
sizeof(prec->
high);
548 prt->papFldDes[calcoutRecordHIGH]->offset = (
unsigned short)((
char *)&prec->
high - (
char *)prec);
549 prt->papFldDes[calcoutRecordLOW]->size =
sizeof(prec->
low);
550 prt->papFldDes[calcoutRecordLOW]->offset = (
unsigned short)((
char *)&prec->
low - (
char *)prec);
551 prt->papFldDes[calcoutRecordHHSV]->size =
sizeof(prec->
hhsv);
552 prt->papFldDes[calcoutRecordHHSV]->offset = (
unsigned short)((
char *)&prec->
hhsv - (
char *)prec);
553 prt->papFldDes[calcoutRecordLLSV]->size =
sizeof(prec->
llsv);
554 prt->papFldDes[calcoutRecordLLSV]->offset = (
unsigned short)((
char *)&prec->
llsv - (
char *)prec);
555 prt->papFldDes[calcoutRecordHSV]->size =
sizeof(prec->
hsv);
556 prt->papFldDes[calcoutRecordHSV]->offset = (
unsigned short)((
char *)&prec->
hsv - (
char *)prec);
557 prt->papFldDes[calcoutRecordLSV]->size =
sizeof(prec->
lsv);
558 prt->papFldDes[calcoutRecordLSV]->offset = (
unsigned short)((
char *)&prec->
lsv - (
char *)prec);
559 prt->papFldDes[calcoutRecordHYST]->size =
sizeof(prec->
hyst);
560 prt->papFldDes[calcoutRecordHYST]->offset = (
unsigned short)((
char *)&prec->
hyst - (
char *)prec);
561 prt->papFldDes[calcoutRecordADEL]->size =
sizeof(prec->
adel);
562 prt->papFldDes[calcoutRecordADEL]->offset = (
unsigned short)((
char *)&prec->
adel - (
char *)prec);
563 prt->papFldDes[calcoutRecordMDEL]->size =
sizeof(prec->
mdel);
564 prt->papFldDes[calcoutRecordMDEL]->offset = (
unsigned short)((
char *)&prec->
mdel - (
char *)prec);
565 prt->papFldDes[calcoutRecordA]->size =
sizeof(prec->
a);
566 prt->papFldDes[calcoutRecordA]->offset = (
unsigned short)((
char *)&prec->
a - (
char *)prec);
567 prt->papFldDes[calcoutRecordB]->size =
sizeof(prec->
b);
568 prt->papFldDes[calcoutRecordB]->offset = (
unsigned short)((
char *)&prec->
b - (
char *)prec);
569 prt->papFldDes[calcoutRecordC]->size =
sizeof(prec->
c);
570 prt->papFldDes[calcoutRecordC]->offset = (
unsigned short)((
char *)&prec->
c - (
char *)prec);
571 prt->papFldDes[calcoutRecordD]->size =
sizeof(prec->
d);
572 prt->papFldDes[calcoutRecordD]->offset = (
unsigned short)((
char *)&prec->
d - (
char *)prec);
573 prt->papFldDes[calcoutRecordE]->size =
sizeof(prec->
e);
574 prt->papFldDes[calcoutRecordE]->offset = (
unsigned short)((
char *)&prec->
e - (
char *)prec);
575 prt->papFldDes[calcoutRecordF]->size =
sizeof(prec->
f);
576 prt->papFldDes[calcoutRecordF]->offset = (
unsigned short)((
char *)&prec->
f - (
char *)prec);
577 prt->papFldDes[calcoutRecordG]->size =
sizeof(prec->
g);
578 prt->papFldDes[calcoutRecordG]->offset = (
unsigned short)((
char *)&prec->
g - (
char *)prec);
579 prt->papFldDes[calcoutRecordH]->size =
sizeof(prec->
h);
580 prt->papFldDes[calcoutRecordH]->offset = (
unsigned short)((
char *)&prec->
h - (
char *)prec);
581 prt->papFldDes[calcoutRecordI]->size =
sizeof(prec->
i);
582 prt->papFldDes[calcoutRecordI]->offset = (
unsigned short)((
char *)&prec->
i - (
char *)prec);
583 prt->papFldDes[calcoutRecordJ]->size =
sizeof(prec->
j);
584 prt->papFldDes[calcoutRecordJ]->offset = (
unsigned short)((
char *)&prec->
j - (
char *)prec);
585 prt->papFldDes[calcoutRecordK]->size =
sizeof(prec->
k);
586 prt->papFldDes[calcoutRecordK]->offset = (
unsigned short)((
char *)&prec->
k - (
char *)prec);
587 prt->papFldDes[calcoutRecordL]->size =
sizeof(prec->
l);
588 prt->papFldDes[calcoutRecordL]->offset = (
unsigned short)((
char *)&prec->
l - (
char *)prec);
589 prt->papFldDes[calcoutRecordOVAL]->size =
sizeof(prec->
oval);
590 prt->papFldDes[calcoutRecordOVAL]->offset = (
unsigned short)((
char *)&prec->
oval - (
char *)prec);
591 prt->papFldDes[calcoutRecordLA]->size =
sizeof(prec->
la);
592 prt->papFldDes[calcoutRecordLA]->offset = (
unsigned short)((
char *)&prec->
la - (
char *)prec);
593 prt->papFldDes[calcoutRecordLB]->size =
sizeof(prec->
lb);
594 prt->papFldDes[calcoutRecordLB]->offset = (
unsigned short)((
char *)&prec->
lb - (
char *)prec);
595 prt->papFldDes[calcoutRecordLC]->size =
sizeof(prec->
lc);
596 prt->papFldDes[calcoutRecordLC]->offset = (
unsigned short)((
char *)&prec->
lc - (
char *)prec);
597 prt->papFldDes[calcoutRecordLD]->size =
sizeof(prec->
ld);
598 prt->papFldDes[calcoutRecordLD]->offset = (
unsigned short)((
char *)&prec->
ld - (
char *)prec);
599 prt->papFldDes[calcoutRecordLE]->size =
sizeof(prec->
le);
600 prt->papFldDes[calcoutRecordLE]->offset = (
unsigned short)((
char *)&prec->
le - (
char *)prec);
601 prt->papFldDes[calcoutRecordLF]->size =
sizeof(prec->
lf);
602 prt->papFldDes[calcoutRecordLF]->offset = (
unsigned short)((
char *)&prec->
lf - (
char *)prec);
603 prt->papFldDes[calcoutRecordLG]->size =
sizeof(prec->
lg);
604 prt->papFldDes[calcoutRecordLG]->offset = (
unsigned short)((
char *)&prec->
lg - (
char *)prec);
605 prt->papFldDes[calcoutRecordLH]->size =
sizeof(prec->
lh);
606 prt->papFldDes[calcoutRecordLH]->offset = (
unsigned short)((
char *)&prec->
lh - (
char *)prec);
607 prt->papFldDes[calcoutRecordLI]->size =
sizeof(prec->
li);
608 prt->papFldDes[calcoutRecordLI]->offset = (
unsigned short)((
char *)&prec->
li - (
char *)prec);
609 prt->papFldDes[calcoutRecordLJ]->size =
sizeof(prec->
lj);
610 prt->papFldDes[calcoutRecordLJ]->offset = (
unsigned short)((
char *)&prec->
lj - (
char *)prec);
611 prt->papFldDes[calcoutRecordLK]->size =
sizeof(prec->
lk);
612 prt->papFldDes[calcoutRecordLK]->offset = (
unsigned short)((
char *)&prec->
lk - (
char *)prec);
613 prt->papFldDes[calcoutRecordLL]->size =
sizeof(prec->
ll);
614 prt->papFldDes[calcoutRecordLL]->offset = (
unsigned short)((
char *)&prec->
ll - (
char *)prec);
615 prt->papFldDes[calcoutRecordPOVL]->size =
sizeof(prec->
povl);
616 prt->papFldDes[calcoutRecordPOVL]->offset = (
unsigned short)((
char *)&prec->
povl - (
char *)prec);
617 prt->papFldDes[calcoutRecordLALM]->size =
sizeof(prec->
lalm);
618 prt->papFldDes[calcoutRecordLALM]->offset = (
unsigned short)((
char *)&prec->
lalm - (
char *)prec);
619 prt->papFldDes[calcoutRecordALST]->size =
sizeof(prec->
alst);
620 prt->papFldDes[calcoutRecordALST]->offset = (
unsigned short)((
char *)&prec->
alst - (
char *)prec);
621 prt->papFldDes[calcoutRecordMLST]->size =
sizeof(prec->
mlst);
622 prt->papFldDes[calcoutRecordMLST]->offset = (
unsigned short)((
char *)&prec->
mlst - (
char *)prec);
623 prt->papFldDes[calcoutRecordRPCL]->size =
sizeof(prec->
rpcl);
624 prt->papFldDes[calcoutRecordRPCL]->offset = (
unsigned short)((
char *)&prec->
rpcl - (
char *)prec);
625 prt->papFldDes[calcoutRecordORPC]->size =
sizeof(prec->
orpc);
626 prt->papFldDes[calcoutRecordORPC]->offset = (
unsigned short)((
char *)&prec->
orpc - (
char *)prec);
627 prt->rec_size =
sizeof(*prec);
epicsFloat64 le
Prev Value of E.
char name[61]
Record Name.
epicsFloat64 mlst
Last Val Monitored.
epicsEnum16 dopt
Output Data Opt.
epicsFloat64 high
High Alarm Limit.
epicsFloat64 f
Value of Input F.
epicsEnum16 inev
INPE PV Status.
epicsUInt8 tpro
Trace Processing.
epicsFloat64 g
Value of Input G.
DBLINK flnk
Forward Process Link.
char ocal[80]
Output Calculation.
struct rpvtStruct * rpvt
Record Private.
epicsFloat64 c
Value of Input C.
struct scan_element * spvt
Scan Private.
epicsFloat64 i
Value of Input I.
State string "Transition To Zero".
epicsEnum16 stat
Alarm Status.
epicsInt32 clcv
CALC Valid.
epicsFloat64 hopr
High Operating Rng.
epicsEnum16 infv
INPF PV Status.
epicsUInt16 dlya
Output Delay Active.
struct lockRecord * lset
Lock Set.
LIBCOM_API void cantProceed(const char *errorMessage,...) EPICS_PRINTF_STYLE(1
Suspend this thread, the caller cannot continue or return.
State string "Use OCAL".
epicsFloat64 low
Low Alarm Limit.
epicsFloat64 lk
Prev Value of K.
The API for the EPICS Calculation Engine.
calcoutINAV
Enumerated type from menu calcoutINAV.
The core data types used by epics.
char rpcl[INFIX_TO_POSTFIX_SIZE(80)]
Reverse Polish Calc.
struct dbRecordType * rdes
Address of dbRecordType.
epicsEnum16 diss
Disable Alarm Sevrty.
epicsFloat64 d
Value of Input D.
epicsEnum16 llsv
Lolo Severity.
epicsFloat64 l
Value of Input L.
epicsInt16 prec
Display Precision.
epicsUInt8 disp
Disable putField.
ELLLIST mlis
Monitor List.
epicsInt16 tse
Time Stamp Event.
struct processNotify * ppn
pprocessNotify
void * dpvt
Device Private.
epicsInt32 oclv
OCAL Valid.
epicsEnum16 acks
Alarm Ack Severity.
epicsEnum16 inlv
INPL PV Status.
State string "Constant".
epicsEnum16 dtyp
Device Type.
ELLLIST bklnk
Backwards link tracking.
EVENTPVT epvt
Event private.
Routines for code that can't continue or return after an error.
struct typed_rset * rset
Address of RSET.
epicsEnum16 sevr
Alarm Severity.
epicsFloat64 lalm
Last Value Alarmed.
char asg[29]
Access Security Group.
State string "Use CALC".
epicsFloat64 odly
Output Execute Delay.
epicsEnum16 ackt
Alarm Ack Transient.
epicsFloat64 ll
Prev Value of L.
epicsEnum16 prio
Scheduling Priority.
epicsUInt8 bkpt
Break Point.
calcoutDOPT
Enumerated type from menu calcoutDOPT.
epicsEnum16 scan
Scan Mechanism.
State string "On Change".
epicsEnum16 ingv
INPG PV Status.
epicsEnum16 ivoa
INVALID output action.
epicsUInt8 rpro
Reprocess.
epicsFloat64 lc
Prev Value of C.
epicsUInt8 proc
Force Processing.
DBLINK tsel
Time Stamp Link.
EPICS time stamp, for use from C code.
A doubly-linked list library.
epicsEnum16 indv
INPD PV Status.
char orpc[INFIX_TO_POSTFIX_SIZE(80)]
Reverse Polish OCalc.
epicsEnum16 pini
Process at iocInit.
epicsFloat64 povl
Prev Value of OVAL.
Declaration of calcout record type.
epicsEnum16 lsv
Low Severity.
epicsFloat64 e
Value of Input E.
epicsEnum16 nsta
New Alarm Status.
epicsFloat64 mdel
Monitor Deadband.
epicsEnum16 hhsv
Hihi Severity.
char amsg[40]
Alarm Message.
epicsEnum16 inhv
INPH PV Status.
epicsEnum16 inav
INPA PV Status.
epicsEnum16 nsev
New Alarm Severity.
epicsInt16 disv
Disable Value.
struct asgMember * asp
Access Security Pvt.
epicsFloat64 j
Value of Input J.
epicsFloat64 la
Prev Value of A.
epicsFloat64 lh
Prev Value of H.
epicsFloat64 oval
Output Value.
epicsInt16 phas
Scan Phase.
unambiguous_dset * dset
DSET address.
epicsUInt64 utag
Time Tag.
APIs for the epicsMutex mutual exclusion semaphore.
epicsEnum16 outv
OUT PV Status.
epicsFloat64 hihi
Hihi Alarm Limit.
State string "When Zero".
epicsFloat64 b
Value of Input B.
State string "Local PV".
epicsFloat64 lf
Prev Value of F.
epicsUInt8 pact
Record active.
char egu[16]
Engineering Units.
epicsFloat64 lopr
Low Operating Range.
epicsUInt8 putf
dbPutField process
epicsFloat64 lb
Prev Value of B.
epicsFloat64 k
Value of Input K.
State string "Ext PV OK".
DBLINK out
Output Specification.
epicsEnum16 inkv
INPK PV Status.
epicsFloat64 hyst
Alarm Deadband.
#define epicsExportRegistrar(fun)
Declare a registrar function for exporting.
State string "Every Time".
epicsEnum16 inbv
INPB PV Status.
epicsFloat64 lolo
Lolo Alarm Limit.
char calc[80]
Calculation.
epicsFloat64 ld
Prev Value of D.
epicsEnum16 iniv
INPI PV Status.
calcoutOOPT
Enumerated type from menu calcoutOOPT.
char namsg[40]
New Alarm Message.
epicsUInt8 lcnt
Lock Count.
epicsFloat64 pval
Previous Value.
EPICS time-stamps (epicsTimeStamp), epicsTime C++ class and C functions for handling wall-clock times...
State string "When Non-zero".
State string "Transition To Non-zero".
epicsFloat64 adel
Archive Deadband.
epicsFloat64 a
Value of Input A.
epicsFloat64 ivov
INVALID output value.
epicsFloat64 lg
Prev Value of G.
epicsEnum16 hsv
High Severity.
epicsFloat64 lj
Prev Value of J.
State string "Ext PV NC".
epicsFloat64 alst
Last Value Archived.
#define INFIX_TO_POSTFIX_SIZE(n)
Calculate required size of postfix buffer from infix.
struct processNotifyRecord * ppnr
pprocessNotifyRecord
epicsEnum16 injv
INPJ PV Status.
char oevt[40]
Event To Issue.
DBLINK sdis
Scanning Disable.
epicsEnum16 oopt
Output Execute Opt.
epicsEnum16 incv
INPC PV Status.
struct epicsMutexParm * epicsMutexId
An identifier for an epicsMutex for use with the C API.
epicsFloat64 li
Prev Value of I.
epicsEnum16 udfs
Undefined Alarm Sevrty.
epicsFloat64 h
Value of Input H.
epicsMutexId mlok
Monitor lock.