Industrial cameras have hardware interfaces, you need to go to the camera's official website to find the corresponding product manual, to find which pin is the trigger signal line, directly connect the microcontroller IO on it.
But the industrial camera is soft trigger by default, you need to install the official software of the industrial camera on your computer to set it up, change it to hard trigger, and specify the trigger line, save it.