Experimental Physics and Industrial Control System
|
Sorry, I wasn't explicit enough.
I added 'CA' to the link specifier for the genSub output fields in the
database file, but the NOWT and TMOD fields still won't change.
My IOC doesn't appear to have 'caput' available from the command line,
but 'dbpf' works just fine to change those fields.
--
eric
Mark Rivers wrote:
Eric,
I didn't think of that, but I just tried it and the results
are the same.
I am not sure what you my by "tried it" (using channel access?) and "the
results are the same". The same as with the gensub record, or the same
as I reported? Were you able to change the NOWT and TMOD fields from
channel access?
I can defintely change them from channel access, using the caget and
caput commands on Linux:
corvette> caget 13LAB:serial1.TMOD
13LAB:serial1.TMOD Write/Read
corvette> caput 13LAB:serial1.TMOD Read
Old : 13LAB:serial1.TMOD Write/Read
New : 13LAB:serial1.TMOD Read
corvette> caget 13LAB:serial1.TMOD
13LAB:serial1.TMOD Read
corvette> caput 13LAB:serial1.TMOD "Write/Read"
Old : 13LAB:serial1.TMOD Read
New : 13LAB:serial1.TMOD Write/Read
corvette> caget 13LAB:serial1.TMOD
13LAB:serial1.TMOD Write/Read
corvette> caget 13LAB:serial1.NOWT
13LAB:serial1.NOWT 80
corvette> caput 13LAB:serial1.NOWT 120
Old : 13LAB:serial1.NOWT 80
New : 13LAB:serial1.NOWT 120
corvette> caget 13LAB:serial1.NOWT
13LAB:serial1.NOWT 120
corvette> caput 13LAB:serial1.NOWT 80
Old : 13LAB:serial1.NOWT 120
New : 13LAB:serial1.NOWT 80
corvette> caget 13LAB:serial1.NOWT
13LAB:serial1.NOWT 80
Can you do this?
The TIME field of the asynRecord definitely shows the record is being
processed when I try to write the field.
Which field?
Mark
-----Original Message-----
From: Eric Williams [mailto:[email protected]]
Sent: Wednesday, January 23, 2008 12:25 PM
To: Mark Rivers
Cc: [email protected]
Subject: Re: asynRecord immutable fields
I didn't think of that, but I just tried it and the results
are the same.
The TIME field of the asynRecord definitely shows the record is being
processed when I try to write the field.
--
eric
Mark Rivers wrote:
Those fields are definitely writeable from EPICS channel
access. Have you tested that?
I can't say that I've ever tried linking to them with
database links, but I can't see why it would not work.
Mark
________________________________
From: [email protected] on behalf of Eric Williams
Sent: Tue 1/22/2008 7:40 PM
To: [email protected]
Subject: asynRecord immutable fields
I'm trying to drive a GPIB device with a genSub record through an
asynRecord, but I've been unable to change some of the
asynRecord fields
that I need to perform all the necessary control functions.
In particular, I've been unable to modify TMOD or NOWT, which I've
linked to output fields of the genSub record. (There are
probably other
asynRecord fields that act similarly, but these are the
ones I've run
into so far.) Writing to AOUT works OK.
If I link my genSub record output fields instead to "normal" records
(eg: longout), then the values go through just fine. But they never
show up when linked to the asynRecord fields. In contrast,
I'm able to
modify these fields through dbpf on the console.
I've looked at the DBD file, and I'm not able to find any
reason why one
field would be writable and another isn't. Anybody have a guess?
--
eric
Environment:
linux-x86
epics 3.14.9
asyn 4-8
genSub 4-6
- Replies:
- RE: asynRecord immutable fields Mark Rivers
- References:
- RE: asynRecord immutable fields Mark Rivers
- Navigate by Date:
- Prev:
RE: asynRecord immutable fields Mark Rivers
- Next:
RE: asynRecord immutable fields Mark Rivers
- 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: asynRecord immutable fields Mark Rivers
- Next:
RE: asynRecord immutable fields Mark Rivers
- 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
·
|