Controlling Galvanometer Mirrors and PMT to generate Confocal Image

Hi All,
Thanks in advance for any replies. I’m am looking to be able to control a Nikon A1R’s galvanometer mirrors and PMTs. Is there anyway I can control these devices with code or are there any plugins I can use to help with controlling these devices. Attached are the specifications of the mirrors and PMT as well as a link to the entire microscope’s specifications. Thanks again!
Galvanometer Mirror:

Microscope Link: