Control a CAEN N1470 NIM module using C++ and the ftd2xx library