EPICS Home

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  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: EDM: Passing PV values to shell commands
From: "Hayton, TG (Tim) " <[email protected]>
To: "'[email protected]'" <[email protected]>
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
[email protected]

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  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024