Co-Simulation via C++

Have you gotten this to work? I’m very interested in co-simulation/HIL stuff but C++ and driving usb ports are not something i currently have any knowledge in. If you have anything i would be very grateful if you could share it