Zen,
I use waveform arrays, although my device driver is not ASYN but ht2992 VME
CAMAC SHD.
The sub record may have an OUT link that you can write to from your process
routine (can't recall). Otherwise you can put your value into the sub
record's VAL (or other 'spare' field) and FLNK to another passive scan record
that can INP and OUT link to the target record's field (assuming that field
can be modified at runtime).
-ps
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Szalata, Zenon M.
Sent: Wednesday, October 10, 2007 1:06 AM
To: EPICS tech-talk
Subject: CAMAC IO
I am writing a soft IOC based on asyn which will do CAMAC IO via KS3988 GPIB
crate controller. I have two problems that I am not sure how to solve.
1. write a counted array of bytes containing numeric values to the crate
controller. What record type is well suited for that?
2. Also, What record type should I use to read an array of bytes from the
crate controller?
Unrelated question is, Is it possible to modify a field value in a record
from within a subroutine? To be more specific, I have a sub record and from
its process subroutine I want to modify a field in another record. Can that
be done?
Thanks,
Zen
- References:
- CAMAC IO Szalata, Zenon M.
- Navigate by Date:
- Prev:
Re: ASYN - calling read after interrupt - fix :) Heinrich du Toit
- Next:
Re: CAMAC IO Tim Mooney
- 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:
CAMAC IO Szalata, Zenon M.
- Next:
Re: CAMAC IO Tim Mooney
- 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
|