I would not want to operate my laser at 100% output power (accidentally or otherwise).
Instead of connecting IN to +5Volt I would connect IN to the wiper of a 10K w.w. potentiometer wired between +5V and GND. This way I could manually pre-set the maximum laser tube output power that was available to be used by my software.