Chapter 3 gpib explorer (mac os x and linux) – National Instruments NI-488.2 User Manual
Page 5
Contents
vi
ni.com
Chapter 3
GPIB Explorer (Mac OS X and Linux)
Mac OS X........................................................................................................ 3-2
Linux ............................................................................................................... 3-3
Add a New GPIB Interface............................................................................................ 3-4
Delete a GPIB Interface................................................................................................. 3-5
View NI-488.2 Software Version.................................................................................. 3-5
View or Change GPIB Interface Settings...................................................................... 3-6
Access Additional Help and Resources......................................................................... 3-8
Chapter 4
Developing Your NI-488.2 Application
Interactive Instrument Control ...................................................................................... 4-1
Choosing Your Programming Methodology ................................................................. 4-2
Choosing a Method to Access the NI-488.2 Driver........................................ 4-2
Windows ........................................................................................... 4-2
Mac OS X ......................................................................................... 4-4
Linux................................................................................................. 4-5
Choosing How to Use the NI-488.2 API ........................................................ 4-5
Communicating with a Single GPIB Device .................................... 4-5
Using Multiple Interfaces and/or Multiple Devices ......................... 4-6
Status Word (Ibsta) ......................................................................................... 4-7
Error Function (Iberr)...................................................................................... 4-8
Count Function (Ibcnt).................................................................................... 4-9
Applications That Communicate with a Single GPIB Device ........................ 4-9
Items to Include ................................................................................ 4-9
General Program Steps and Examples.............................................. 4-10
Applications That Use Multiple Interfaces or Communicate
Items to Include ................................................................................ 4-11
General Program Steps and Examples.............................................. 4-12