Hi s.ri08 and welcome on board,
As usual, we recommend using VRPN protocol to communicate with OpenViBE, via VRPN analog and button boxes.
You will find many posts on this forum related to the use of VRPN protocol.This tutorial
gives an example of C++ 3D application that uses VRPN to get data from openvibe.
The following tutorials are much more recent :From an external application to OpenViBEFrom OpenViBE to an external application
Hope this helps !
Follow us on twitter >> openvibebci
Checkout my (old) blog for some OpenViBE tips & tricks : here !