ContentsNI-488.2 User Manual vi ni.comChapter 3GPIB Explorer (Mac OS X and Linux)Starting GPIB Explorer ................................................................................................. 3-2Mac OS X........................................................................................................ 3-2Linux ............................................................................................................... 3-3Add a New GPIB Interface............................................................................................ 3-4Delete a GPIB Interface................................................................................................. 3-5View NI-488.2 Software Version.................................................................................. 3-5View or Change GPIB Interface Settings...................................................................... 3-6Access Additional Help and Resources......................................................................... 3-8NI-488.2 Online Help ..................................................................................... 3-8National Instruments GPIB Web Site ............................................................. 3-8View or Change GPIB-ENET/100 Network Settings ................................................... 3-8Device Configuration ...................................................................................... 3-9Update GPIB-ENET/100 Firmware................................................................ 3-9Chapter 4Developing Your NI-488.2 ApplicationInteractive Instrument Control ...................................................................................... 4-1Choosing Your Programming Methodology ................................................................. 4-2Choosing a Method to Access the NI-488.2 Driver........................................ 4-2Choosing How to Use the NI-488.2 API ........................................................ 4-3Communicating with a Single GPIB Device .................................... 4-3Using Multiple Interfaces and/or Multiple Devices ......................... 4-4Checking Status with Global Variables......................................................................... 4-4Status Word (ibsta).......................................................................................... 4-5Error Variable (iberr) ...................................................................................... 4-6Count Variables (ibcnt and ibcntl) .................................................................. 4-6Using Interactive Control to Communicate with Devices............................................. 4-7Programming Models .................................................................................................... 4-7Applications That Communicate with a Single GPIB Device ........................ 4-7Items to Include ................................................................................ 4-7General Program Steps and Examples.............................................. 4-8Applications That Use Multiple Interfaces or Communicatewith Multiple GPIB Devices ........................................................................ 4-9Items to Include ................................................................................ 4-9General Program Steps and Examples.............................................. 4-9Language-Specific Programming Instructions for Windows ........................................ 4-11Microsoft Visual C/C++ (Version 2.0 or Later) ............................................. 4-11Borland C/C++ (Version 4.0 or Later)............................................................ 4-12Visual Basic (Version 4.0 or Later) ................................................................ 4-12