National Instruments NI-488.2 NI-488.2 User Manual page 5

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

Advertisement

Contents
Chapter 3
Starting GPIB Explorer ................................................................................................. 3-2
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
NI-488.2 Online Help ..................................................................................... 3-8
National Instruments GPIB Web Site ............................................................. 3-8
View or Change GPIB-ENET/100 Network Settings ................................................... 3-8
Device Configuration ...................................................................................... 3-9
Update GPIB-ENET/100 Firmware................................................................ 3-9
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
Choosing How to Use the NI-488.2 API ........................................................ 4-3
Checking Status with Global Variables......................................................................... 4-4
Status Word (ibsta).......................................................................................... 4-5
Error Variable (iberr) ...................................................................................... 4-6
Count Variables (ibcnt and ibcntl) .................................................................. 4-6
Using Interactive Control to Communicate with Devices............................................. 4-7
Programming Models .................................................................................................... 4-7
with Multiple GPIB Devices ........................................................................ 4-9
Language-Specific Programming Instructions for Windows ........................................ 4-11
Microsoft Visual C/C++ (Version 2.0 or Later) ............................................. 4-11
Borland C/C++ (Version 4.0 or Later)............................................................ 4-12
Visual Basic (Version 4.0 or Later) ................................................................ 4-12
NI-488.2 User Manual
Communicating with a Single GPIB Device .................................... 4-3
Items to Include ................................................................................ 4-7
General Program Steps and Examples.............................................. 4-8
Items to Include ................................................................................ 4-9
General Program Steps and Examples.............................................. 4-9
vi
ni.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents