Got the C++ program communicating with the Arduino. Now I need to work on sampling and updating.