EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: CA_PROTO_READ_NOTIFY Response
From: "Hill, Jeffrey O" <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 2 May 2012 15:04:46 +0000

Ø  According to the Channel Access protocol specification from the Cosylab website,

Ø  parameter 1 of the header of a CA_PROTO_READ_NOTIFY response contains the

Ø  channel SID (the same as the request header received).

 

typedef struct ca_hdr {

    ca_uint16_t m_cmmd;         /* operation to be performed */

    ca_uint16_t m_postsize;     /* size of payload */

    ca_uint16_t m_dataType;     /* operation data type */

    ca_uint16_t m_count;        /* operation data count */

    ca_uint32_t m_cid;          /* channel identifier */

    ca_uint32_t m_available;    /* protocol stub dependent */

} caHdr;

 

The m_cid field in the CA_PROTO_READ_NOTIFY response message header

communicates the CA status (see caerr.h) of the request, as it was executed in the

server, with this request type.

 

Jeff

 

From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Wednesday, May 02, 2012 5:13 AM
To: [email protected]
Subject: CA_PROTO_READ_NOTIFY Response

 

All,

 

According to the Channel Access protocol specification from the Cosylab website, parameter 1 of the header of a CA_PROTO_READ_NOTIFY response contains the channel SID (the same as the request header received).

 

Is this correct?  Monitoring network traffic from a 3.14.12 win32-x86 soft IOC, this value always appears to a fixed value of 1, no matter what the serverID, or clientID of the channel.  Returning anything other than 1 also appears to break correct functioning of a caget.

 

Thanks,

 

Graham

 

Header

Field

Value

Description

Command

15

Command identifier for CA_PROTO_READ_NOTIFY.

Payload size

Size of payload

Size of DBR formatted data in payload.

Data type

DBR type

Payload format.

Data count

>= 0

Payload element count.

SID

Same as request

SID of the channel.

IOID

Same as request

IOID of this operation.

 

 

--
Scanned by iCritical.

 


References:
CA_PROTO_READ_NOTIFY Response graham.cox

Navigate by Date:
Prev: Re: asynPortDriver callbacks to I/O Intr, how to propagate an error? Eric Norum
Next: Re: [Scopes] BMP image record?? Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CA_PROTO_READ_NOTIFY Response graham.cox
Next: Regarding access of Process Variable manta santosh aditya santosh_aditya
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·