Navigate in the directory of the package and run the executable emgAcquire.exe from a command prompt:Īn example of configuration file with all the options is included in the "cfg" folder. Examples of compilation commands could be found in the provided makefile. In case you use g++ for compliling the project, the ws2_32 linrary should be linked for Windows systems whilst the pthread library should be linked for Linux systems. The API can work on both Linux and Windows systems and can be compiled for x86 (32-bit) and 圆4 (64-bit) applications. The emgAcquireClient API depends on the Tencent's rapidjson and the socketStream packages only (steps 1 and 3 are required). If you use VSCode as IDE, look at the "tasks.json" file inside the folder ".vscode" for examples of compilation commands with Visual C++ and g++. In case you want to use g++, the ws2_32 library should be linked to the project (add -lws2_32 in the compilation command). However, it is suggested to compile the project with Visual C++, if you don't have g++ installed on your system and you want to avoid looking for linking libraries. Since Easy2.AcquireCom is a 32-bit application, the target of the compiler should be the x86 architecture.įurthermore, it is possible to compile the project with both g++ and Visual C++ (cl). In order to have the proper compilation environment for the emgAcquire app, it is preferred to compile the project from a Developer Powershell for VS2019. socketStream is also a submodule of the emgAcquire package and could be cloned together by typing: The socketStream package which handles the TCP/IP connection with the client. However, there is no requirement to install or compile the project on Visual Studio. It is also strongly suggested to install the Microsoft's C++ Build Tools for Visual Studio, together with the ATL package through a Visual Studio Installer. ATL can be installed on the system through a Visual Studio Installer. The Microsoft Active Template Library (ATL). The rapidjson library can be fould in its github repo link. This is a third-party dependency, the headers of which should be included for compilation. If you need to re-compile the application, the package has the following dependencies: The pre-compiled executable is inside the "bin" folder and it doesn't require any further installation. ![]() To get the Easy2.AcquireCom library, contact Noraxon support service for the Noraxon.Acquire patch. The application has a run-time dependency on the Easy2.AcquireCom library, meaning that Easy2.AcquireCom should be installed on the system before running the application. The emgAcquireClient API and Python module is tested on Windows and Linux machines, while hopefully it works on MacOS too. Examples of how to use the emgAcquireClient API and Python module can be found in the folder "client_examples". The package also provides a cross-platform C++ API and Python module for receiving the EMG signals remotely, the emgAcquireClient. The application can be found in folder "bin" and it runs only on Windows systems. Additionally, it provides the option of introducing audio cues during the recording of the signals. The emgAcquire application is a software for acquiring, record and stream EMG signals. The package is distributed under the GNU GPL v3 license. The project is developed on Visual Studio Code. ![]() The signal acquisition in based on the Easy2.AcquireCom library and the TCP/IP communication is based on the socketStream library link. ![]() EmgAcquire is a C++ project for acquiring EMG signals from a Noraxon DTS system and stream the packets over a TCP/IP connection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |