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: Fw: Alarm Handler
From: Swati Soni2 <[email protected]>
To: <[email protected]>
Date: Thu, 28 Nov 2013 16:06:04 +0530
Thanks a lot Robert!!!

I started using latest version i.e. 33....everything has resolved but on compiling got only one error:


make -C O.linux-x86_64 -f ../Makefile TOP=../../.. T_A=linux-x86_64 install
make[1]: Entering directory `/home/epics/base-3.14.12.3/extensions/src/O.linux-x86_64'
make[1]: *** No rule to make target `../../../lib/linux-x86_64/libXmu.a', needed by `alh'.  Stop.
make[1]: Leaving directory `/home/epics/base-3.14.12.3/extensions/src/O.linux-x86_64'
make: *** [install.linux-x86_64] Error 2


Thanks & Regards
Swati Soni



From: Robert Soliday <[email protected]>
To: <[email protected]>
Date: 11/27/2013 09:18 PM
Subject: Re: Fw: Alarm Handler
Sent by: [email protected]





That error was removed back in 2009. You are using a very old version of the alarm handler.

../force.c:1028:21: error: ‘YES’ undeclared (first use in this function)

 pforcePV->disabled=YES;


This can be changed to:

pforcePV->disabled=
1;

Everything else just looks like warnings.

--Bob Soliday


On 11/27/13 06:08, Swati Soni2 wrote:




As suggested, I have installed motif...but again on compiling it shows this error:



../alLog.c: In function ‘filePrintf’:

../alLog.c:440:7: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]

  int status;

      ^

../awAlh.c: In function ‘startDrag’:

../awAlh.c:472:5: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]

int status, n;

    ^

../awAlh.c: In function ‘drag’:

../awAlh.c:511:5: warning: variable ‘stat’ set but not used [-Wunused-but-set-variable]

int stat;

    ^

../awView.c: In function ‘singleClickArrowGroupW_callback’:

../awView.c:297:21: warning: variable ‘treeWindow’ set but not used [-Wunused-but-set-variable]

 struct subWindow  *treeWindow;

                    ^

../axSubW.c: In function ‘exposeResizeCallback’:

../axSubW.c:396:12: warning: variable ‘oldViewHeight’ set but not used [-Wunused-but-set-variable]

 Dimension oldViewHeight;

           ^

../browser.c: In function ‘callBrowser’:

../browser.c:71:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]

 int status;

     ^

../current.c: In function ‘currentAlarmHistoryWindow’:

../current.c:53:21: warning: variable ‘title’ set but not used [-Wunused-but-set-variable]

 Widget popup_shell,title,button;

                    ^

../dialog.c: In function ‘errMsg’:

../dialog.c:277:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]

    size_t len;

           ^

../force.c: In function ‘alForcePVSetNotConnected’:

../force.c:985:19: warning: variable ‘pcalc’ set but not used [-Wunused-but-set-variable]

    FORCEPV_CALC* pcalc;

                  ^

../force.c: In function ‘forcePVUpdateFields’:

../force.c:1028:21: error: ‘YES’ undeclared (first use in this function)

 pforcePV->disabled=YES;

                    ^

../force.c:1028:21: note: each undeclared identifier is reported only once for each function it appears in

make[1]: *** [force.o] Error 1

make: *** [install.linux-x86_64] Error 2



Thanks & Regards
Swati Soni



From: Pierrick Hanlet <[email protected]>
To: Swati Soni2 <[email protected]>
Date: 11/27/2013 04:46 PM
Subject: Re: Alarm Handler






Hi Swati,
You may end up with several of these errors.  Your best bet to is use yum to pick up the
appropriate libraries to which you will need to link.  You will need the "devel" versions
so that you pick up the header files ".h".  For this header file, you will need openmotif.

As an example:
> yum list "*motif*"
will list what you have installed and what there is in the repositories to install
You should see openmotif-devel.i686 which is not installed.

> yum install openmotif-devel
This should take care of the first header file error.
Pierrick


On 11/27/2013 10:50 AM, Swati Soni2 wrote:

Thanks Janet..
But I was using alh_1_24 for Alarm handler for base 3.14.12.3.


I had created extension directory into which I copied the content of alh_1_24 and renamed it as src as described in
http://www.aps.anl.gov/epics/extensions/config/index.php

When I compiled it (by make on src), it got terminated ...fatal error: Xm/Xm.h :No such File or directory



Thanks & Regards
Swati Soni


From: "Anderson, Janet B." <[email protected]>
To: Swati Soni2 <[email protected]>, "[email protected]" <[email protected]>
Date: 11/26/2013 08:57 PM
Subject: RE: Alarm Handler







The
optional ALARMHANDLER environment variable should specify the directory where your Alarm Handler input configuration files reside and where the Alarm Handler output log files should be written.  The PATH  environment variable should include the directory of the alarm handler executable.

Janet



From:
[email protected] [[email protected]] on behalf of Swati Soni2 [[email protected]]
Sent:
Tuesday, November 26, 2013 6:04 AM
To:
[email protected]
Subject:
Fw: Alarm Handler






Hi


I am using EPICS 3.14.12.3 on fedora..I want to install Alarm handler extension.

Can anyone tell me how to set environment ?


I had used
              setenv ALARMHANDLER /<path name of alh1_3_31>
Bt it throws error commnad not found....Is there any other command to get it installed??


I am following
http://www.aps.anl.gov/epics/EpicsDocumentation/ExtensionsManuals/AlarmHandler/alhUserGuide-1.2.33/ALHUserGuide.html

Thanks & Regards
Swati Soni


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet

IIT/Fermilab
+44-(0)1235-44-5550 (RAL)
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-(0)79-48-860-197 (US/UK mobile)






Replies:
Re: Fw: Alarm Handler Robert Soliday

Navigate by Date:
Prev: Re: Alarm Handler Jack
Next: Re: Increasing scan rate to 10 kHz Benjamin Franksen
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: Alarm Handler Jack
Next: Re: Fw: Alarm Handler Robert Soliday
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