File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1515KNOWN_DEVICES = "PSE_MAC_MOT VM_EPICS_M1 VM_EPICS_PV VM_EPICS_SC" .split ()
1616
1717
18- class SpecDeviceBase (object ):
18+ class SpecDevice (object ):
1919 """
2020 SPEC configuration of a device, such as a multi-channel motor controller
21+
22+ SPEC "devices" are components which counters or motors to controllers
2123 """
2224
2325 def __init__ (self , config_text ):
@@ -153,6 +155,9 @@ def ophyd_config(self):
153155class SpecCounter (ItemNameBase ):
154156 """
155157 SPEC configuration of a counter channel
158+
159+ In SPEC's config file, a single PV signal is described as a counter,
160+ attached to an EPICS_PV (as described by a VM_EPICS_PV device).
156161 """
157162
158163 def __init__ (self , config_text ):
@@ -237,7 +242,7 @@ def read_config(self, config_file=None):
237242
238243 word0 = line .split (sep = "=" , maxsplit = 1 )[0 ].strip ()
239244 if word0 in KNOWN_DEVICES :
240- device = SpecDeviceBase (line )
245+ device = SpecDevice (line )
241246 if device .name not in self .devices :
242247 self .devices [device .name ] = []
243248 # 0-based numbering
You can’t perform that action at this time.
0 commit comments