Debugging Existing Applications

NI-488.2

Debugging Existing Applications

If the application does not have built-in error detection handling, you can use NI Spy to determine which NI-488.2 call is failing.

The NI Spy utility monitors NI-488.2 calls made by NI-488.2 applications. It records NI-488.2 input and output values for all NI-488.2 applications. For more information about NI Spy, refer to its help.

To start NI Spy, select Start»Programs»National Instruments»NI Spy. Or, click on the following button.

 Start NI Spy.

After you have an NI Spy capture file, you can use NI Spy to search for failed NI-488.2 calls by searching for calls with the ERR bit set. When you determine which NI-488.2 call failed, refer to the Ibsta Status Bit Values and the Error Codes and Solutions topics to understand why the NI-488.2 call failed.