ISIS Logo
INSTETC
INSTETC IOC
inst_real_parameters.template
Go to the documentation of this file.
1 record(ao, "$(P)$(Q)")
2 {
3  field(DESC, "$(DESC)")
4  field(DTYP, "Soft Channel")
5  field(FLNK, "$(P)$(Q):SEND")
6  field(EGU, "$(UNITS)")
7  field(OMSL, "supervisory")
8  field(PREC, 3)
9  info(autosaveFields, "VAL")
10  info(PVCATEGORY, "$(CATEGORY)")
11 }
12 alias("$(P)$(Q)", "$(P)$(Q):SP")
13 
14 # force periodic update of values in case we get out of sync with DAE e.g. program restarts
15 # we use this rather than PINI in above as DAE may not be running when we start this ioc
16 record(bo, "$(P)$(Q):_SP_UPDATE")
17 {
18  field(SCAN, "10 second")
19  field(FLNK, "$(P)$(Q):SP.PROC")
20 }
21 
22 # aSub records must read from links, hence need to create a record
23 # to store data type string for above ao record
24 record(stringout, "$(P)$(Q):TYPE")
25 {
26  field(DESC, "$(DESC) data type")
27  field(DTYP, "Soft Channel")
28  field(VAL, "DOUBLE")
29 }
30 
31 ## Send parameter to ICP.
32 ## $(DESC) must match the parameter name as used within the ISISICP
33 ## NOVA below must match with output DAE waveform size (see substitutions)
34 record(aSub, "$(P)$(Q):SEND")
35 {
36  field(DESC, "Send $(DESC) to ICP")
37  field(SNAM, "stringConcatWithCtrlB")
38  field(FTA, "STRING")
39  field(INPA, "$(P)$(Q):SP.DESC NPP NMS")
40  field(FTB, "STRING")
41  field(INPB, "$(P)$(Q):TYPE.VAL NPP NMS")
42  field(FTC, "STRING")
43  field(INPC, "$(P)$(Q):SP.EGU NPP NMS")
44  field(FTD, "DOUBLE")
45  field(NOD, "1")
46  field(INPD, "$(P)$(Q):SP.VAL NPP NMS")
47  field(FTVA, "CHAR")
48  field(NOVA, "512")
49  field(OUTA, "$(P)$(Q):_SENDV")
50  field(FLNK, "$(P)$(Q):_SENDPV")
51 }
52 
53 record(waveform, "$(P)$(Q):_SENDV")
54 {
55  field(FTVL, "CHAR")
56  field(NELM, "512")
57 }
58 
59 # add $ to PV name to trigger long string support, which gives array of char needed for waveform
60 record(waveform, "$(P)$(Q):_SENDPV")
61 {
62  field(INP, "$(P)$(OUT).NAME$")
63  field(FTVL, "CHAR")
64  field(NELM, "128")
65  field(FLNK, "$(P)$(Q):_SENDQ")
66 }
67 
68 record(aSub, "$(P)$(Q):_SENDQ")
69 {
70  field(SNAM, "queuedPVSet")
71  field(INPA, "$(P)$(Q):_SENDPV NPP")
72  field(FTA, "CHAR")
73  field(NOA, "128")
74  field(INPB, "$(P)$(Q):_SENDV NPP")
75  field(FTB, "CHAR")
76  field(NOB, "512")
77  field(INPC, "5")
78  field(FTC, "DOUBLE")
79  field(NOC, "1")
80 }
alias("$(P)ED:RBNUMBER","$(P)ED:RBNUMBER:SP:RBV")
record(stringin,"$(P)ED:RBNUMBER")
RB number.
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5