top01.jpg (17169 bytes)
mleft.jpg (4986 bytes) m01a.jpg (6169 bytes)     m02a.jpg (6905 bytes)     m03a.jpg (7743 bytes)    m04a.jpg (7456 bytes)     m05a.jpg (7878 bytes)     m06a.jpg (6862 bytes)     m07a.jpg (6076 bytes) mright01.jpg (5078 bytes)

AduJava - Caveats


 

All of the DLLs must be accessible to the Java program. This is most easily accomplished by placing everything into the same sub-directory.

It appears that the java code, the java class and the wrapper C file must have the same name. (eg AduJava.java, AduJava.class, AduJava.c, AduJava.dll) When I tried to rename the java class to AduMain it would not access the AduJava dll.

A Java application is NOT a JavaScript applet. A Java application has access to all of the resources of your computer. A JavaScript applet runs within a "sandbox" inside a web browser. The "sandbox" prevents access to your computer resources (unless you do some involved processing to open up the environment)

The response string returned from the method Java_AduJava_ReadAduDevice call is not freed. This may result in a memory leak.

 



AduJava Help File Version 1.0.0.0
Copyright 2005 Ontrak Control Systems Inc.

NEWS         PRODUCTS         PROGRAMMING          APPLICATIONS          CUSTOM DESIGN          ORDERING          HOME


TestPoint is a trademark of Capital Equipment Corp.   
LabVIEW is a trademark of National Instruments.
Visual BASIC is a trademark of Microsoft Corporation


Copyright © 2005 ONTRAK CONTROL SYSTEMS 764 Notre Dame Ave, Unit #1 , Sudbury, Ontario, CANADA P3A 2T2  
"Quality serial Data Acquisition Interfaces"           PH. (705) 671-2652 FAX (705) 671-6127