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  <20082009  2010  2011  2012  2013  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: create_channel fails on vxWorks
From: Felix <[email protected]>
To: [email protected]
Date: Tue, 27 May 2008 12:12:03 +0200
Hello,

I'm having trouble with my channel access calls on a vxWorks box. All
tries to create a channel fail and I can't figure out why.

_Whats happening_ when I call the functions of my application directly
from the vxworks shell:

0x1b79680 (t1): ERROR: Creation of channel for MCFG1OU008L:WaveDest has
failed. With state: 0
CA.Client.Exception...............................................
    Warning: "Normal successful completion"
    Context: "create channel DestWave: "
    Source File: ../epicsWrapper.c line 95
    Current Time: SUN DEC 31 1989 18:00:27.466666648
..................................................................

Output of ca_client_status(1): http://pastebin.com/m2172d560


_Environment:_
Target: vxWorks-ppc603_long
vxWorks Version 5.5
EPICS 3.14.9

EPICS_CA_ADDR_LIST=193.149.13.6
EPICS_CA_AUTO_ADDR_LIST=NO
EPICS_CAS_BEACON_ADDR_LIST=
EPICS_CAS_BEACON_PERIOD=200.0

The CA Server is on a different subnet. I added a default route to the
gateway (communication with ping works, no ports forwarded).

I used the makeBaseApp.pl script to make the iocApp and iocBoot skeleton.

For the st.cmd I'm very unsure what's necessary. As I don't need the
database and the ioc functionality, only client access function, I tried
loading only my iocApp on startup (without iocInit()).
I also tried it with the example startup file. The result seemed to be
the same.


What surprises me is that there is no ca_get() or ca_put():
-> lkup "ca_get"
ca_get_ioc_connection_count 0x0183f7f8 text     (smart.munch)
ca_get_host_name          0x0184e4a0 text     (smart.munch)
value = 0 = 0x0

I'll be glad for any suggestions.

Regards,
Felix

Navigate by Date:
Prev: Re: Missing include in WIN32/osdTime.cpp? Zhichu Chen
Next: combining problem with etherip and motor Zheng Lifang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Missing include in WIN32/osdTime.cpp? Andrew Johnson
Next: combining problem with etherip and motor Zheng Lifang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·