© National Instruments Corp.
v
NI-488.2M UM for Windows NT
Contents
............................................................................................... xi
How to Use This Manual Set ........................................................................... xi
Organization of This Manual ........................................................................... xii
Conventions Used in This Manual................................................................... xiii
Related Documentation ................................................................................... xiv
Customer Communication ............................................................................... xiv
Talkers, Listeners, and Controllers ................................................... 1-1
Controller-In-Charge and System Controller .................................... 1-1
GPIB Addressing ............................................................................... 1-2
Sending Messages Across the GPIB ................................................. 1-2
Data Lines ........................................................................... 1-2
Handshake Lines ................................................................. 1-3
Interface Management Lines ............................................... 1-3
Setting Up and Configuring Your System......................................... 1-4
Controlling More Than One Board ..................................... 1-5
Configuration Requirements ............................................................. 1-5
NI-488.2M Driver and Driver Utilities ............................................. 1-6
DOS and 16-bit Windows Support Files ........................................... 1-7
C Language Files ............................................................................... 1-7
Sample Application Files .................................................................. 1-7
How the NI-488.2M Software Works with Windows NT ............................... 1-8
Unloading and Reloading the NI-488.2M Driver ............................................ 1-9
........................................................................................... 2-1
Example 1: Basic Communication ................................................................. 2-2
Example 2: Clearing and Triggering Devices................................................. 2-4
Example 3: Asynchronous I/O ........................................................................ 2-6
Example 4: End-of-String Mode..................................................................... 2-8
Example 5: Service Requests .......................................................................... 2-10
Example 6: Basic Communication with IEEE 488.2-Compliant Devices ..... 2-14
Example 7: Serial Polls Using NI-488.2 Routines ......................................... 2-16
Example 8: Parallel Polls ................................................................................ 2-18
Example 9: Non-Controller Example ............................................................. 2-20
Chapter 3
Developing Your Application
............................................................................ 3-1
Choosing How to Access the NI-488.2M DLL ............................................... 3-1