Hi,
I have a problem when I use procServ .It can works:
[root@localhost iocmyexample]# procServ -n "my-ioc" -L my-ioc.log -P 8888 -i "^D^C" /usr/local/EPICS/iocs/iocBoot/iocmyexample/st.cmd
procServ: spawning daemon process: 18044
[root@localhost iocmyexample]# ps aux | grep procServ
root 18044 0.0 0.0 16928 1268 ? Ss 22:47 0:00 procServ -n my-ioc -L my-ioc.log -P 8888 -i ^D^C /usr/local/EPICS/iocs/iocBoot/iocmyexample/st.cmd
root 18093 0.0 0.0 112816 972 pts/1 R+ 22:47 0:00 grep --color=auto procServ
[root@localhost iocmyexample]# caget ewen:aiExample1
ewen:aiExample1 6
[root@localhost iocmyexample]# caget ewen:aiExample1
ewen:aiExample1 0
[root@localhost iocmyexample]# caget ewen:aiExample1
ewen:aiExample1 4
[root@localhost iocmyexample]#
My phoebus setting.ini is::
org.phoebus.pv.ca/addr_list=192.168.238.134:8888
org.phoebus.pv.ca/auto_addr_list=false
It cannot read the value ewen:aiExample1, but when I close the procServ and change the addr_list to org.phoebus.pv.ca/addr_list=192.168.238.134:5064 ,it works well.
Here the log:
@@@ Restarting child "my-ioc"
@@@ (as /usr/local/EPICS/iocs/iocBoot/iocmyexample/st.cmd)
@@@ The PID of new child "my-ioc" is: 18051
@@@ @@@ @@@ @@@ @@@
#!../../bin/linux-x86_64/myexample
< envPaths
epicsEnvSet("IOC","iocmyexample")
epicsEnvSet("TOP","/usr/local/EPICS/iocs")
epicsEnvSet("EPICS_BASE","/usr/local/EPICS/base")
cd "/usr/local/EPICS/iocs"
## Register all support components
dbLoadDatabase "dbd/myexample.dbd"
myexample_registerRecordDeviceDriver pdbbase
## Load record instances
dbLoadTemplate "db/user.substitutions"
dbLoadRecords "db/myexampleVersion.db", "user=ewen"
dbLoadRecords "db/dbSubExample.db", "user=ewen"
#var mySubDebug 1
#traceIocInit
cd "/usr/local/EPICS/iocs/iocBoot/iocmyexample"
iocInit
Starting iocInit
############################################################################
## EPICS R7.0.3.1
## EPICS Base built Dec 16 2022
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncExample, "user=ewen"
[?1034hepics>
Please help me how can I do .
Best Regards,
Ewen
从 Windows 版邮件发送