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: problem using shell command in EDM
From: Maurizio Montis <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: [email protected]
Date: Mon, 5 Dec 2011 17:03:57 +0100 (CET)
Hi Dirk, 
first of all thanks for the answer.
following your suggestion i created a simple script and it works. It's
only a bit strange that the external script works while the "internal"
one didn't...commands and macro substitutions are equal.

- Maurizio


On Dec 05, 2011 04:12 PM, Dirk Zimoch <[email protected]> wrote:

> Hi Maurizio,
> 
> What about a shell script that calls the web page? Only pass the 
> parameters ADDR, ARCH, PV1 and YLAB and let the script build the URL.
> 
> Dirk
> 
> 
> Maurizio Montis wrote:
> > Hello!
> > i'm developing a new EDM control panel to manage a quite complex
> > apparatus and i have a problem: i want to call my archiver web
> > interface
> > through the shell command control button, but my address is too much
> > long for the shell command field.
> > I'm trying to use macro substitutions to reduce the number of
> > characters
> > used in that field, but i didn't have the result desired yet.
> > 
> > In my case i'm interested to recall the following address:
> > 
> > 
> >
> > $(ADDR)=$(ARCH)&PATTERN=*&GLOB=ON&LIST=RFQ%3ACMOD01_SG01%3AP&NAMES=RFQ%3A$(PV1)%3AP%0D%0A&STRSTART=1&STARTSTR=2H&STREND=1&ENDSTR=now&COMMAND=Plot&Y10=0&Y11=0&Y20=0&Y21=0&YLABEL=$(YLAB)&WIDTH=800&HEIGHT=600&SCALE=100&INTERPOL=0&INTTYPE=LINEAR&GAP=0&GAP2=0
> > 
> > where ADDR, ARCH, PV1 and YLAB are macros; in this way i can use it
> > in
> > my shell command field, but i'm not able to show the webpage desired
> > (and the macro substitution is correct, i checked).
> > 
> > Is there some particular option or configuration that i forget to
> > use?
> > 
> > Thank in advance for any help
> > 
> > - Maurizio
> > 
> > 
> 


References:
problem using shell command in EDM Maurizio Montis
Re: problem using shell command in EDM Dirk Zimoch

Navigate by Date:
Prev: Re: problem using shell command in EDM Dirk Zimoch
Next: Re: [help] EPICS build no good Pavel Masloff
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: problem using shell command in EDM Dirk Zimoch
Next: BACnet for EPICS is available now. Webb, Steven B.
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 ·