Global Status Variables; Figure 4-1. Ni-488.2 Calls Recorded By Ni Spy - National Instruments NI-488.2 User Manual

National instruments user manual ni-488.2
Hide thumbs Also See for NI-488.2:
Table of Contents

Advertisement

Chapter 4
Debugging Your Application

Global Status Variables

NI-488.2 User Manual for Windows
NI Spy records and displays all NI-488.2 calls, as shown in Figure 4-1.

Figure 4-1. NI-488.2 Calls Recorded by NI Spy

For more information about using NI Spy, select Help»Help Topics in
NI Spy or refer to Chapter 5,
At the end of each NI-488.2 call, the global status variables (
,
, and
iberr
ibcnt
ibcntl
NI-488.2 application, you should check for errors after each NI-488.2 call.
If a NI-488.2 call failed, the high bit of
failed NI-488.2 call,
iberr
error cases, the value in
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,
Conditions, and Appendix C,
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
About This
Manual.
NI Spy
Utility.
) are updated. If you are developing an
ibsta
contains a value that defines the error. In some
contains even more error information.
ibcntl
Error Codes and
Using the NI-488.2 Documentation
4-2
,
ibsta
(the
bit) is set. For a
ERR
Status Word
Solutions, for help
section in
www.natinst.com

Advertisement

Table of Contents
loading

Table of Contents