Experimental Physics and
| |||||||||||||||
|
Hi all, I studied last several months about epics and made several epics packages. but, because i am new to epics,I am worried about my question is silly thing. my problem is : How to run several packages on a single host without integrate them or How to integrate them? (my system is fedora ver20 64bit) Here is four packages. A : Control DC PowerSupply (A Company), use template streamSCPI B : Control DC PowerSupply (B Company), use template streamSCPI C : Control Oscilloscope, use template devGPIB (because when i make package, i consulted TDS3000, for using convert function) D : AreaDetector-1-9-1, (type is ASYN?) when i run each of them one by one, there is no problem, everything is ok. but when i run them together, i found problem is exist. I tried these cases.. Case1. run A, B on different terminal ( run st.cmd files) when A is running, if i run B on different terminal, result : failed to PVs via caget cmd. (I think, when call iocinit() in st.cmd file, first ioc channel is initialized) [sjr@localhost ~]$ caget CIS:PS2:IDN (after run A) CIS:PS2:IDN DAUNANO,DADP-22050,0,2.0-2.0 [sjr@localhost ~]$ caget CIS:PS2:IDN (after run B) Channel connect timed out: 'CIS:PS2:IDN' not found. Case2. run A,C / A, D / B,C... on different terminal with using same method Case1 -> result is same with Case1. Case3. after put files (that is in db, dbd, bin.. directories of A,B Packages) in same directory and edit st.cmd file, run A with one mixed st.cmd files (e.g. #!./bin/linux-x86_64/A st_mixed.cmd) -> result is OK (no problem) Case4. run A,B,C together using same method with Case3, run A with one mixed st.cmd files (e.g. #!./bin/linux-x86_64/A st_mixed.cmd) -> result : A,B OK , but C Failed (log : Missing device support routine PV: scopeTest:IDN read_stringin ) if i run C with one mixed st.cmd files (e.g. #!./bin/linux-x86_64/C st_mixed.cmd) -> result : A,B Failed , but C OK (log : Missing device support routine PV: powerA:IDN read_stringin ) Case5. run A,B,D together using same method with Case4, -> result was same with Case4 my quest is.. Q1. there is no way to run packages together on different terminal? (i think, integrate several packages into one package is not good method) Q2. for running packages together, if i need to integrate them into one package without converting template type. is it possible? Q3. for running packages together, if i need to convert Packages template type to one same type, what is type that i need to select? my epics param is.. EPICS_AR_PORT: 7002 EPICS_CAS_AUTO_BEACON_ADDR_LIST is undefined EPICS_CAS_BEACON_ADDR_LIST is undefined EPICS_CAS_BEACON_PERIOD is undefined EPICS_CAS_BEACON_PORT is undefined EPICS_CAS_IGNORE_ADDR_LIST is undefined EPICS_CAS_INTF_ADDR_LIST is undefined EPICS_CAS_SERVER_PORT is undefined EPICS_CA_ADDR_LIST: 100.100.10.255 localhost EPICS_CA_AUTO_ADDR_LIST: NO EPICS_CA_BEACON_PERIOD: 15.0 EPICS_CA_CONN_TMO: 30.0 EPICS_CA_MAX_ARRAY_BYTES: 1000000000 EPICS_CA_MAX_SEARCH_PERIOD: 300.0 EPICS_CA_NAME_SERVERS is undefined EPICS_CA_REPEATER_PORT: 5065 EPICS_CA_SERVER_PORT: 5064 EPICS_CMD_PROTO_PORT is undefined EPICS_IOC_LOG_FILE_COMMAND is undefined EPICS_IOC_LOG_FILE_LIMIT: 1000000 EPICS_IOC_LOG_FILE_NAME is undefined EPICS_IOC_LOG_INET is undefined EPICS_IOC_LOG_PORT: 7004 EPICS_TIMEZONE: CUS::360:031302:110602 EPICS_TS_NTP_INET is undefined IOCSH_HISTSIZE: 50 IOCSH_PS1: epics> Best regards JaeRyong
| ||||||||||||||
ANJ, 16 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |