g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: EDM: Passing PV values to shell commands
From: "Hayton, TG (Tim) " <Tim.Hayton@diamond.ac.uk>
To: "'tech-talk@aps.anl.gov'" <tech-talk@aps.anl.gov>
Date: Tue, 6 Jan 2004 16:41:42 -0000
Does anyone know if it's possible to pass PV values as arguments to a
program called from an EDM ShellCommand widget?

I can pass EDM macro substitutions easily, simply by passing them as args in
the Shell Command property, e.g.

myShellCommand $(device)

but I cannot seem to pass PV values this way, e.g.

myShellCommand ioc1:myPv
or
myShellCommand $(ioc1:myPv)

doesn't work. Am I missing any obvious syntax, or alternatively does anyone
know if it might be possible to modify EDM relatively easily to support
this?

I could of course just call the shell command with the PV name, and then do
a ca_get from there to get the value, but this seems untidy.

Many thanks

Tim Hayton
Diamond Light Source
tim.hayton@diamond.ac.uk

Navigate by Date:
Prev: EPICS R3.14.4 for vxWorks-pentium Graham Waters
Next: Problem linking a Channel Access application on Windows using Visual Studio Steven . Banks
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: RE: EPICS R3.14.4 for vxWorks-pentium Jeff Hill
Next: Problem linking a Channel Access application on Windows using Visual Studio Steven . Banks
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·