The Universal Library (UL) for Android™ is a data acquisition API for developing applications that run on the Android operating system.
The UL for Android API installs on supported Windows®, Linux®, and Mac® platforms for users to develop and deploy applications to Android devices.
Only the download version of the UL for Android can be installed on Linux and Mac platforms
Easy-to-Learn for Universal Library Users
Because it is similar to the Universal Library, UL for Android provides the same high-level functions for all common DAQ device operations. Programmers already familiar with the UL on the Windows platform do not need to learn a new library.
InstaCal not Required
One significant difference found in the UL for Android is that it does not require InstaCal to install a supported MCC device.
UL for Android introduces the DaqDeviceManager class, which enables users to programmatically detect paired or attached DAQ devices and create a device object through which they can access the I/O subsystems available on the device.
Classes to Access and Control DAQ Devices and Subsystems
UL for Android includes classes that allow users to access supported DAQ devices and their functional subsystems.
The main device and subsystem classes are explained below.
DaqDeviceManager – Use this class to detect and create DAQ devices.
DaqDevice – Use this class to access a DAQ device. This class contains methods to access the device I/O subsystems, identifying information, and configurations.
AiDevice – Use this class to access an analog input (AI) subsystem on a DAQ device. This class also contains analog input methods such as aIn() and aInScan(), along with methods to access AI subsystem information and configuration.
AoDevice – Use this class to access an analog output (AO) subsystem on a DAQ device. This class contains analog output methods such as aOut() and aOutScan(), along with methods to access AO subsystem information and configuration.
DioDevice – Use this class to access a digital I/O (DIO) subsystem on a DAQ device. This class contains digital I/O methods such as dIn() and dOut(), along with methods to access DIO subsystem information and configuration.
CioDevice – Use this class to access a counter I/O (CIO) subsystem on a DAQ Device. This class contains counter I/O methods such as cIn() and cClear(), along with methods to access CIO subsystem information and configuration.
TmrDevice – Use this class to access a timer I/O subsystem on a DAQ Device. This class contains timer I/O methods such as tmrOutStart() and tmrOutStop(), along with methods to access timer subsystem information and configuration.
The UL for Android also includes example projects that can be installed with the API. These examples can help users quickly get familiar with the library. Programmers can also use the source code of these examples as starting points for their own custom Android apps.