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  <20092010  2011  2012  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: list all process variables, linux alarm handler
From: Pierrick Hanlet <[email protected]>
To: Patrick Thomas <[email protected]>
Cc: [email protected]
Date: Sat, 12 Sep 2009 12:49:13 -0500
Hi Patrick,
Someone might correct me, but I don't believe that there is a way
to get a list of the PVs/IOC.  In linux, you can always take the database
ascii file and do a grep on "record".  That will give you a list of all
PVs for that IOC.

As for your second problem, one of my colleagues found this.
You need to add the following lines to add a hack to the alBeep()
function which uses a system command to play a sound file, e.g.:

/* Additional include */
#include <stdlib.h>

int alBeep(Display *displayBB)
{
    /* Additional 'beep' command */
    /* (needs error checking...) */
    system("play /path/to/beep.wav");
  
    XBell(displayBB, 0);
    return 0;
}


-----------------------------------------------------------------------------------------
Pierrick Hanlet
Fermilab, P.O. Box 500, M.S. 122
Batavia, IL 60510
[email protected]
(630)840-5555/8871/6039         office/lab/fax 
http://www-d0.fnal.gov/~hanlet 

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


----- Original Message -----
From: Patrick Thomas <[email protected]>
Date: Saturday, September 12, 2009 3:19 am
Subject: list all process variables, linux alarm handler
To: [email protected]


> Hi,
> 
> I was wondering if there was anyway to get a list of all the process 
> variables currently loaded in all the IOCs. I read that when a request 
> 
> for a particular process variable is made, each IOC gets the request 
> and 
> has to look in its databases to see if it contains it. Is it possible 
> to 
> instead have it return all the process variables it does have?
> 
> I was also wondering if anyone has had trouble getting the sound to 
> work 
> when compiling the alarm handler on Linux?
> 
> Thank you,
> Patrick

References:
list all process variables, linux alarm handler Patrick Thomas

Navigate by Date:
Prev: Re: list all process variables Ralph Lange
Next: Re: list all process variables Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: list all process variables Ralph Lange
Next: Re: list all process variables Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·