13 lines
472 B
Batchfile
13 lines
472 B
Batchfile
require asyn
|
|
require stream
|
|
# Parameterized snippet to load support for the eplue EE31 environmental sensor used at ICON and Neutra.
|
|
|
|
# cmd file needs the macros INSTR, typically capital letter name of the instrument, and
|
|
# and MOXA_ADDR on format hostname:port.
|
|
|
|
epicsEnvSet("PROTO", "$(epluse_DB)epluse.proto")
|
|
|
|
drvAsynIPPortConfigure("$(INSTR)-sps", "$(MOXA_ADDR)",0,0,0)
|
|
|
|
dbLoadRecords("$(epluse_DB)epluse.db", "PREFIX=SQ:$(INSTR), PROTO=$(PROTO), PORT=$(INSTR)-sps")
|