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  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 
<== Date ==> <== Thread ==>

Subject: Re: problem using shell command in EDM
From: Dirk Zimoch <dirk.zimoch@psi.ch>
To: Maurizio Montis <Maurizio.Montis@lnl.infn.it>
Cc: tech-talk@aps.anl.gov
Date: Mon, 05 Dec 2011 16:12:12 +0100
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




Replies:
Re: problem using shell command in EDM Maurizio Montis
References:
problem using shell command in EDM Maurizio Montis

Navigate by Date:
Prev: problem using shell command in EDM Maurizio Montis
Next: Re: problem using shell command in EDM Maurizio Montis
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 
Navigate by Thread:
Prev: problem using shell command in EDM Maurizio Montis
Next: Re: problem using shell command in EDM Maurizio Montis
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 
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 ·