7 #ifndef INC_stringoutRecord_H
8 #define INC_stringoutRecord_H
23 #define HAS_stringoutdset
27 #ifndef stringoutPOST_NUM_CHOICES
34 #define stringoutPOST_NUM_CHOICES 2
70 struct asgMember *
asp;
72 struct processNotifyRecord *
ppnr;
107 stringoutRecordNAME = 0,
108 stringoutRecordDESC = 1,
109 stringoutRecordASG = 2,
110 stringoutRecordSCAN = 3,
111 stringoutRecordPINI = 4,
112 stringoutRecordPHAS = 5,
113 stringoutRecordEVNT = 6,
114 stringoutRecordTSE = 7,
115 stringoutRecordTSEL = 8,
116 stringoutRecordDTYP = 9,
117 stringoutRecordDISV = 10,
118 stringoutRecordDISA = 11,
119 stringoutRecordSDIS = 12,
120 stringoutRecordMLOK = 13,
121 stringoutRecordMLIS = 14,
122 stringoutRecordBKLNK = 15,
123 stringoutRecordDISP = 16,
124 stringoutRecordPROC = 17,
125 stringoutRecordSTAT = 18,
126 stringoutRecordSEVR = 19,
127 stringoutRecordAMSG = 20,
128 stringoutRecordNSTA = 21,
129 stringoutRecordNSEV = 22,
130 stringoutRecordNAMSG = 23,
131 stringoutRecordACKS = 24,
132 stringoutRecordACKT = 25,
133 stringoutRecordDISS = 26,
134 stringoutRecordLCNT = 27,
135 stringoutRecordPACT = 28,
136 stringoutRecordPUTF = 29,
137 stringoutRecordRPRO = 30,
138 stringoutRecordASP = 31,
139 stringoutRecordPPN = 32,
140 stringoutRecordPPNR = 33,
141 stringoutRecordSPVT = 34,
142 stringoutRecordRSET = 35,
143 stringoutRecordDSET = 36,
144 stringoutRecordDPVT = 37,
145 stringoutRecordRDES = 38,
146 stringoutRecordLSET = 39,
147 stringoutRecordPRIO = 40,
148 stringoutRecordTPRO = 41,
149 stringoutRecordBKPT = 42,
150 stringoutRecordUDF = 43,
151 stringoutRecordUDFS = 44,
152 stringoutRecordTIME = 45,
153 stringoutRecordUTAG = 46,
154 stringoutRecordFLNK = 47,
155 stringoutRecordVAL = 48,
156 stringoutRecordOVAL = 49,
157 stringoutRecordDOL = 50,
158 stringoutRecordOMSL = 51,
159 stringoutRecordOUT = 52,
160 stringoutRecordMPST = 53,
161 stringoutRecordAPST = 54,
162 stringoutRecordSIOL = 55,
163 stringoutRecordSIML = 56,
164 stringoutRecordSIMM = 57,
165 stringoutRecordSIMS = 58,
166 stringoutRecordOLDSIMM = 59,
167 stringoutRecordSSCN = 60,
168 stringoutRecordSDLY = 61,
169 stringoutRecordSIMPVT = 62,
170 stringoutRecordIVOA = 63,
171 stringoutRecordIVOV = 64
172 } stringoutFieldIndex;
174 #ifdef GEN_SIZE_OFFSET
185 if (prt->no_fields != 65) {
187 " The stringoutRecord defined in the DBD file has %d fields,\n"
188 " but the record support code was built with 65.\n",
191 prt->papFldDes[stringoutRecordNAME]->size =
sizeof(prec->
name);
192 prt->papFldDes[stringoutRecordNAME]->offset = (
unsigned short)((
char *)&prec->
name - (
char *)prec);
193 prt->papFldDes[stringoutRecordDESC]->size =
sizeof(prec->
desc);
194 prt->papFldDes[stringoutRecordDESC]->offset = (
unsigned short)((
char *)&prec->
desc - (
char *)prec);
195 prt->papFldDes[stringoutRecordASG]->size =
sizeof(prec->
asg);
196 prt->papFldDes[stringoutRecordASG]->offset = (
unsigned short)((
char *)&prec->
asg - (
char *)prec);
197 prt->papFldDes[stringoutRecordSCAN]->size =
sizeof(prec->
scan);
198 prt->papFldDes[stringoutRecordSCAN]->offset = (
unsigned short)((
char *)&prec->
scan - (
char *)prec);
199 prt->papFldDes[stringoutRecordPINI]->size =
sizeof(prec->
pini);
200 prt->papFldDes[stringoutRecordPINI]->offset = (
unsigned short)((
char *)&prec->
pini - (
char *)prec);
201 prt->papFldDes[stringoutRecordPHAS]->size =
sizeof(prec->
phas);
202 prt->papFldDes[stringoutRecordPHAS]->offset = (
unsigned short)((
char *)&prec->
phas - (
char *)prec);
203 prt->papFldDes[stringoutRecordEVNT]->size =
sizeof(prec->
evnt);
204 prt->papFldDes[stringoutRecordEVNT]->offset = (
unsigned short)((
char *)&prec->
evnt - (
char *)prec);
205 prt->papFldDes[stringoutRecordTSE]->size =
sizeof(prec->
tse);
206 prt->papFldDes[stringoutRecordTSE]->offset = (
unsigned short)((
char *)&prec->
tse - (
char *)prec);
207 prt->papFldDes[stringoutRecordTSEL]->size =
sizeof(prec->
tsel);
208 prt->papFldDes[stringoutRecordTSEL]->offset = (
unsigned short)((
char *)&prec->
tsel - (
char *)prec);
209 prt->papFldDes[stringoutRecordDTYP]->size =
sizeof(prec->
dtyp);
210 prt->papFldDes[stringoutRecordDTYP]->offset = (
unsigned short)((
char *)&prec->
dtyp - (
char *)prec);
211 prt->papFldDes[stringoutRecordDISV]->size =
sizeof(prec->
disv);
212 prt->papFldDes[stringoutRecordDISV]->offset = (
unsigned short)((
char *)&prec->
disv - (
char *)prec);
213 prt->papFldDes[stringoutRecordDISA]->size =
sizeof(prec->
disa);
214 prt->papFldDes[stringoutRecordDISA]->offset = (
unsigned short)((
char *)&prec->
disa - (
char *)prec);
215 prt->papFldDes[stringoutRecordSDIS]->size =
sizeof(prec->
sdis);
216 prt->papFldDes[stringoutRecordSDIS]->offset = (
unsigned short)((
char *)&prec->
sdis - (
char *)prec);
217 prt->papFldDes[stringoutRecordMLOK]->size =
sizeof(prec->
mlok);
218 prt->papFldDes[stringoutRecordMLOK]->offset = (
unsigned short)((
char *)&prec->
mlok - (
char *)prec);
219 prt->papFldDes[stringoutRecordMLIS]->size =
sizeof(prec->
mlis);
220 prt->papFldDes[stringoutRecordMLIS]->offset = (
unsigned short)((
char *)&prec->
mlis - (
char *)prec);
221 prt->papFldDes[stringoutRecordBKLNK]->size =
sizeof(prec->
bklnk);
222 prt->papFldDes[stringoutRecordBKLNK]->offset = (
unsigned short)((
char *)&prec->
bklnk - (
char *)prec);
223 prt->papFldDes[stringoutRecordDISP]->size =
sizeof(prec->
disp);
224 prt->papFldDes[stringoutRecordDISP]->offset = (
unsigned short)((
char *)&prec->
disp - (
char *)prec);
225 prt->papFldDes[stringoutRecordPROC]->size =
sizeof(prec->
proc);
226 prt->papFldDes[stringoutRecordPROC]->offset = (
unsigned short)((
char *)&prec->
proc - (
char *)prec);
227 prt->papFldDes[stringoutRecordSTAT]->size =
sizeof(prec->
stat);
228 prt->papFldDes[stringoutRecordSTAT]->offset = (
unsigned short)((
char *)&prec->
stat - (
char *)prec);
229 prt->papFldDes[stringoutRecordSEVR]->size =
sizeof(prec->
sevr);
230 prt->papFldDes[stringoutRecordSEVR]->offset = (
unsigned short)((
char *)&prec->
sevr - (
char *)prec);
231 prt->papFldDes[stringoutRecordAMSG]->size =
sizeof(prec->
amsg);
232 prt->papFldDes[stringoutRecordAMSG]->offset = (
unsigned short)((
char *)&prec->
amsg - (
char *)prec);
233 prt->papFldDes[stringoutRecordNSTA]->size =
sizeof(prec->
nsta);
234 prt->papFldDes[stringoutRecordNSTA]->offset = (
unsigned short)((
char *)&prec->
nsta - (
char *)prec);
235 prt->papFldDes[stringoutRecordNSEV]->size =
sizeof(prec->
nsev);
236 prt->papFldDes[stringoutRecordNSEV]->offset = (
unsigned short)((
char *)&prec->
nsev - (
char *)prec);
237 prt->papFldDes[stringoutRecordNAMSG]->size =
sizeof(prec->
namsg);
238 prt->papFldDes[stringoutRecordNAMSG]->offset = (
unsigned short)((
char *)&prec->
namsg - (
char *)prec);
239 prt->papFldDes[stringoutRecordACKS]->size =
sizeof(prec->
acks);
240 prt->papFldDes[stringoutRecordACKS]->offset = (
unsigned short)((
char *)&prec->
acks - (
char *)prec);
241 prt->papFldDes[stringoutRecordACKT]->size =
sizeof(prec->
ackt);
242 prt->papFldDes[stringoutRecordACKT]->offset = (
unsigned short)((
char *)&prec->
ackt - (
char *)prec);
243 prt->papFldDes[stringoutRecordDISS]->size =
sizeof(prec->
diss);
244 prt->papFldDes[stringoutRecordDISS]->offset = (
unsigned short)((
char *)&prec->
diss - (
char *)prec);
245 prt->papFldDes[stringoutRecordLCNT]->size =
sizeof(prec->
lcnt);
246 prt->papFldDes[stringoutRecordLCNT]->offset = (
unsigned short)((
char *)&prec->
lcnt - (
char *)prec);
247 prt->papFldDes[stringoutRecordPACT]->size =
sizeof(prec->
pact);
248 prt->papFldDes[stringoutRecordPACT]->offset = (
unsigned short)((
char *)&prec->
pact - (
char *)prec);
249 prt->papFldDes[stringoutRecordPUTF]->size =
sizeof(prec->
putf);
250 prt->papFldDes[stringoutRecordPUTF]->offset = (
unsigned short)((
char *)&prec->
putf - (
char *)prec);
251 prt->papFldDes[stringoutRecordRPRO]->size =
sizeof(prec->
rpro);
252 prt->papFldDes[stringoutRecordRPRO]->offset = (
unsigned short)((
char *)&prec->
rpro - (
char *)prec);
253 prt->papFldDes[stringoutRecordASP]->size =
sizeof(prec->
asp);
254 prt->papFldDes[stringoutRecordASP]->offset = (
unsigned short)((
char *)&prec->
asp - (
char *)prec);
255 prt->papFldDes[stringoutRecordPPN]->size =
sizeof(prec->
ppn);
256 prt->papFldDes[stringoutRecordPPN]->offset = (
unsigned short)((
char *)&prec->
ppn - (
char *)prec);
257 prt->papFldDes[stringoutRecordPPNR]->size =
sizeof(prec->
ppnr);
258 prt->papFldDes[stringoutRecordPPNR]->offset = (
unsigned short)((
char *)&prec->
ppnr - (
char *)prec);
259 prt->papFldDes[stringoutRecordSPVT]->size =
sizeof(prec->
spvt);
260 prt->papFldDes[stringoutRecordSPVT]->offset = (
unsigned short)((
char *)&prec->
spvt - (
char *)prec);
261 prt->papFldDes[stringoutRecordRSET]->size =
sizeof(prec->
rset);
262 prt->papFldDes[stringoutRecordRSET]->offset = (
unsigned short)((
char *)&prec->
rset - (
char *)prec);
263 prt->papFldDes[stringoutRecordDSET]->size =
sizeof(prec->
dset);
264 prt->papFldDes[stringoutRecordDSET]->offset = (
unsigned short)((
char *)&prec->
dset - (
char *)prec);
265 prt->papFldDes[stringoutRecordDPVT]->size =
sizeof(prec->
dpvt);
266 prt->papFldDes[stringoutRecordDPVT]->offset = (
unsigned short)((
char *)&prec->
dpvt - (
char *)prec);
267 prt->papFldDes[stringoutRecordRDES]->size =
sizeof(prec->
rdes);
268 prt->papFldDes[stringoutRecordRDES]->offset = (
unsigned short)((
char *)&prec->
rdes - (
char *)prec);
269 prt->papFldDes[stringoutRecordLSET]->size =
sizeof(prec->
lset);
270 prt->papFldDes[stringoutRecordLSET]->offset = (
unsigned short)((
char *)&prec->
lset - (
char *)prec);
271 prt->papFldDes[stringoutRecordPRIO]->size =
sizeof(prec->
prio);
272 prt->papFldDes[stringoutRecordPRIO]->offset = (
unsigned short)((
char *)&prec->
prio - (
char *)prec);
273 prt->papFldDes[stringoutRecordTPRO]->size =
sizeof(prec->
tpro);
274 prt->papFldDes[stringoutRecordTPRO]->offset = (
unsigned short)((
char *)&prec->
tpro - (
char *)prec);
275 prt->papFldDes[stringoutRecordBKPT]->size =
sizeof(prec->
bkpt);
276 prt->papFldDes[stringoutRecordBKPT]->offset = (
unsigned short)((
char *)&prec->
bkpt - (
char *)prec);
277 prt->papFldDes[stringoutRecordUDF]->size =
sizeof(prec->
udf);
278 prt->papFldDes[stringoutRecordUDF]->offset = (
unsigned short)((
char *)&prec->
udf - (
char *)prec);
279 prt->papFldDes[stringoutRecordUDFS]->size =
sizeof(prec->
udfs);
280 prt->papFldDes[stringoutRecordUDFS]->offset = (
unsigned short)((
char *)&prec->
udfs - (
char *)prec);
281 prt->papFldDes[stringoutRecordTIME]->size =
sizeof(prec->
time);
282 prt->papFldDes[stringoutRecordTIME]->offset = (
unsigned short)((
char *)&prec->
time - (
char *)prec);
283 prt->papFldDes[stringoutRecordUTAG]->size =
sizeof(prec->
utag);
284 prt->papFldDes[stringoutRecordUTAG]->offset = (
unsigned short)((
char *)&prec->
utag - (
char *)prec);
285 prt->papFldDes[stringoutRecordFLNK]->size =
sizeof(prec->
flnk);
286 prt->papFldDes[stringoutRecordFLNK]->offset = (
unsigned short)((
char *)&prec->
flnk - (
char *)prec);
287 prt->papFldDes[stringoutRecordVAL]->size =
sizeof(prec->
val);
288 prt->papFldDes[stringoutRecordVAL]->offset = (
unsigned short)((
char *)&prec->
val - (
char *)prec);
289 prt->papFldDes[stringoutRecordOVAL]->size =
sizeof(prec->
oval);
290 prt->papFldDes[stringoutRecordOVAL]->offset = (
unsigned short)((
char *)&prec->
oval - (
char *)prec);
291 prt->papFldDes[stringoutRecordDOL]->size =
sizeof(prec->
dol);
292 prt->papFldDes[stringoutRecordDOL]->offset = (
unsigned short)((
char *)&prec->
dol - (
char *)prec);
293 prt->papFldDes[stringoutRecordOMSL]->size =
sizeof(prec->
omsl);
294 prt->papFldDes[stringoutRecordOMSL]->offset = (
unsigned short)((
char *)&prec->
omsl - (
char *)prec);
295 prt->papFldDes[stringoutRecordOUT]->size =
sizeof(prec->
out);
296 prt->papFldDes[stringoutRecordOUT]->offset = (
unsigned short)((
char *)&prec->
out - (
char *)prec);
297 prt->papFldDes[stringoutRecordMPST]->size =
sizeof(prec->
mpst);
298 prt->papFldDes[stringoutRecordMPST]->offset = (
unsigned short)((
char *)&prec->
mpst - (
char *)prec);
299 prt->papFldDes[stringoutRecordAPST]->size =
sizeof(prec->
apst);
300 prt->papFldDes[stringoutRecordAPST]->offset = (
unsigned short)((
char *)&prec->
apst - (
char *)prec);
301 prt->papFldDes[stringoutRecordSIOL]->size =
sizeof(prec->
siol);
302 prt->papFldDes[stringoutRecordSIOL]->offset = (
unsigned short)((
char *)&prec->
siol - (
char *)prec);
303 prt->papFldDes[stringoutRecordSIML]->size =
sizeof(prec->
siml);
304 prt->papFldDes[stringoutRecordSIML]->offset = (
unsigned short)((
char *)&prec->
siml - (
char *)prec);
305 prt->papFldDes[stringoutRecordSIMM]->size =
sizeof(prec->
simm);
306 prt->papFldDes[stringoutRecordSIMM]->offset = (
unsigned short)((
char *)&prec->
simm - (
char *)prec);
307 prt->papFldDes[stringoutRecordSIMS]->size =
sizeof(prec->
sims);
308 prt->papFldDes[stringoutRecordSIMS]->offset = (
unsigned short)((
char *)&prec->
sims - (
char *)prec);
309 prt->papFldDes[stringoutRecordOLDSIMM]->size =
sizeof(prec->
oldsimm);
310 prt->papFldDes[stringoutRecordOLDSIMM]->offset = (
unsigned short)((
char *)&prec->
oldsimm - (
char *)prec);
311 prt->papFldDes[stringoutRecordSSCN]->size =
sizeof(prec->
sscn);
312 prt->papFldDes[stringoutRecordSSCN]->offset = (
unsigned short)((
char *)&prec->
sscn - (
char *)prec);
313 prt->papFldDes[stringoutRecordSDLY]->size =
sizeof(prec->
sdly);
314 prt->papFldDes[stringoutRecordSDLY]->offset = (
unsigned short)((
char *)&prec->
sdly - (
char *)prec);
315 prt->papFldDes[stringoutRecordSIMPVT]->size =
sizeof(prec->
simpvt);
316 prt->papFldDes[stringoutRecordSIMPVT]->offset = (
unsigned short)((
char *)&prec->
simpvt - (
char *)prec);
317 prt->papFldDes[stringoutRecordIVOA]->size =
sizeof(prec->
ivoa);
318 prt->papFldDes[stringoutRecordIVOA]->offset = (
unsigned short)((
char *)&prec->
ivoa - (
char *)prec);
319 prt->papFldDes[stringoutRecordIVOV]->size =
sizeof(prec->
ivov);
320 prt->papFldDes[stringoutRecordIVOV]->offset = (
unsigned short)((
char *)&prec->
ivov - (
char *)prec);
321 prt->rec_size =
sizeof(*prec);
char name[61]
Record Name.
struct processNotifyRecord * ppnr
pprocessNotifyRecord
epicsUInt8 rpro
Reprocess.
epicsUInt8 putf
dbPutField process
epicsUInt8 bkpt
Break Point.
ELLLIST mlis
Monitor List.
epicsCallback * simpvt
Sim. Mode Private.
DBLINK out
Output Specification.
epicsEnum16 stat
Alarm Status.
epicsEnum16 sevr
Alarm Severity.
char namsg[40]
New Alarm Message.
char amsg[40]
Alarm Message.
epicsEnum16 simm
Simulation Mode.
char oval[40]
Previous Value.
char ivov[40]
INVALID output value.
epicsMutexId mlok
Monitor lock.
epicsEnum16 acks
Alarm Ack Severity.
Declaration of stringout record type.
LIBCOM_API void cantProceed(const char *errorMessage,...) EPICS_PRINTF_STYLE(1
Suspend this thread, the caller cannot continue or return.
DBLINK flnk
Forward Process Link.
The core data types used by epics.
epicsEnum16 oldsimm
Prev. Simulation Mode.
epicsEnum16 pini
Process at iocInit.
epicsUInt8 tpro
Trace Processing.
struct processNotify * ppn
pprocessNotify
ELLLIST bklnk
Backwards link tracking.
epicsUInt64 utag
Time Tag.
epicsEnum16 nsta
New Alarm Status.
epicsInt16 disv
Disable Value.
Routines for code that can't continue or return after an error.
struct lockRecord * lset
Lock Set.
epicsEnum16 nsev
New Alarm Severity.
epicsEnum16 udfs
Undefined Alarm Sevrty.
epicsFloat64 sdly
Sim. Mode Async Delay.
State string "Always".
DBLINK siol
Simulation Output Link.
void * dpvt
Device Private.
DBLINK sdis
Scanning Disable.
epicsEnum16 diss
Disable Alarm Sevrty.
epicsUInt8 pact
Record active.
EPICS time stamp, for use from C code.
A doubly-linked list library.
DBLINK dol
Desired Output Link.
epicsUInt8 proc
Force Processing.
struct asgMember * asp
Access Security Pvt.
epicsEnum16 apst
Post Archive Monitors.
epicsEnum16 sims
Simulation Mode Severity.
char asg[29]
Access Security Group.
DBLINK siml
Simulation Mode Link.
epicsUInt8 disp
Disable putField.
DBLINK tsel
Time Stamp Link.
epicsEnum16 scan
Scan Mechanism.
APIs for the epicsMutex mutual exclusion semaphore.
epicsEnum16 dtyp
Device Type.
struct dbRecordType * rdes
Address of dbRecordType.
char val[40]
Current Value.
#define epicsExportRegistrar(fun)
Declare a registrar function for exporting.
epicsEnum16 ivoa
INVALID output action.
stringoutPOST
Enumerated type from menu stringoutPOST.
epicsUInt8 lcnt
Lock Count.
unambiguous_dset * dset
DSET address.
struct typed_rset * rset
Address of RSET.
epicsEnum16 prio
Scheduling Priority.
EPICS time-stamps (epicsTimeStamp), epicsTime C++ class and C functions for handling wall-clock times...
epicsEnum16 sscn
Sim. Mode Scan.
struct scan_element * spvt
Scan Private.
epicsEnum16 omsl
Output Mode Select.
epicsInt16 phas
Scan Phase.
epicsEnum16 mpst
Post Value Monitors.
epicsInt16 tse
Time Stamp Event.
struct epicsMutexParm * epicsMutexId
An identifier for an epicsMutex for use with the C API.
epicsEnum16 ackt
Alarm Ack Transient.
State string "On Change".