EPICS Home

Experimental Physics and Industrial Control System


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

Subject: RE: File I/O from genSub Process function
From: "Erik Johansson" <[email protected]>
To: "Bruce Hill" <[email protected]>, "Techtalk" <[email protected]>
Date: Fri, 30 Oct 2009 13:53:27 -1000
Hi Bruce,

I do file I/O from GenSub process functions without any problem. We are
using VxWorks, not RTEMs, although I am not sure if or why that would
make a difference.

Regards,

Erik 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Bruce Hill
Sent: Friday, October 30, 2009 1:42 PM
To: Techtalk
Subject: File I/O from genSub Process function

I have a genSub I've setup to run test code on my IOC, and I'm getting
errors when I try to read the test set data files.    This is an RTEMS 
4.7.1 based
IOC accessing an NFS mounted filesystem.     I'm able to read the same
files from a genSub Init function, but not from the Process function.
I can also read these files if I initiate the test from the Cexp shell
on the RTEMS console.

Is there something about how the Process functions are called that would
preclude file I/O?

Thanks!
- Bruce Hill

--
Bruce Hill
Member Technical Staff
SLAC National Accelerator Lab
2575 Sand Hill Road M/S 94
Menlo Park, CA  94025



References:
File I/O from genSub Process function Bruce Hill

Navigate by Date:
Prev: File I/O from genSub Process function Bruce Hill
Next: Re: File I/O from genSub Process function Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: File I/O from genSub Process function Bruce Hill
Next: Re: File I/O from genSub Process function Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024