Open KathrynBaker opened 5 years ago
The pv names are currently set by commands of the form
CAENx527ConfigureCreate "hv0", "ip.address"
CAENx527DbLoadRecords("P=$(MYPVPREFIX)CAEN")
in st.cmd so it should just be a matter of changing these. Could an instrument have more than one hv crate? In which case maybe we need to leave hv0, hv1 etc and just put the instrument name in the P macro
New driver uses in st.cmd:
$(IFIP0Present) CAENHVAsynSetEpicsPrefix("$(MYPVPREFIX)$(IOCNAME):HV0:")
$(IFIP0Present) CAENHVAsynConfig("HV0",$(SYS_TYPE_0),"$(IP_ADDRESS_0)"...
Maybe replace HV0, HV1 with a macro from config.xml
As a person supporting detector systems at ISIS I'd like to easily see which crate the values relate to with a friendlier name than
hv0
Acceptance criteria
CAEN:INST:0:0:{PV}
rather thatCAEN:hv0:0:0:{PV}
Notes