Contents
© National Instruments Corporation vii NI-488.2 User Manual
Direct Entry with C .........................................................................................4-12
gpib-32.dll Exports............................................................................4-12
Directly Accessing the gpib-32.dll Exports......................................4-13
Language-Specific Programming Instructions for Mac OS X.......................................4-16
Language-Specific Programming Instructions for Linux.............................................. 4-16
Chapter 5Debugging Your ApplicationNI Spy............................................................................................................................5-1
Global Status Variables .................................................................................................5-1
NI-488.2 Error Codes ....................................................................................................5-1
Configuration Errors......................................................................................................5-2
Timing Errors.................................................................................................................5-2
Communication Errors...................................................................................................5-3
Repeat Addressing...........................................................................................5-3
Termination Method........................................................................................5-3
Other Errors ...................................................................................................................5-3
Chapter 6NI Spy UtilityOverview........................................................................................................................6-1
Starting NI Spy ..............................................................................................................6-1
Windows..........................................................................................................6-1
Mac OS X and Linux.......................................................................................6-1
Monitoring API Calls with NI Spy................................................................................6-2
Using the NI Spy Online Help.......................................................................................6-2
Locating Errors with NI Spy..........................................................................................6-2
Debugging Existing Applications..................................................................................6-3
Viewing Properties for Recorded Calls.........................................................................6-3
Exiting NI Spy...............................................................................................................6-3
Performance Considerations..........................................................................................6-3
Chapter 7Interactive Control UtilityOverview........................................................................................................................7-1
Getting Started with Interactive Control........................................................................7-1
Interactive Control Syntax.............................................................................................7-4
Number Syntax................................................................................................7-4
String Syntax...................................................................................................7-5
Address Syntax................................................................................................7-5
Interactive Control Commands......................................................................................7-5