Hi Geyang,
we have subroutine records that read tables from disk,
but for all I know only at boot time (of the IOC).
Other than that you can of course use pvLoad (pvload?)
to load values into record fields from the IOC's command
line. Not sure either one of those is what you want.
Aloha,
Maren
On Thu, 21 Oct 2010, Silver wrote:
hi,
I need to implement a function for insertion device like this:
Read a two-dimensions table file from the disk, which is values for gap positions and Correction coil power supplies (one gap value corresponding to 4 power supply value). If a gap position is set from the operator, four power supplies will be set automatically.
I want to use SNC language to do this, for reading the data from disk, use an asub record for it. Is it ok? Is there any better ways? Did anyone finish this job before?
Any suggestions are appreciated.
Best regards
Geyang 2010-10-21
- References:
- Lookup table problem Silver
- Navigate by Date:
- Prev:
RE: Manipulating time in records Di Maio Franck
- Next:
Re: Manipulating time in records Marty Kraimer
- 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:
Lookup table problem Silver
- Next:
RE: Lookup table problem austen.rose
- 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
|