Work

Native Instrumentation Board Interface For Java Based Programs

Year: 2020
Type: conference-paper
Abstract: Java is becoming a popular programming language for PC-based applications programs for many reasons.Java's language rules force a natural structured approach to writing code, its strong data typing eliminates some of the subtitle errors encountered in C/C++ language, it's thoroughly object oriented, it's platform independent, and it is relatively easy to write programs with a Windows GUI using the language.Java has a significant downside when used in data acquisition and control applications.Because Java programs run on a virtual machine and the language is strictly platform independent, there are no provisions for I/O such as that encountered when using a PC based instrumentation board.To access this type of I/O, the Java program must leave the virtual machine it runs on and run native code.A software interface can be written that will allow all of the board functionality needed to be accessed using Java calls.This paper presents the techniques to interface a Java program to native hardware using a National Instruments card as the example native hardware.The technique can be readily adapted to a variety of boards.When using the interface, student's programs can make Java function calls to access an instrumentation card.
Language: English
Open Access status: bronze
OpenAlex ID: W2623716672
FWCI:
Cites:
Cited by: 1
Related to: 10