National Instruments GPIB-PC User Manual
National Instruments Hardware
Advertising
Table of contents
Document Outline
- GPIB-PC User Manual for the IBM Personal Computer and Compatibles
- Preface
- Contents
- Section One - Operation of the GPIB
- Types of Messages
- Talkers, Listeners, and Controllers
- The Controller-In-Charge and System Controller
- GPIB Signals and Lines
- Data Lines
- Handshake Lines
- NRFD (not ready for data)
- NDAC (not data accepted)
- DAV (data valid)
- Interface Management Lines
- ATN (attention)
- IFC (interface clear)
- REN (remote enable)
- SRQ (service request)
- EOI (end or identify)
- Physical and Electrical Characteristics
- Configuration Requirements
- Related Documents
- Section Two - Installation and Configuration
- Installing the Hardware
- The GPIB-PC Software Package
- Additional Programs and Files
- Installing the Software
- Step 1 - Preparation
- Booting from a Floppy Disk
- Booting from a Hard Disk
- Step 2 - Run IBSTART
- Step 3 - Run IBCONF (optional)
- Step 4 - Reboot
- Step 5 - Test Software Installation
- More About IBCONF
- Characteristics of the Instruments
- Characteristics of each GPIB-PC
- Default Configurations
- Primary Default Characteristics
- Running IBCONF
- Upper and Lower Levels of IBCONF
- Upper Level - Device Map for Board GPIBx
- Device Map Concepts and Terms
- Lower Level - Device/Board Characteristics
- Device and Board Characteristics
- Primary GPIB Address
- Secondary GPIB Address
- Timeout Settings
- EOS Byte
- EOS Modes
- Set EOI with last byte of Write
- GPIB-PC Model
- Board is System Controller (Boards Only)
- Local Lockout on all Devices (Boards Only)
- Disable Auto Serial Polling (Boards Only)
- High-Speed Timing (Boards Only)
- Interrupt Jumper Setting (Boards Only)
- Base I/O Address (Boards Only)
- DMA Channel (Boards Only)
- Internal Clock Frequency (Boards Only)
- Exiting IBCONF
- Using Your GPIB-PC
- Section Three - GPIB-PC Functions — Introduction
- Introduction to the GPIB-PC Functions
- High-Level Functions
- Low-Level Functions
- Calling Syntax
- Group I
- IBRD (bd,buf,cnt)
- IBWRT (bd,buf,cnt)
- IBFIND (bdname,bd)
- Group II
- IBRSP (bd,spr)
- IBCLR (bd)
- Clearing the Device Versus Clearing the GPIB
- Clearing the Device
- Clearing the GPIB
- IBTRG (bd)
- IBLOC (bd)
- Placing a Device in Remote Mode
- Placing a Device in Local Mode
- Group III
- IBRDA (bd,buf,cnt) and IBWRTA (bd,buf,cnt)
- IBRDF (bd,buf,cnt) and IBWRTF (bd,buf,cnt)
- IBWAIT (bd,mask)
- IBSTOP (bd)
- IBTMO (bd,v)
- IBONL (bd,v)
- IBPCT (bd)
- Group IV
- Purpose of Board Functions
- Multiboard Capability
- IBFIND (bdname,bd)
- IBCMD (bd,buf,cnt) and IBCMDA (bd,buf,cnt)
- IBRD (bd,buf,cnt) and IBRDA (bd,buf,cnt)
- IBWRT (bd,buf,cnt) and IBWRTA (bd,buf,cnt)
- IBSTOP (bd)
- IBWAIT (bd,mask)
- IBTMO (bd,v)
- IBONL (bd,v)
- IBSIC (bd)
- IBSRE (bd,v)
- IBGTS (bd,v)
- IBCAC (bd,v)
- IBRPP (bd,buf)
- IBPPC (bd,v)
- More About Device and Board Functions
- Group V
- IBRSV (bd,v)
- IBLOC (bd)
- IBPPC (bd,v)
- IBIST (bd,v)
- IBWAIT (bd,mask)
- Group VI
- IBEOT (bd,v)
- IBEOS (bd,v)
- IBBNA (bd,"GPIBn")
- IBDMA (bd,v)
- IBPAD (bd,v)
- IBSAD (bd,v)
- IBRSC (bd,v)
- IBTMO (bd,v)
- Section Four - GPIB-PC Functions — Overview
- Section Four A -BASICA/ QuickBASIC GPIB-PC Function Calls
- BASICA Files
- QuickBASIC Files
- Programming Preparations for BASICA
- Programming Preparations for QuickBASIC
- BASICA/QuickBASIC GPIB-PC I/O Functions
- BASICA/QuickBASIC "ON SRQ" Capability
- New GPIB-PC Functions
- GPIB-PC Function Descriptions
- IBBNA
- IBCAC
- IBCLR
- IBCMD
- IBCMDA
- IBDMA
- IBEOS
- IBEOT
- IBFIND
- IBGTS
- IBIST
- IBLOC
- IBONL
- IBPAD
- IBPCT
- IBPPC
- IBRD
- IBRDA
- IBRDF
- IBRDI
- IBRDIA
- IBRPP
- IBRSC
- IBRSP
- IBRSV
- IBSAD
- IBSIC
- IBSRE
- IBSTOP
- IBTMO
- IBTRAP
- IBTRG
- IBWAIT
- IBWRT
- IBWRTA
- IBWRTF
- IBWRTI
- IBWRTIA
- BASICA/QuickBASIC GPIB Programming Examples
- BASICA Example Program - Device
- BASICA Example Program - Board
- QuickBASIC Example Program - Device
- QuickBASIC Example Program - Board
- Section Five - IBIC
- Running IBIC
- Using HELP
- Using IBFIND
- Using IBWRT
- Using IBRD
- How to Exit IBIC
- Important Programming Note
- Using SET
- IBIC Functions and Syntax
- Other IBIC Functions and Syntax
- Status Word
- Error Code
- Byte Count
- Auxiliary Functions
- SET (Select Device or Board)
- HELP (Display Help Information)
- ! (Repeat Previous Function)
- - (Turn OFF Display)
- + (Turn ON Display)
- n* (Repeat Function n Times)
- $ (Execute Indirect File)
- PRINT (Display the ASCII String)
- E or Q (exit or quit)
- IBIC Sample Programs
- Device Function Calls
- Board Function Calls
- Section Six - Applications Monitor
- Appendix A - Multiline Interface Messages
- Appendix B - Common Errors and Their Solutions
- Appendix C - Differences Between Software Revisions
- Revision B and Revision C
- Interrupts
- Startup Program
- Configuration Program
- Interface Bus Interactive Control Program (IBIC)
- New Functions
- Modified Functions
- Language Interfaces
- General
- Revision C and Revision D
- Device Functions
- Non-Interrupt Mode
- Asynchronous I/O
- DMA on the GPIB-PCIII
- Local Lockout
- SRQI Status Bit
- ATN and/or TIMO
- DCAS and DTAS Status Bits
- Printer Support
- Appendix D - Using your Printer with the GPIB-PC
- Appendix E - Application Notes
- Appendix F Customer Communication
- Glossary
- Index
- Illustrations
- List of Figures
- Figure 1.1 - GPIB Connector and the Signal Assignment
- Figure 1.2 - Linear Configuration
- Figure 1.3 - Star Configuration
- Figure 3.1 - Multiboard GPIB System
- Figure 6.1 - Applications Monitor Popup Screen
- List of Tables
- Table 2.1 - Timeout Settings
- Table 2.2 - Functions that Alter Default Characteristics
- Table 4.1 - Status Word Layout
- Table 4.2 - GPIB Error Codes
- Table 4A.1 - BASICA GPIB-PC Functions
- Table 4A.2 - QuickBASIC GPIB-PC Calls
- Table 4A.3 - QuickBASIC GPIB-PC Calls
- Table 4A.4 - QuickBASIC Version 4.0 GPIB-PC Functions
- Table 4A.5 - Data Transfer Termination Method
- Table 4A.6 - Wait Mask Layout
- Table 5.1 - Syntax of GPIB Functions in IBIC
- Table 5.2 - Status Word Layout
- Table 5.3 - Auxiliary Functions that IBIC Supports