Experimental Physics and Industrial Control System
|
Thanks to both you and Burkhard for replying.
One of the problems turned out with the field types, in that
I had mistyped DOUBLE as DUOBLE, and the rest was solved
following a suggestion from Russell Kackley across the hall from
me, to de-reference the other end of the assignment.
Looks like this works now (as far as it's implemented so far)
Maren
Dirk Zimoch wrote:
Have you checked all field types and array sizes? The record allocates
memory for the fields. If the record and the C-code disagree on the
types you might write to wrong memory locations. The C-code should
always check the types (at least in the init routine).
Dirk
Maren Purves wrote:
Hi all,
I have a rather funny (funky) problem with a genSub record.
It outputs several values, one definitely a string, some
integers and some floats. After trying to get the integer
(long) values out yesterday (got the first one out, but not
the rest) and resorting to strings (it's channel access,
after all) I tried to add some floating point (double)
values to that today. Again, I got the first one out,
but not the rest, and lost the last character of the
last string. Converting all to strings didn't help
this time. However, I got the last character of the
string in VALF back by putting it into VALJ (after
the doubles).
This is a rather complex mechanical system (for those
who know a bit about our instruments: the mechanisms
in the CGS4 cryostat) where things have to be calculated
depending on one another, and so I'd prefer to keep
all of this together.
There are a few things I can try yet, but if anybody
can tell me an easy solution I'd very much appreciate it.
Thanks in advance,
Maren
- References:
- genSub output alignment Maren Purves
- Re: genSub output alignment Dirk Zimoch
- Navigate by Date:
- Prev:
areaDetector R1-2 released Mark Rivers
- Next:
Re: areaDetector R1-2 released Andrew Johnson
- 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: genSub output alignment Dirk Zimoch
- Next:
recordGenerator record Kalantari Babak
- 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
·
|