Experimental Physics and Industrial Control System
|
There's a small error in the example which was attached to the
original posting. The example includes a comment indicating that the
command is to be invoked as:
IOCShellFunctionCall( "I am user-defined function in IOC shell")
This does not match the code in the example. In fact, the comment
should state that the command is to be invoked as:
IOCShellFunction( "I am user-defined function in IOC shell")
Also, it's a good idea to include <epicsStdioRedirect.h> rather than
<stdio.h> in any file which contains functions which produce output
as part of an IOC shell command. This ensures that output
redirection works as expected.
On Apr 24, 2006, at 2:18 PM, Liyu, Andrei wrote:
Hi,
I again met this problem.
Also Geoff Savage has asked here http://www.aps.anl.gov/epics/tech-
talk/2006/msg00493.php
So I created the simplest example and attach to this e-mail.
Thanks, Andrei.
P.s. Maybe someone include the example or something similar to
IOC’s example.
<ExampleIOCShellFunction.c>
--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793
- References:
- Re: ???registrar(function_name) Liyu, Andrei
- Navigate by Date:
- Prev:
IOC error message - CA online suspended George Lahti
- Next:
RE: ???registrar(function_name) Liyu, Andrei
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: ???registrar(function_name) Liyu, Andrei
- Next:
RE: ???registrar(function_name) Liyu, Andrei
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
<2006>
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|