This plugin provides EPICS ChannelAccess libraries,
initializing their settings from Eclipse preferences.
For GUI Applications, consider adding org.csstudio.platform.libs.epics.ui.
* JCA
.. is the basic Java Channel Access API, including an implementation
that uses the original EPICS libraries via JNI.
Binaries for JCA are in OS-specific fragments
org.csstudio.platform.libs.epics.macosx,
org.csstudio.platform.libs.epics.linux,
..
* CAJ
.. is a pure Java implementation of the JCA API.
Examples for building JCA JNI Binaries
--------------------------------------
Get sources for JCA from http://epics-jca.sourceforge.net/jca:
> hg clone http://epics-jca.hg.sourceforge.net:8000/hgroot/epics-jca/epics-jca
> cd epics-jca
> hg update JCA_20120614_2_3_6
Set EPICS_BASE_RELEASE, HOST_ARCH, EPICS_HOST_ARCH as required to build EPICS base.
> ant
This creates two items of interest:
1) Java library O.core/jca.jar, like the one in this plugin's lib subdir
2) OS-specific JNI lib like O.darwin-x86/libjca.jnilib, which typically
should be re-linked as described below and then placed into the corresponding
lib/<OS>/<CPU> subdir of the fragment for that OS.
- Mac OS X
Created on Intel OS X 10.6.8 with EPICS base R3.14.12.2 java 1.6.0_31.
The 'ant' build ends like this:
g++ -L/Kram/epics/R3.14.12.2/base/lib/darwin-x86 -lca -lCom -framework JavaVM \
-arch i386 -dynamiclib -Wl,-single_module \
-o /Kram/MerurialRepos/jca/O.darwin-x86/libjca.jnilib \
/Kram/MerurialRepos/jca/O.darwin-x86/JNI.o
... which resulted in a shared library with further shared lib dependencies:
otool -L O.darwin-x86/libjca.jnilib
O.darwin-x86/libjca.jnilib:
...
/Kram/epics/R3.14.12.2/base/lib/darwin-x86/libca.3.14.12.dylib (compatibility version 3.14.0, current version 3.14.12)
/Kram/epics/R3.14.12.2/base/lib/darwin-x86/libCom.3.14.12.dylib (compatibility version 3.14.0, current version 3.14.12)
...
Manually issuing the following command creates a JCA JNI lib with only
"system" dependencies, no remaining EPICS shared lib dependecies:
LIB=$EPICS_BASE_RELEASE/lib/$EPICS_HOST_ARCH
g++ -framework JavaVM -arch i386 -dynamiclib -Wl,-single_module -o O.darwin-x86/libjca.jnilib \
O.darwin-x86/JNI.o $LIB/libCom.a $LIB/libca.a
cp O.darwin-x86/libjca.jnilib ....../org.csstudio.platform.libs.epics.macosx/lib/macosx/x86/libjca.jnilib
- Linux X86
Created on Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
with EPICS base R3.14.11, JDK 1.6.0_21
Similar to the OS X binary, the JNI lib was linked without
further dependencies on shared EPICS base libraries:
cd O.linux-x86
LIB=$EPICS_BASE_RELEASE/lib/$EPICS_HOST_ARCH
g++ -shared -lpthread -lreadline -lncurses -lm -lrt -Wl,-rpath,. -o libjca.so JNI.o $LIB/libca.a $LIB/libCom.a
# Check:
ldd -d libjca.so
cp libjca.so ....../org.csstudio.platform.libs.epics.linux/lib/linux/x86/libjca.so
- Linux X86_64
Red Hat Enterprise Linux Workstation release 6.2 (Santiago)
with EPICS base R3.14.12.2, JDK 1.6.0_31
cd O.linux-x86_64
ldd libjca.so
# Showed dependencies on libca.so, ...
LIB=$EPICS_BASE_RELEASE/lib/$EPICS_HOST_ARCH
g++ -shared -fPIC -lpthread -lreadline -lncurses -lm -lrt -Wl,-rpath,. -o libjca.so JNI.o $LIB/libca.a $LIB/libCom.a
cp libjca.so ...../org.csstudio.platform.libs.epics.linux/lib/linux/x86_64
Older Notes
-----------
caj-1.1.7.jar
--------------
Built from 2010/11/10 source snapshot from http://epics-jca.sourceforge.net with the following adjustments:
build.xml was changed to point to the previously generated JCA jar,
and debug="true" to include debug information:
<path id="build.classpath">
<pathelement location="../org.csstudio.platform.libs.epics/lib/jca-2.3.2.jar"/>
</path>
<target name="compile" depends="init">
<property name="build.compiler" value="modern"/>
<javac srcdir="${dir.src}" destdir="${dir.temp}" classpathref="build.classpath" source="1.4" debug="true">
<classpath refid="build.classpath"/>
</javac>
</target>
src/com/cosylab/epics/caj/util/nif/InetAddressUtilV6.java was renamed to *.java6 to
allow compilation with both Java 1.5 and 6.
Created on Intel OS X 10.5.8, java 1.5.0_24 by running
ant
cp target/caj.jar ....../org.csstudio.platform.libs.epics/lib/caj-1.1.7.jar
jca-2.3.2.jar was built from jca-2.3.2 sources with the following changes:
src/core/gov/aps/jca/jni/JNI.cpp, line 1112
// KUK, Mar 31 2009: Leaked memory from ....addMonitor()
delete ((MonitorID*)monitorID);
jca-2.3.1.jar was built from the jca-2.3.1 sources with the following changes:
- Updated ThreadSafeContext.java. Based on findings by Tom Pelaia and
Kay Kasemir, the pause() call in the run() loop was replaced by a blocking
queue. The original implementation would be quite slow on fast CPUs(!)
because the code would sit in pause() instead of handling requests.
Now it wakes immediately when new requests arrive.
- JNITargetArch.java checks for Mac OS X handled osarch="ppc" and "x86",
but latest Intel Macs seem to report "i386", which is now handled as well.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【EPICS】SNS-CSS-3.2.6-LINUX 32位版本 EPICS Control System Studio (CSS) SNS Office A product pre-configured for the SNS Office network with support for the SNS ELog, Channel Access Gateway, Oracle Database.
资源推荐
资源详情
资源评论
收起资源包目录
EPICSSNS-CSS-3.2.6-LINUX 32位版本 EPICS Control System Studio (CS (957个子文件)
org.csstudio.sns.product.product_root.gtk.linux.x86_3.2.16.20140409 158KB
org.csstudio.sns.product.product.root.feature_root_3.2.16.20140409 253B
ant 10KB
antRun 861B
.api_description 431B
.api_description 357B
ant.bat 7KB
antRun.bat 2KB
lcp.bat 1KB
splash.bmp 330KB
EpicsPlugin.class 7KB
AnnotationsPrototype.class 2KB
EpicsPlugin$MonitorMask.class 1KB
PreferenceConstants.class 1KB
Edm_activeRectangleClass.class 432B
Edm_activeGroupClass.class 419B
EdmColor.class 274B
EdmInt.class 270B
EdmAttribute.class 242B
EdmEntity.class 236B
package-info.class 138B
envset.cmd 4KB
antenv.cmd 3KB
ant.cmd 3KB
runrc.cmd 2KB
jaas.conf 1KB
css 61KB
shared.css 14KB
shared.css 10KB
shared.css 10KB
root.css 9KB
root.css 8KB
root.css 8KB
standby.css 4KB
standby.css 4KB
standby.css 4KB
shared.css 4KB
book.css 3KB
rtl.css 3KB
font-relative.css 2KB
rtl.css 2KB
default.css 2KB
font-absolute.css 2KB
font-relative.css 2KB
rtl.css 2KB
font-absolute.css 2KB
font-relative.css 2KB
font-absolute.css 2KB
whatsnew.css 2KB
webresources.css 1KB
firststeps.css 1KB
tutorials.css 1KB
overview.css 1KB
samples.css 1KB
migrate.css 1KB
webresources.css 1KB
firststeps.css 1KB
tutorials.css 1KB
whatsnew.css 1KB
overview.css 1KB
samples.css 1KB
migrate.css 1KB
whatsnew.css 1KB
webresources.css 909B
firststeps.css 903B
tutorials.css 901B
overview.css 895B
migrate.css 889B
samples.css 888B
ltr.css 650B
ltr.css 650B
ltr.css 650B
style.css 62B
color.def 134B
DES-EDM_to_XML_Converter.doc 323KB
SPE-EDM_to_XML_Converter.doc 148KB
EDM2XMLTranslator.doc 36KB
Examples.doc 30KB
.eclipseproduct 59B
AllWidgetsDemo.edl 13KB
helpMovingArrow.edl 8KB
about.gif 9KB
overview.gif 9KB
backgroundcurve.gif 8KB
migrate_tophov.gif 8KB
tutorials_tophov.gif 8KB
workbench_tophov.gif 8KB
webresources_tophov.gif 8KB
webresources.gif 8KB
firststeps_tophov.gif 7KB
samples_tophov.gif 7KB
whatsnew_tophov.gif 7KB
workbench.gif 7KB
tutorials.gif 7KB
firststeps.gif 7KB
samples.gif 7KB
migrate.gif 7KB
overview_tophov.gif 6KB
whatsnew.gif 6KB
form_banner.gif 5KB
共 957 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
裂骨
- 粉丝: 1
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 桌球台球检测6-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- js图片轮播.zip
- 6种创意css按钮样式
- div卡片样式切换特效.zip
- jQuery左侧导航右侧tab页面切换.zip
- 图标文字网格布局div+css样式代码.zip
- 纯css网页背景加载中布局.zip
- 彩色边框创意div层样式.zip
- stm32学习时的代码
- 桌球台球检测9-YOLO(v5至v11)数据集合集.rar
- stm32的两万字笔记
- 单片机+人体红外感应的防盗系统设计(仿真+源码+PCB文件+报告)
- 2023-04-06-项目笔记 - 第三百五十六阶段 - 4.4.2.354全局变量的作用域-354 -2025.12.23
- 400w微型逆变器, 基于stm32g474实现 设计方案,不是成品 带有源代码、原理图(AD)、PCB(AD)
- 森林大火检测28-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord数据集合集.rar
- VBA视频教程 0001
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功