Simulating camera disconnection

Is there a way to implement a program that simulates camera disconnection?

Using “ZED Sensor Viewer” it happens that I have to wait SO MANY MINUTES to let the imu calibrate even if the temperatura is good and steady. I noticed that disconnecting and reconnecting the camera is really helpful but I need to do this without disconnect it physically.

Thank you

Hi @Paolo
what camera model are you using?

I’m using ZED2i, recently bought

You can call the static ZED SDK function reboot that replicates the behaviors of an unplug/replug operation: