Thanks for the answer,
Actually I want to synchronize my asi178 with a laser scanning projector like sonny mpcl1.
I use a short exposure time (1/framerate/5)second: the exposure window follow the laser spot, like that I have few ambient light noising the projected image.
The problem is that the frame rate of the camera should be very close to the projector:
if the camera is too slow, the image is rolling up as the laser come at image bottom before exposition.
if the camera is too fast, images are rolling down.
I reduce the image size to reach 60 fps, but it's difficult to be really synchronized: at usb rate=97 the camera is too fast, and too slow at usb rate=96.
Finally a solution i use is to play simultaneously with image height and usb rate, to find magic combinations where frame rate is very close of projector's.
But like that I can only exploit special resolutions.
If there is a way to set the pixel clock to a value in hertz, it will be easier to synchronize and more flexible on image resolution.
A correspondence like affine function between usb speed and clock speed can be helpful too, in order to calculate in advance magic combinations for specific frame rate?