In the case of control via GPIB (IEEE488), there are several SRQ masking options (e.g. for command errors as well). The associated status and event registers are also available via serial port, but they have to be actively polled because the serial ports don’t have an SRQ pin.