EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: block output record
From: "Erik Johansson" <[email protected]>
To: "Ned Arnold" <[email protected]>, <[email protected]>
Cc: <[email protected]>
Date: Wed, 9 May 2001 12:00:16 -0700
I have done this as well, and it is pretty simple. I selected a record field
which was not being used (the PHAS field in this case) and used it as a
means to communicate to device support the direction of the transaction. If
PHAS is set to 0, the device support reads data from the hardware, otherwise
it writes. I am using INST_IO, so there is probably a way to encode the
direction in what gets passed to the INP field as well, but that would have
top be decoded by the device driver. I didn't want to do this because the
driver is generic for all the record types we are using.

Erik

----- Original Message -----
From: "Ned Arnold" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, May 09, 2001 10:37 AM
Subject: Re: block output record


> Geoff,
>
> The existing waveform record can be used as a "block output" record by
> writing device support that reads from the waveform record array and
writes
> to hardware. The "direction" of the data is up to device support.
>
> Ned
>
> >
> > yes
> >
> > Ned Arnold wrote:
> > >
> > > I'm not familiar with that terminology. Is that the same as a waveform
> output
> > > record?
> > >
> > >         Ned
> > >
> > >
> > > >
> > > > Hi,
> > > >
> > > > Has anyone developed a block output record?
> > > >
> > > > Geoff
>
>



References:
Re: block output record Ned Arnold

Navigate by Date:
Prev: RE: Questions about the Multi-channel I/O Interrupt Jeff Hill
Next: Help about RAMP shen guobao
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: block output record Ned Arnold
Next: What does this message mean? Pete R. Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·