|
|
![]() |
The Application Programming Interface for Pocket PC + Notebook/PCAvailable for Windows and Linux |
What is Programming API for g.MOBIlab+ ? The Application Programming Interface (API) for g.MOBIlab+ enables you to program your own sophisticated biosignal acquisition and data processing applications based on the g.MOBIlab+ amplifier on a Pocket PC and Windows based PC/Notebook. Sample programs and the well documented source code in the electronic manual serve as a template for your programs. The Application Programming Interface for g.MOBIlab+ optimally supports your own development of mobile biosignal data processing programs. Debugging the programs directly on the Pocket PC or using the built-in emulator enables you to accelerate the development process. The g.MOBIlab+ API allows you to setup the communication with the g.MOBIlab+ amplifier, to initialize the amplifier, to start and stop the data acquisition, to set and reset digital I/O lines and to store data on the Pocket PC. Using eMbedded Visual C++ or eMbedded Visual Basic development environment you can create and program Windows Mobile applications relaying on user friendly graphical user interfaces. Using Visual C++ (Borland Compiler/Microsoft Compiler supported) PC based environment you can create and program laboratory applications relying on your preferred development tools. |
![]() |
Highlights
|
Example 1 under Windows: In the first example the data for one biosignal channel are acquired. The values are stored in a file called demo.txt. A thread called ThreadProc is created and started. This thread reads data from the serial port and stores it to the file demo.txt in ASCII format. The data can then be viewed using g.BSanalyze or simply e.g. in Microsoft Excel. In this example ECG data from channel 5 were acquired and stored on the Pocket PC. void CTestapplDlg::OnbStartRead() } |
![]() |
![]() |
|
|
|
The following simple code segment displays an example for accessing g.MOBIlab+ . int main() const char* devicelocation = "/dev/rfcomm0"; |
| Package for Windows includes | device driver API for g.MOBIlab+ |
| electronic handbook | |
| sample code and tutorial | |
| Package for Linux includes | device driver API for g.MOBIlab+ |
| electronic handbook | |
| sample code and tutorial | |
| Prerequisites | g.MOBIlab+ mobile biosignal data acquisition package |
| Windows: Microsoft eMbedded Visual C++ / Visual C++ development environment for PC | |
Linux Ubuntu: Debian package support, for other platforms the library is provided; Runs under x86 32 bit architecture |