EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  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  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: LabVIEW EPICS Communication on ports other than 5064? [SEC=UNOFFICIAL]
From: "Martin L. Smith" <[email protected]>
To: "BUTTON, David" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 06 Nov 2013 10:03:09 -0600
Hi David,

I was just dealing with this issue yesterday and for the past few weeks.
You only need to set the system environment variables there are is nothing
in the vi to set other than PV names.

My issues over the last few weeks:
I have a soft IOC running under Linux on a host machine with I would guess about
60 IOCs running on it. One thing is that every time you start the IOC it will
get a new port number assigned to it.

The issues that I have been dealing with is that it appears that after about 1
week of operation the Labview CA client seems to do a disconnect for some
reason that I do not know yet.  So, every Friday for the past few weeks at
exactly 9:25 am this would happen. Then the Labview CA client would start
issuing CA search requests again and not be able to connect to the IOC.
Presumably because there are many other IOCs running on the same IP address.

I have now forced the Labview PXI chassis to send its CA search requests to a
PV gateway since the PV gateway will keep the CA connection open while the
Labview CA client does its shutdown and reconnect. I'm now expecting the
CA search requests to be answered by the PV gateway and hopefully my problem
will simply go away.

So, in your case if you are running soft IOCs I would recommend that you use
a PV gateway as well. At least I think that this is what you were asking and
if not then at least now everyone knows about this issue.

Marty

On 11/06/13 07:41, BUTTON, David wrote:
Hello Carsten,

Thank you for your reply. Could you please confirm for me that this is done by
adding the environment variable to windows via the Windows Advance System
Properties > Environment Variables, or is there another configuration file
located somewhere that the CALab vi's refer to?

I have also got the extra problem that there are PV's on different IOC's which I
want to access but they have all been setup to different ports. Can you list
multiple ports, or do you have to manipulate the variable dynamically in code to
change the port number for each IOC?

Kind Regards,

David
--------------------------------------------------------------------------------
*From:* Carsten Winkler [[email protected]]
*Sent:* Wednesday, 6 November 2013 7:05 PM
*To:* BUTTON, David; [email protected]
*Subject:* Re: LabVIEW EPICS Communication on ports other than 5064?
[SEC=UNCLASSIFIED:For-Official-Use-Only]

Hello Dave,

please set the environment variable EPICS_CA_SERVER_PORT for all systems with
running CA Lab clients and they will connect.
You're right, CA Lab runs only on Windows and Linux PCs but not on real-time
controllers.
God luck with the EPICS IO Server.

Regards,
Carsten

Am 06.11.2013 08:26, schrieb BUTTON, David:

Hello,

Locally our EPICS control system has been modified so that the several IOC
servers which are running of the computer we call control have had their
EPICS_CA_SERVER_PORT variable set to values other than 5064, ie 49200 and
49212... Needles to say that both the EPICS IO Server native to LabVIEW is now
unable to access the PV's, and likewise the CALab vi's can no longer access
them either. I am unable to discover if there is a way to change the "port
number" so that I can get either the NI or CALabs vi's working again. The
native I/O server is important as it runs on the real-time controllers where I
believe the CA Lab vi’s can only run on a windows application. I am only
recently started down this path of LabVIEW EPICS communications, and would
greatly appreciate input.

Thanks in advance,

Dave



--------------------------------------------------------------------------------

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv.
Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


References:
RE: LabVIEW EPICS Communication on ports other than 5064? [SEC=UNOFFICIAL] BUTTON, David

Navigate by Date:
Prev: RE: LabVIEW EPICS Communication on ports other than 5064? [SEC=UNOFFICIAL] BUTTON, David
Next: Re: LabVIEW EPICS Communication on ports other than 5064? [SEC=UNCLASSIFIED:For-Official-Use-Only] Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: LabVIEW EPICS Communication on ports other than 5064? [SEC=UNOFFICIAL] BUTTON, David
Next: CAEN HV SY2527 : "undefined reference" for EPICS Sanguk Won
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024