1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Accessing IOC on different subnet |
From: | "Bhavna N. Merh via Tech-talk" <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | [email protected] |
Date: | Wed, 27 Nov 2019 15:29:43 +0530 |
Hello, The responses are : For windows PC- APPDATA=C:\Users\Admin\AppData\RoamingCATOOLS=C:\Program Files (x86)\National Instruments\LabVIEW 2016\user.lib\caLab\lib
CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=BL09-BACKUP-PC ComSpec=C:\WINDOWS\system32\cmd.exe DriverData=C:\Windows\System32\Drivers\DriverData EPICS_CA_ADDR_LIST=192.168.1.25 EPICS_CA_AUTO_ADDR_LIST=NO For CentOS PC- EPICS_CA_ADDR_LIST: localhost EPICS_CA_CONN_TMO: 30.0 EPICS_CA_AUTO_ADDR_LIST: NO EPICS_CA_REPEATER_PORT: 5065 EPICS_CA_SERVER_PORT: 5064 EPICS_CA_MAX_ARRAY_BYTES: 6000000 EPICS_CA_MAX_SEARCH_PERIOD: 300.0 EPICS_CA_NAME_SERVERS is undefined EPICS_CAS_INTF_ADDR_LIST: localhost EPICS_CAS_IGNORE_ADDR_LIST is undefined EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined EPICS_CAS_BEACON_ADDR_LIST is undefined EPICS_CAS_SERVER_PORT is undefined EPICS_CA_BEACON_PERIOD: 15.0 EPICS_CAS_BEACON_PERIOD is undefined EPICS_CAS_BEACON_PORT is undefined EPICS_TIMEZONE: CST/CDT::360:030802:110102 EPICS_TS_NTP_INET is undefined EPICS_IOC_LOG_PORT: 7004 EPICS_IOC_LOG_INET is undefined EPICS_IOC_LOG_FILE_LIMIT: 1000000 EPICS_IOC_LOG_FILE_NAME is undefined EPICS_IOC_LOG_FILE_COMMAND is undefined EPICS_CMD_PROTO_PORT is undefined EPICS_AR_PORT: 7002 IOCSH_PS1: epics> IOCSH_HISTSIZE: 50 -Bhavna On 27-11-2019 10:27, Mark Rivers wrote:
Hi Bhavna, It seems to me that the setup you describe should work without setting the EPICS environment variables at all. The IOC on B should make its PVs available on both subnets. At the IOC prompt on B type epicsPrtEnvParams and send the output. On C type “set” and send the results for any environment variables starting with EPICS. Are the subnet masks all set correctly? It looks like they should be 255.255.255.0. Mark Sent from my iPhoneOn Nov 26, 2019, at 9:22 PM, Bhavna N. Merh via Tech-talk <[email protected]> wrote:I have a device (say A) and 2 PCs (B and C) B a CentOS 7 PC has 2 NICs. C is a windows 10 PC.A and B are on one subnet (IP addr of both respectively: 192.168.0.2 and 192.168.0.1)B and C are on another subnet (IP addr: 192.168.1.23 and 192.168.1.25) The IOC runs on B and gathers data from device A.I am unable to access the PVs from C. caget says channel connection timeout. (All firewalls are disabled)Suggest what to write in EPICS_CA_ADDR_LIST and where. Bhavna N. Merh Scientific Officer, Accelerator Control Systems Division Raja Ramanna Centre for Advanced Technology Indore, Madhya Pradesh, India -452013 Ph:(0731)248-8055 "Complexity comes for free, Simplicity you have to work for."