|
|
Experimental Physics and
| ||||||||||||||||
|
|
Hi Michael,
I did the whole test again after adding a CA link to "myCommand:just4TestACF" in my first softIOC. Both dbCa and asCa cannot connect if my network is turned off at the beginning.
You mentioned that EPICS_CA_AUTO_ADDR_LIST (and EPICS_CA_ADDR_LIST) is evaluated once at startup. That is a very point. So, I did one more test by setting EPICS_CA_ADDR_LIST to a broadcast IP, i.e. 192.168.12.255 (EPICS_CA_AUTO_ADDR_LIST seems Okay with either YES or NO) $ softIoc -d test.db -a default.acf asSetFilename: Warning - relative paths won't usually work
Starting iocInit
############################################################################
## EPICS R7.0.5
## Rev. 2021-05-13T07:10-0400
############################################################################
CAC: error = "Network is unreachable" sending UDP msg to 192.168.12.255:5064
Warning: RSRV has empty beacon address list
iocRun: All initialization complete
...
epics> epicsParamShow EPICS_CA_ADDR_LIST: 192.168.12.255
EPICS_CA_CONN_TMO: 30.0
EPICS_CA_AUTO_ADDR_LIST: YES
Now, both dbCa and asCa automatically connect once my network is turned on.
epics> ascar
1 channels 0 not connected
epics> dbcar
CA links in all records
Total 4 CA links; 4 connected, 0 not connected.
0 can't read, 0 can't write. (0 disconnects, 0 writes prohibited)
epics> casr 1
Channel Access Server V4.13
1 client connected:
TCP client at 192.168.12.44:61165 'wps-168932.lan':
User 'yonghu', V4.13, Priority = 0, 1 Channel
CAS-TCP server on 0.0.0.0:5064 with
CAS-UDP name server on 0.0.0.0:5064
Sending CAS-beacons to 0 addresses:
Érico, you have two ways to fix the ACF connection issue: add EPICS_CA_ADDR_LIST to your IOC's environment variable; OR make sure your network is ready before your IOCs start up.
Cheers, Yong
| ||||||||||||||||
| ANJ, 19 Mar 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
· Distributions · Download · Documents · Links · Licensing · |