EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  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  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: building EPICS for Canberra MCA on Windows XP
From: "Justin Coleman" <[email protected]>
To: "Mark Rivers" <[email protected]>, [email protected]
Date: Tue, 3 Jul 2007 17:40:39 -0400
Mark,

I suggested we use Linux for this system (since that was working fine
thanks to your help previously), but my boss suggested we get it going
under Windows as well, since the mca package documentation indicates
it can be done. I think he's just more comfortable with the Windows
environment, and he'll be the one doing most of the capture/analysis
work.

Libnet.dll and Libnet.lib are included in the mcaR6-9 package
(mcaApp/CanberraSrc directory), those are the only ones on this
system. libpacket.a and libwpcap.a are from the WpdPack_4_0.zip file,
since the WinPcap binary installer doesn't include them.

I just did a "make clean uninstall install" in all package directories
(base, seq, asyn, autosave, gensub, sscan, calc, std, mca). Here's the
sequence of events when I run the cygwin version. I've used script to
capture a log, if that would be any help.
1. PC boots up.
2. Canberra rack powers on. This rack and PC are on their own network
segment, and this PC is the only one we've used for an IOC, no other
system has EPICS on it. At this point I wait for the OK light to come
on on the AIM.
3. Cygwin shell opened, I run ..\..\bin\cygwin-x86\mcaAIM st.cmd
4. st.cmd script begins to run, first error occurs here (this is also
when the "in use" light comes on, and the "comm tx" and "comm rx"
blink a bit):
AIMConfig("AIM1/1", 0x6aa, 1, 2048, 1, 1,
"\Device\NPF_{697A363F-EC84-407F-9BD2-3678BE08AB3D}")
AIMConfig ERROR: cannot buy module, someone else owns it!
5. next error occurs here:
icbConfig("icbAdc1", 0x6aa, 0, 0)
icbConfig: Error looking up ICB module NI6AA:0
6. mcaAIMShowModules
Module     Owner name      Owner ID       Status      Memory size Free address
NI0006aa              00:00:00:00:00:00  Unreachable     261116      00000000
7. lots of these: 2007/07/03 17:22:58.032 drvIcbAsyn::verifyModule
module not defined or not found
2007/07/03 17:22:58.042 devMcaAsyn::init_record, mcaTest:aim_adc1
connectDevice failed to AIM1/1
2007/07/03 17:22:58.162 devMcaAsyn::send_msg: mcaTest:aim_adc1 error
calling queueRequest, asynManager::queueRequest not connected
8. this for pretty much every pv: 2007/07/03 17:23:02.288
drvIcbAsyn::verifyModule module not defined or not found
2007/07/03 17:23:02.288 mcaTest:adc1LLD devAsynFloat64 process error
9. Right before we get to a prompt:
iocInit: All initialization complete
# save settings every thirty seconds
create_monitor_set("auto_settings.req",30,"P=mcaTest:")
epics>
epicsSocketEnablePortUseForDatagramFanout: unable to set SO_REUSEADDR?
**** The executable "caRepeater" couldn't be located
**** because of errno = "No such file or directory".
**** You may need to modify your PATH environment variable.
**** Unable to start "CA Repeater" process.
10. nmc_show_modules isn't on the command list in any form. What
package does it come from? icbShowModules gives no output, but no
error.

Thanks,

-Justin
Replies:
RE: building EPICS for Canberra MCA on Windows XP Mark Rivers
RE: building EPICS for Canberra MCA on Windows XP Mark Rivers
References:
building EPICS for Canberra MCA on Windows XP Justin Coleman
RE: building EPICS for Canberra MCA on Windows XP Mark Rivers

Navigate by Date:
Prev: RE: building EPICS for Canberra MCA on Windows XP Mark Rivers
Next: RE: building EPICS for Canberra MCA on Windows XP Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: building EPICS for Canberra MCA on Windows XP Mark Rivers
Next: RE: building EPICS for Canberra MCA on Windows XP Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·