Marty Kraimer wrote:
> Subject: Re: proposed RTYP field
>
> This finally got to the top of my TODO list.
>
> There was a lot of discussion about how to implement this feature.
> The main ideas were:
>
> 1) Provide a field RTYP in every record.
> 2) Provide a new Channel Access Request type.
>
> I agree with the second alternative.
>
> Jeff Hill suggested that we have a new request type DBR_CLASS_NAME.
> For example:
>
> char classname[80];
>
> ...
>
> SEVCHK(ca_get(DBR_CLASS_NAME,mychid,&classname),"ca_get");
> SEVCHK(ca_pend_io(waitTime),"ca_pend_io");
> printf("pv: %s classname %s\n",ca_name(mychid),classname);
>
>
> I modifyied db_access.h, db_access.c, and the ca/convert.c to implement
> the change. Jeff will still have to look to see if any other channel
> access changes are necessary if new clients talk to old servers.
>
> Marty Kraimer
>
Thanks for the action on the RTYP/classname topic.
I'm confused how I use this from, say, the UNIX command line
or from a SNL sequence program.
>From the UNIX command line, I can use the
<EPICS>/extensions/bin/<arch>/caget command.
Can I figure out the RTYP/classname with this tool?
How do I figure out the RTYP from a sequence program?
These are probably silly questions but these two cases represent
the two situations that I would be using this information.
UNIX: smart GUI tools (e.g., Tcl/Tk) that can be told how to
represent different record types and provide a default
configuration based on just the PV name
SNL: auto-configure program for finding all the "motor" records
at boot time and coordinating "allstop" functions with each motor.
Thanks,
Pete Jemian
UNICAT
- Replies:
- Re: proposed RTYP field Marty Kraimer
- Navigate by Date:
- Prev:
Re: proposed RTYP field Ralph Lange
- Next:
Re: EPICS r3.13 field VERS Marty Kraimer
- 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: EPICS r3.13 field VERS Marty Kraimer
- Next:
Re: proposed RTYP field Marty Kraimer
- 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
|