EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS BOY saying EPICS PV is disconnected even though to can be read through the terminal with no issues
From: Adam Gluck <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 19 Aug 2011 09:48:10 -0500
Hello Kay,

Thanks for the advice but setting the IP address did not help, I am just trying to access the variables on my own machine and have tried localhost and 127.0.0.1. I did try the logging method and saw at first I was not linking correctly to a shared library, but was able to fix the and no longer have the error. I don't see any error message about the PV other then it saying it is disconnected. I am attaching my log file to see if that might help. Thanks once again for the help.

Cheers,

Adam Gluck | Applications Engineer | National Instruments





From:        "Kasemir, Kay" <[email protected]>
To:        Adam Gluck <[email protected]>, "[email protected]" <[email protected]>
Date:        08/18/2011 12:16 PM
Subject:        Re: EPICS BOY saying EPICS PV is disconnected even though to can be read through the terminal with no issues




Hi again:

Check the menu CSS/Preferences/CSS Core/EPICS for the auto addr. list and
addr list settings.

How do the settings compare to the EPICS_CA_*_ADDR_LIST environment
variables used by the command-line caget?

What if you de-select auto_addr_list and set the address list to the IP of
one of your IOCs? Do you then see the PVs on there?

What if you de-select auto_addr_list and set the address list to the IP of a
broadcast address that includes one of your IOCs?

Thanks,
Kay

On 8/18/11 13:14 , "Kay Kasemir" <[email protected]> wrote:
> Hi:
>
> On 8/18/11 12:28 , "Adam Gluck" <[email protected]> wrote:
>
>> Hello All,
>>
>> I have set up EPICS on a Scientific Linux 5.5 computer with the
>> 2.6.18-238.9.1.el5 kernel. I am using CSS to try and read the PV back in
>> BOY. When I type the PV in the field then run the OPI it will display a
>> disconnected message and no values are read. If I do the call from the
>> terminal I can read the value back with no issue. I have also tried this
>> on a Windows XP machine with the same results. Do you know what steps I
>> could take for further troubleshooting to find out why this is showing
>> disconnected? Or what other information would be helpful is
>> troubleshooting the problem. Thanks for the help.
>>
>> Cheers,
>>
>> Adam Gluck | Applications Engineer | National Instruments
>>


!SESSION 2011-08-19 09:34:20.628 -----------------------------------------------
eclipse.buildId=SNS_CSS
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -consoleLog

!ENTRY org.eclipse.core.resources 2 10035 2011-08-19 09:34:27.650
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
2011-08-19 09:34:28.739 INFO [Thread 10] org.csstudio.auth.internal.usermanagement.LoginContext (login) - Anonymous login
2011-08-19 09:35:01.155 WARNING [Thread 10] org.csstudio.opibuilder.util.MediaService (loadColorFile) - Failed to read color definition file.
java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
        at org.csstudio.opibuilder.util.ResourceUtil.openURLStream(Unknown Source)
        at org.csstudio.opibuilder.util.ResourceUtil.pathToInputStream(Unknown Source)
        at org.csstudio.opibuilder.util.MediaService.loadColorFile(Unknown Source)
        at org.csstudio.opibuilder.util.MediaService.<init>(Unknown Source)
        at org.csstudio.opibuilder.util.MediaService.getInstance(Unknown Source)
        at org.csstudio.opibuilder.properties.FontProperty.<init>(Unknown Source)
        at org.csstudio.opibuilder.model.AbstractWidgetModel.configureBaseProperties(Unknown Source)
        at org.csstudio.opibuilder.model.AbstractContainerModel.configureBaseProperties(Unknown Source)
        at org.csstudio.opibuilder.model.AbstractWidgetModel.<init>(Unknown Source)
        at org.csstudio.opibuilder.model.AbstractContainerModel.<init>(Unknown Source)
        at org.csstudio.opibuilder.model.DisplayModel.<init>(Unknown Source)
        at org.csstudio.opibuilder.editor.OPIEditor.initDisplayModel(Unknown Source)
        at org.csstudio.opibuilder.editor.OPIEditor.createGraphicalViewer(Unknown Source)
        at org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(GraphicalEditor.java:171)
        at org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.createPartControl(GraphicalEditorWithFlyoutPalette.java:75)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1429)
        at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.csstudio.utility.product.Workbench.runWorkbench(Unknown Source)
        at org.csstudio.startup.application.Application.startApplication(Unknown Source)
        at org.csstudio.startup.application.Application.start(Unknown Source)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

2011-08-19 09:35:22.464 WARNING [Thread 10] org.csstudio.opibuilder.util.MediaService (loadFontFile) - Failed to read font definition file.
java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
        at org.csstudio.opibuilder.util.ResourceUtil.openURLStream(Unknown Source)
        at org.csstudio.opibuilder.util.ResourceUtil.pathToInputStream(Unknown Source)
        at org.csstudio.opibuilder.util.MediaService.loadFontFile(Unknown Source)
        at org.csstudio.opibuilder.util.MediaService.<init>(Unknown Source)
        at org.csstudio.opibuilder.util.MediaService.getInstance(Unknown Source)
        at org.csstudio.opibuilder.properties.FontProperty.<init>(Unknown Source)
        at org.csstudio.opibuilder.model.AbstractWidgetModel.configureBaseProperties(Unknown Source)
        at org.csstudio.opibuilder.model.AbstractContainerModel.configureBaseProperties(Unknown Source)
        at org.csstudio.opibuilder.model.AbstractWidgetModel.<init>(Unknown Source)
        at org.csstudio.opibuilder.model.AbstractContainerModel.<init>(Unknown Source)
        at org.csstudio.opibuilder.model.DisplayModel.<init>(Unknown Source)
        at org.csstudio.opibuilder.editor.OPIEditor.initDisplayModel(Unknown Source)
        at org.csstudio.opibuilder.editor.OPIEditor.createGraphicalViewer(Unknown Source)
        at org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(GraphicalEditor.java:171)
        at org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.createPartControl(GraphicalEditorWithFlyoutPalette.java:75)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
        at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1429)
        at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.csstudio.utility.product.Workbench.runWorkbench(Unknown Source)
        at org.csstudio.startup.application.Application.startApplication(Unknown Source)
        at org.csstudio.startup.application.Application.start(Unknown Source)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

2011-08-19 09:38:17.191 CONFIG [Thread 10] org.csstudio.utility.pv.PVFactory (initialize) - PV prefix ca provided by EPICS PVFactory in org.csstudio.utility.pv.epics
2011-08-19 09:38:17.193 CONFIG [Thread 10] org.csstudio.utility.pv.PVFactory (initialize) - PV prefix epics provided by EPICS PVFactory in org.csstudio.utility.pv.epics
2011-08-19 09:38:17.203 CONFIG [Thread 10] org.csstudio.utility.pv.PVFactory (initialize) - PV prefix sim provided by Simulated PV in org.csstudio.utility.pv.simu
2011-08-19 09:38:17.210 CONFIG [Thread 10] org.csstudio.utility.pv.PVFactory (initialize) - PV prefix loc provided by Local PV in org.csstudio.utility.pv.simu
2011-08-19 09:38:17.223 CONFIG [Thread 10] org.csstudio.utility.pv.PVFactory (initialize) - PV prefix sys provided by System PV in org.csstudio.utility.pv.simu
2011-08-19 09:38:17.227 CONFIG [Thread 10] org.csstudio.utility.pv.PVFactory (initialize) - PV prefix const provided by Constant PV in org.csstudio.utility.pv.simu
2011-08-19 09:38:17.268 CONFIG [Thread 10] org.csstudio.utility.pv.epics.PVContext (initJCA) - Initializing JCA (pure Java)



Replies:
RE: EPICS BOY saying EPICS PV is disconnected even though to can beread through the terminal with no issues Mark Rivers
References:
Re: EPICS BOY saying EPICS PV is disconnected even though to can be read through the terminal with no issues Kasemir, Kay
Re: EPICS BOY saying EPICS PV is disconnected even though to can be read through the terminal with no issues Kasemir, Kay

Navigate by Date:
Prev: RE: question about ca_get, ca_pend_io timeout in EPICS client withWindows XP multi-threading Mark Rivers
Next: RE: EPICS BOY saying EPICS PV is disconnected even though to can beread through the terminal with no issues Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS BOY saying EPICS PV is disconnected even though to can be read through the terminal with no issues Kasemir, Kay
Next: RE: EPICS BOY saying EPICS PV is disconnected even though to can beread through the terminal with no issues Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·