If your IVI driver uses VISA library for instrument I/O, and your runtime (debug) environment installs NI-VISA, the instrument I/O processing on the NI-VISA call can be captured by NI-SPY. For example, IVI-COM drivers made by Agilent also use VISA library therefore they can be captured by NI-SPY if the runtime environment is NI-VISA.