Example of trikControl usage from C++ code