ISIS Logo
ISISBEAM
ISIS Beam Information
beamline.template
Go to the documentation of this file.
1 ## @file
2 ## Define beamline information
3 
4 # % macro, P, device prefix
5 # % macro, BL, beamline
6 # % macro, INST, instrument on this beamline
7 # % macro, INST2, second instrument on this beamline
8 # % macro, INST3, third instrument on this beamline
9 # % macro, IFINST2, indicates second instrument on this beamline
10 # % macro, IFINST3, indicates third instrument on this beamline
11 
12 ## Status of shutter on beamline
13 record(stringin, "$(P)BL:$(BL):SHUTTER:STATUS")
14 {
15  field(DTYP, "asynOctetRead")
16  field(INP, "@asyn(isisbeam,0,0)SHUT_$(BL)")
17  field(SCAN, "I/O Intr")
18  field(SDIS, "$(P)ISISBEAM:DISABLE")
19  field(DESC, "Shutter status on $(BL)")
20 }
21 
22 ## Alias of beamline shutter status for instrument
23 alias("$(P)BL:$(BL):SHUTTER:STATUS","$(P)IN:$(INST):SHTR:STAT")
24 ## Alias of beamline shutter status for instrument
25 $(IFINST2)alias("$(P)BL:$(BL):SHUTTER:STATUS","$(P)IN:$(INST2):SHTR:STAT")
26 ## Alias of beamline shutter status for instrument
27 $(IFINST3)alias("$(P)BL:$(BL):SHUTTER:STATUS","$(P)IN:$(INST3):SHTR:STAT")
28 
29 ## Mode of shutter on beamline
30 record(stringin, "$(P)BL:$(BL):SHUTTER:MODE")
31 {
32  field(DTYP, "asynOctetRead")
33  field(INP, "@asyn(isisbeam,0,0)SMODE_$(BL)")
34  field(SCAN, "I/O Intr")
35  field(SDIS, "$(P)ISISBEAM:DISABLE")
36  field(DESC, "Shutter mode on $(BL)")
37 }
38 
39 ## Alias of beamline shutter mode for instrument
40 alias("$(P)BL:$(BL):SHUTTER:MODE","$(P)IN:$(INST):SHTR:MODE")
41 ## Alias of beamline shutter mode for instrument
42 $(IFINST2)alias("$(P)BL:$(BL):SHUTTER:MODE","$(P)IN:$(INST2):SHTR:MODE")
43 ## Alias of beamline shutter mode for instrument
44 $(IFINST3)alias("$(P)BL:$(BL):SHUTTER:MODE","$(P)IN:$(INST3):SHTR:MODE")
45 
46 ## Status of VAT value on beamline
47 record(stringin, "$(P)BL:$(BL):VAT:STAT")
48 {
49  field(DTYP, "asynOctetRead")
50  field(INP, "@asyn(isisbeam,0,0)VAT_$(BL)")
51  field(SCAN, "I/O Intr")
52  field(SDIS, "$(P)ISISBEAM:DISABLE")
53  field(DESC, "VAT value status on $(BL)")
54 }
55 
56 ## Alias of beamline VAT value for instrument
57 alias("$(P)BL:$(BL):VAT:STAT","$(P)IN:$(INST):VAT:STAT")
58 ## Alias of beamline VAT value for instrument
59 $(IFINST2)alias("$(P)BL:$(BL):VAT:STAT","$(P)IN:$(INST2):VAT:STAT")
60 ## Alias of beamline VAT value for instrument
61 $(IFINST3)alias("$(P)BL:$(BL):VAT:STAT","$(P)IN:$(INST3):VAT:STAT")
pattern P
pattern IFINST2
alias("$(P)BL:$(BL):SHUTTER:STATUS","$(P)IN:$(INST):SHTR:STAT")
Alias of beamline shutter status for instrument.
pattern BL
pattern IFINST3
record(stringin,"$(P)BL:$(BL):SHUTTER:STATUS")
Status of shutter on beamline.
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5