Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |