EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Record size offset...
From: Andrew Johnson <[email protected]>
To: Mythili -TTP99 <[email protected]>
Cc: [email protected]
Date: Mon, 20 Nov 2000 10:28:48 -0600
Mythili -TTP99 wrote:
> 
>   I've installed EPICS on my system.Now I tried to develop an application,
> and facing some problems related to RecordSizeOffset routines.
>   I read some mails put up in the site related to this problem and tried
> to use the tactics mentioned in the reply mails.But none of them
> worked.I'm including the error messages along with the appearance of
> windsh at the time.Can you tell me where am I going wrong?

It looks to me like you're trying to load the software using the
host-based shell.  I don't know of anybody who does this, although it
might be possible providing you synchronize the target and host symbol
tables (supposed to be possible, but I don't know how well it works). 
Everybody I know using EPICS runs it using the target shell.  The point
being that iocInit needs to be able to do symbol lookups for various
things, so the symbols have to be available to symFindByName() running on
the target.

The host-based wind shell performs a certain amount of magic to make it
look like a shell running on the target, but you need to be aware exactly
where the commands are being executed - for example doing a "cd" in the
wind shell will move the shell to a different directory, but file I/O done
by software running on the target will not inherit the path change - IIRC
you need to use "@cd" to send this command to the target.

Switch to using the target shell and I think your problems will clear up
completely (put the path to your st.cmd file into the startup script boot
parameter, and undo any changes you've made to "fix" things).

- Andrew
-- 
Every great idea appears crazy to start with.


References:
Record size offset... Mythili -TTP99

Navigate by Date:
Prev: Re: vxStats Steve Lewis
Next: Re: vxStats Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  <20002001  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: Record size offset... Mythili -TTP99
Next: RE: Record size offset... Redman, Russell O.
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·