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

Subject: Re: how to execute 'mcaget/mcaopen/...' command on IOCSHELL
From: Eric Norum <[email protected]>
To: JaeRyong Seo <[email protected]>
Cc: [email protected]
Date: Wed, 19 Nov 2014 06:44:53 -0800
Add system.dbd to the list of .dbd files making up your application.   

You will then be able to use the iocshell ‘system’ command to invoked a full shell to run whatever command you wish:
epics> system(“octave testFile.m”)

> On Nov 19, 2014, at 12:23 AM, JaeRyong Seo <[email protected]> wrote:
> 
> Hi all,
> 
> I'm trying to execute shell command on MEDM adl dialog.
> (the command is : octave testFile.m)
> 
> but, when i execute this command, the printed rusult is
> error: 'mcaopen' undefined near line 12 column 55
> error: called from:
> error:   demo_change_Curr at line 12, column 53
> error:   /home/...../testFild.m at line 116, column 1
> 
> i guess, because mcaget, mcaopen, ... command cannot be executed on iocShell.
> ( if execute 'mcaopen' on epics shell, the result is below.
> epics> mcaopen
> Command mcaopen not found.
> )
> 
> because, when execute "octave testFile.m" command on another linux shell(ex. cshell), 
> can execute testFile.m successfully.
> 
> i want know how to execute 'mcaget/mcaopen/...' command on IOCSHELL.
> 
> 
> Thanks.

-- 
Eric Norum
[email protected]






References:
how to execute 'mcaget/mcaopen/...' command on IOCSHELL JaeRyong Seo

Navigate by Date:
Prev: RE: galil softIOC lose the galil controller Mark Clift
Next: Re: how to execute 'mcaget/mcaopen/...' command on IOCSHELL J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: how to execute 'mcaget/mcaopen/...' command on IOCSHELL JaeRyong Seo
Next: Re: how to execute 'mcaget/mcaopen/...' command on IOCSHELL J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·