Write code to get laser info regardless of protocol.