Hi Justin,
nmc_show_modules is the underlying C function, but I forgot that I had made the iocsh function be mcaAIMShowModules. So you have already done the thing I suggested.
It sounds like it is actually starting to get ownership of the module (since the In Use light comes on). But it must be getting an error at some point?
At that point can you run the Linux IOC and see what mcaAIMShowModules says on it?
Once you get the error about ownership then all of the other errors (icb, mca, etc.) are expected.
I'll see if I can test it sometime soon when I get a chance.
Mark
________________________________
From: Justin Coleman [mailto:[email protected]]
Sent: Tue 7/3/2007 4:40 PM
To: Mark Rivers; [email protected]
Subject: Re: building EPICS for Canberra MCA on Windows XP
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
- References:
- building EPICS for Canberra MCA on Windows XP Justin Coleman
- RE: building EPICS for Canberra MCA on Windows XP Mark Rivers
- Re: building EPICS for Canberra MCA on Windows XP Justin Coleman
- Navigate by Date:
- Prev:
Re: building EPICS for Canberra MCA on Windows XP Justin Coleman
- 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
<2007>
2008
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 Justin Coleman
- 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
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|