Another device used in the capture of spectra is the Shelyak SPOX. It controls switching on/off calibration module lamps mounted on the side of the spectroscope, for reference spectra and for internal flat frames.
Shelyak has an app and ASCOM driver to control the device via USB.
https://www.shelyak.com/produits/spox/?lang=en under the software tab.
Ideally, the device would be available for script control in Prism, too.