EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Arrays in Start Up Scripts
From: "Ernest L. Williams Jr." <[email protected]>
To: Darrell Nineham <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Wed, 10 Aug 2005 11:43:44 -0400
Hi Darrell,

Here is another example in which I needed to pass an array into a
vxWorks function. I needed to make the vxuser belong to multiple unix
groups and allow the proper NFS access:

#============= st.cmd snippet ===============================
nfs_gids=malloc(2*4)
# GIDS will be HEX
# Argument 2 to m is the size of the items in the array

*nfs_gids=29207
*(nfs_gids+4)=29165;


nfsAuthUnixSet(nfsServer, 29147, 810,2,nfs_gids)

================================================================


Thanks,
Ernest L. Williams Jr.
SNS Control Systems Group
ORNL


On Wed, 2005-08-10 at 10:03 +0100, Darrell Nineham wrote:
> Dear Fellow Tech-Talkers,
>  
> I'd like to pass an array of bytes into a config call in an EPICS
> start up script.
>  
> Anyone know of a trick for declaring and initialising an array in
> an EPICS / VxWorks start up script ?
>  
>  
> 
> Darrell Nineham
> 
> Hytec Electronics Ltd.
> 
> Tel: +44 (0) 118 975 7770
> 
> Fax: +44 (0) 118 975 7566
> 
> Web: www.hytec-electronics.co.uk
> 
>  
> 
> ++++++++++++++++++++++++++++++++++++++++++++
> 
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error, please notify
> the sender immediately. The views expressed in the message are those
> of the individual author and may not necessarily represent the views
> of Hytec Electronics Ltd.
> 
> 
>  


References:
Arrays in Start Up Scripts Darrell Nineham

Navigate by Date:
Prev: Re: Keithley6517A Electromete GPIB Device Support Ralph Lange
Next: Re: msi command for building synApps 5.1 J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Arrays in Start Up Scripts David Maden
Next: RE: Arrays in Start Up Scripts Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·