LYNCH, Damien wrote:
It may be useful to say that this question is related to a posting
around January 7 with the subject "A couple of drvAsyn/devGpib
questions". Just to re-cap I'm trying to write some support for a
serial device connected to a local serial port.
> First I agree with Mark's comment about trying to upgrade to a later
> verson of asyn.
>
Me too. When I get some time I'm going to upgrade the base and I'll
upgrade asynDriver then as well.
> I suspect that you are implementing a devGpib module and have
> specified
> one of the following commands:
>
> GPIBACMD|GPIBREADW|GPIBEFASTIW|GPIBIFC
> |GPIBREN|GPIBDCL|GPIBLLO|GPIBSDC|GPIBGTL|GPIBSRQHANDLER
That's right. GPIBSRQHANDLER.
In order to use GPIBSRQHANDLER you must be connected to a portDriver
that is talking to a controller that supports SRQs.
An SRQ is a kind of interrupt. A real GPIB bus has a special wire called
SRQ. Any device can raise an SRQ via this wire.
A serial port has nothing similar. Thus you can not use GPIBSRQHANDLER
when connected to a serial port.
> But you have connected to a port driver that is not a gpib controller.
> Perhaps just a serial port driver?
>
Yep, that's right as well. In my st.cmd file is a
drvAsynSerialPortConfigure() line.
I'll go back to a snipet the earlier "A couple of drvAsyn/devGpib
questions" reply from Marty and ask the question I probably should
have asked to begin with.
> I will describe two possibilities: 1) a devGpib implementation and 2) a
> devEpics implementation.
> I would suggest the devEpics for reasons given below.
>
> But first the devGpib implementation
>
> Have your port Driver implement interface asynGpibPort.
How do I do this?
I can only say to read the asyn documentation.
If you want an alternative to devGpib and devEpics I suggest you llok at
STREAMS written by Dirk Ziomoch.
He just announced it in a teh-talk message on March 9th. It said:
StreamDevice Version 2.0 is released now.
http://epics.web.psi.ch/software/streamdevice/
Thanks,
Damien.
- References:
- RE: asynDriver/asynGpib LYNCH, Damien
- Navigate by Date:
- Prev:
Re: StreamDevice 2 Dirk Zimoch
- Next:
FW: Eclipse workshop, March 24th Chestnut, Ronald P.
- 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: asynDriver/asynGpib LYNCH, Damien
- Next:
Problem building alh on Mac OSX Burkhard Kolb
- 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
|