National Instruments NI-488.2 Refrigerator User Manual


 
Chapter 6 NI Spy Utility
© National Instruments Corporation 6-3 NI-488.2 User Manual
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.
Once you know which NI-488.2 call fails, refer to Appendix B, Status
Word Conditions, and Appendix C, Error Codes and Solutions, for help
understanding why the NI-488.2 call failed. This information is also
available in the NI-488.2 online help. For instructions on accessing the
online help, refer to the Using the NI-488.2 Documentation section in
About This Manual.
Viewing Properties for Recorded Calls
To see the detailed properties of any call recorded in the main NI Spy
window, double-click on the call. The NI Spy Property Sheet window
appears. It contains general, input, output, and buffer information, as
applicable to each call.
Exiting NI Spy
When you exit NI Spy, its current configuration is saved and used to
configure NI Spy when you start it again. Unless you save the data captured
in NI Spy before you exit, that information is lost.
To save the captured data, stop the capture by clicking on the red circled X
button on the toolbar. Then, select File»Save As to save the data in a .
spy
file. After you save your data, select File»Exit to exit the NI Spy utility.
Performance Considerations
NI Spy can slow down the performance of your NI-488.2 application, and
certain configurations of NI Spy have a larger impact on performance than
others. For example, configuring NI Spy to record calls to an output file or
to use full buffers might have a significant impact on the performance of
both your application and your system. For this reason, use NI Spy only
while you are debugging your application or in situations where
performance is not critical.