From: Hammonds, John
P. [mailto:[email protected]]
Sent: Wednesday, December 06, 2006
12:37 PM
To: [email protected]
Subject: Problems with Channel
Access calls on an IOC moving from R3.13.7 -> 3.14.8
I am working on moving our
detector data acquisition code from R3.13.7 to R3.14.8 and am having trouble with
a piece of the code that makes channel access calls from C code. I have 2
crates both running as VxWorks IOC. One of these is a master crate that
reads setup data from a file and loads this into the iocs. The slave
crate basically handles Sample environment and beamline control stuff.
The master crate does ca_put C library call to write data to the slave
crate. On moving this to R3.14.8 I am having trouble getting connection
between the crates. The basic code does
ca_create_channel() ( Under 3.13 I was using ca_search())
ca_pend_io() I now added code to check for ECA_NORMAL
ca_put()
ca_pend_io()
ca_clear_channel()
I get the following messages
coming out of the IOC. This code has worked well under 3.13. Anyone
have ideas for what could be going on here?
iocsand1> CAC: Unable to
connect because "S_errno_ETIMEDOUT"
CA.Client.Exception...............................................
Warning:
"Virtual circuit disconnect"
Context:
"192.168.6.101:5064"
Source
File: ../cac.cpp line 1142
Current
Time: WED DEC 06 2006 11:41:56.170496250
..................................................................
CAC: Unable to connect
because "S_errno_ETIMEDOUT"
CA.Client.Exception...............................................
Warning:
"Virtual circuit disconnect"
Context:
"192.168.6.101:5064"
Source
File: ../cac.cpp line 1142
Current
Time: WED DEC 06 2006 11:43:16.170493050
..................................................................
CAC: Unable to connect
because "S_errno_ETIMEDOUT"
CA.Client.Exception...............................................
Warning:
"Virtual circuit disconnect"
Context:
"192.168.6.101:5064"
Source
File: ../cac.cpp line 1142
Current
Time: WED DEC 06 2006 11:44:36.170489850
..................................................................
Setting
sand0A:chngr_0:veto.DESC to SAND Sample Chan
program
Exception current
instruction address: 0x00000004 Machine Status Register: 0x0008b030 Condition
Register: 0x44000049
Task: 0x275bfd8
"ipns_daq"
filename="../../../src/libCom/taskwd/taskwd.c"
line number=174 task 0x275bfd8 suspended
John Hammonds
Data Acquisition Systems Manager
Intense Pulsed Neutron Source
[email protected]
(630)252-5317