My intention is to add methods to this class as I add methods to the DLL wrapper, however you may prefer to access the wrapper class directly, or write your own middle layer, depending on your application.Įmail me: if you'd like to help out with this project. The class is a middle layer between the application and the wrapper class that simplifies some of the interfaces and handles errors via the class. If you require additional methods, they can be cut/pasted into the Nicaiu.java class. A complete list of methods is in the text file Nicaiu_Full.txt. A selection of methods are used from the DLL, enabling my device (Ni-DAQ USB-6000) to be demonstrated by writing digital out lines and reading back analog input lines. dll, version: Firefox was created by Dave. The class is a JNI wrapper, created using JNAerator ( ), for the National instruments DLL. A Windows user gets access to a multitude of apps on the Microsoft Store. The package currently fulfils this function and can do basic digital and analogue reads as well as digital output (not required for the cab).Īs the package uses JNI, it is platform dependent and only works on windows systems. It reads analogue and digital inputs from two DAQ devices connected to the cab to interface with train controller handles and buttons. This library is used for a train cab simulator at the Birmingham University BCRRE (Birmingham Centre for Railway Research and Education). National instruments describe the problem: It includes the DLL wrapper and some sample code for doing some of the most common NI tasks such as creating a task, outputting a digital signal and reading an analogue input. This package is a DLL wrapper using Java Native Interface for National Instruments drivers. National Instruments does not currently provide language interfaces for Java. JNI Interface for National Instruments Drivers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |