File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1212
1313
1414CONFIG_FILE = 'config-8idi'
15- KNOWN_DEVICES = "PSE_MAC_MOT VM_EPICS_M1 VM_EPICS_SC" .split ()
15+ KNOWN_DEVICES = "PSE_MAC_MOT VM_EPICS_M1 VM_EPICS_PV VM_EPICS_SC" .split ()
1616
1717
1818class SpecDeviceBase (object ):
@@ -97,6 +97,10 @@ def setDevice(self, devices):
9797 unit , chan = list (map (int , uc_str .split ("/" )))
9898 self .device = device_list [unit ]
9999 self .pvname = "{}m{}" .format (self .device .prefix , chan )
100+ elif self .cntrl .startswith ("MAC_MOT" ):
101+ pass # TODO:
102+ elif self .cntrl .startswith ("NONE" ):
103+ pass # TODO:
100104
101105
102106class SpecCounter (ItemNameBase ):
@@ -145,6 +149,10 @@ def setDevice(self, devices):
145149 self .device = device_list [self .unit ]
146150 # scalers are goofy, SPEC uses 0-based numbering, scaler uses 1-based
147151 self .pvname = "{}.S{}" .format (self .device .prefix , self .chan + 1 )
152+ elif self .cntrl .startswith ("EPICS_PV" ):
153+ pass # TODO:
154+ elif self .cntrl .startswith ("NONE" ):
155+ pass # TODO:
148156
149157
150158class SpecConfig (object ):
You can’t perform that action at this time.
0 commit comments