© Copyright 1984, 1994 National Instruments Corporation.All Rights Reserved.GPIB-PC User Manualfor theIBM Personal Computer andCompatiblesApril 1988 E
ContentsGPIB-PC User Manual x ©National Instruments Corp.Running IBCONF...
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-25 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBDMA I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-26 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBEOS I
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-27 GPIB-PC User ManualMethods B and C together determine when wr
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-28 ©National Instruments Corp.Board Examples:1. Program the interface bo
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-29 GPIB-PC User Manual4. Send END when the linefeed character is
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-30 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBEOT I
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-31 GPIB-PC User ManualDevice Example:1. Send the END message wit
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-32 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBFIND
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-33 GPIB-PC User ManualDevice Example:1. Assign the unit descript
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-34 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBGTS
Contents©National Instruments Corp. xi GPIB-PC User ManualGroup II...
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-35 GPIB-PC User ManualBoard Example:1. Turn the ATN line off wit
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-36 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBIST
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-37 GPIB-PC User ManualBoard Examples:1. Set the individual statu
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-38 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBLOC
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-39 GPIB-PC User ManualDevice Example:1. Return the device DVM% t
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-40 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBONL
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-41 GPIB-PC User ManualBoard Examples:1. Disable the interface bo
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-42 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBPAD
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-43 GPIB-PC User ManualDevice Example:1. Change the primary GPIB
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-44 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBPCT
ContentsGPIB-PC User Manual xii ©National Instruments Corp.Group VI...
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-45 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBPPC I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-46 ©National Instruments Corp.Which PPE and PPD messages are sent and t
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-47 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBRD IB
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-48 ©National Instruments Corp.If the access board is Active Controller,
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-49 GPIB-PC User ManualBoard Examples:1. Read 56 bytes of data fr
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-50 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBRDA
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-51 GPIB-PC User ManualWhen the I/O finally completes and the CMP
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-52 ©National Instruments Corp.Device Example:1. Read 56 bytes of data f
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-53 GPIB-PC User ManualBoard Examples:1. Read 56 bytes of data fr
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-54 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBRDF
Contents©National Instruments Corp. xiii GPIB-PC User ManualIBPCT...
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-55 GPIB-PC User ManualThe board IBRDF operation terminates on an
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-56 ©National Instruments Corp.Board Example:1. Read data from a device
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-57 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBRDI I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-58 ©National Instruments Corp.Device Example:1. Read 56 bytes of data f
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-59 GPIB-PC User ManualBoard Examples:1. Read 56 bytes of data in
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-60 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBRDIA
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-61 GPIB-PC User ManualUnlike IBRDA, IBRDIA stores the data direc
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-62 ©National Instruments Corp.QuickBASIC Version 4.0,replace line 150 w
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-63 GPIB-PC User ManualQuickBASIC Version 2.0 or 3.0,replace line
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-64 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBRPP
ContentsGPIB-PC User Manual xiv ©National Instruments Corp.Byte Count...
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-65 GPIB-PC User ManualDevice Example:1. Remotely configure the d
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-66 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBRSC I
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-67 GPIB-PC User ManualBoard Example:1. Request to be System Cont
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-68 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBRSP I
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-69 GPIB-PC User Manual3. IBCMD sends the following commands:• Un
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-70 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBRSV I
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-71 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBSAD I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-72 ©National Instruments Corp.Device Examples:1. Change the secondary GP
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-73 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBSIC I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-74 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBSRE I
Contents©National Instruments Corp. xv GPIB-PC User ManualESRQ(16)...
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-75 GPIB-PC User Manual2. To exclude the local ability of the dev
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-76 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBSTOP
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-77 GPIB-PC User ManualBoard Example:1. Stop any asynchronous ope
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-78 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBTMO I
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-79 GPIB-PC User ManualThe IBTMO function changes the length of t
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-80 ©National Instruments Corp.Device Example:1. Change the time limit fo
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-81 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBTRAP
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-82 ©National Instruments Corp.Device Example:1. Configure applications m
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-83 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBTRG I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-84 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBWAIT
©National Instruments Corp. xvii GPIB-PC User ManualIllustrations
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-85 GPIB-PC User ManualTable 4A.4 - Wait Mask LayoutMnemonic Bit
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-86 ©National Instruments Corp.Device Example:1. Wait indefinitely for th
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-87 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBWRT I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-88 ©National Instruments Corp.If the access board is Active Controller,
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-89 GPIB-PC User ManualBoard Example:1. Write 10 instruction byte
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-90 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBWRTA
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-91 GPIB-PC User ManualWhen the device IBWRTA function returns, I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-92 ©National Instruments Corp.Device Example:1. Write 10 instruction byt
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-93 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBWRTF
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-94 ©National Instruments Corp.The board IBWRTF operation terminates on a
©National Instruments Corp. 1-1 GPIB-PC User ManualSection One - Operation of the GPIB
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-95 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBWRTI
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-96 ©National Instruments Corp.Device Examples:1. Write 10 instruction by
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-97 GPIB-PC User ManualBoard Example:1. Write 10 instruction byte
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-98 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBWRTIA
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-99 GPIB-PC User ManualNOTE: Do not pass dynamic arrays to the a
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-100 ©National Instruments Corp.Board Example:1. Write 10 instruction byt
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-101 GPIB-PC User ManualBASICA/QuickBASIC GPIB ProgrammingExample
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-102 ©National Instruments Corp.c. Serially poll the DVM to determine if
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-103 GPIB-PC User ManualBASICA Example Program - DeviceBASICA - U
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-104 ©National Instruments Corp.415 REM420 CALL IBRSP (DVM%,SPR%)430
Operation of the GPIB Section OneGPIB-PC User Manual 1-2 ©National Instruments Corp.The switching center (Controller) monitors the communications netw
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-105 GPIB-PC User ManualBASICA Example Program - BoardBASICA - Us
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-106 ©National Instruments Corp.430 REM440 REM Send the GET message to
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-107 GPIB-PC User Manual790 REM800 REM Since the DVM and GPIB-
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-108 ©National Instruments Corp.QuickBASIC Example Program - DeviceQuickB
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-109 GPIB-PC User ManualCALL IBRSP (DVM%,SPR%)IF IBSTA% < 0 TH
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-110 ©National Instruments Corp.DEVICE-ERROR:REM A routine at this locat
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-111 GPIB-PC User ManualQuickBASIC Example Program - BoardQuickBA
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-112 ©National Instruments Corp.IF IBSTA% < 0 THEN GOSUB GPIB-ERROR:RE
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-113 GPIB-PC User ManualCMD$ = CHR$(&H19) : CALL IBCMD (BRD0%
©National Instruments Corp. 5-1 GPIB-PC User ManualSection Five - IBIC
Section One Operation of the GPIB©National Instruments Corp. 1-3 GPIB-PC User ManualGPIB Signals and LinesThe interface system consists of 16 signal l
IBIC Section FiveGPIB-PC User Manual 5-2 ©National Instruments Corp.Running IBICThe IBIC program, IBIC.EXE, is an executable file that was copiedfrom
Section Five IBIC©National Instruments Corp. 5-3 GPIB-PC User ManualUsing HELPThe HELP function gives on-line information about IBIC and thefunctions
IBIC Section FiveGPIB-PC User Manual 5-4 ©National Instruments Corp.Using IBWRTThe IBWRT command sends data from one GPIB device to another. Forexamp
Section Five IBIC©National Instruments Corp. 5-5 GPIB-PC User ManualThis command receives data from the device and displays it on thescreen in hexadec
IBIC Section FiveGPIB-PC User Manual 5-6 ©National Instruments Corp.Using SETUse IBFIND to open each device or board. Once the device or board isopene
Section Five IBIC©National Instruments Corp. 5-7 GPIB-PC User ManualIBIC Functions and SyntaxIBIC displays the following information about each functi
IBIC Section FiveGPIB-PC User Manual 5-8 ©National Instruments Corp.Other IBIC Functions and SyntaxTable 5.1 summarizes the GPIB-PC functions and synt
Section Five IBIC©National Instruments Corp. 5-9 GPIB-PC User ManualTable 5.1 - Syntax of GPIB Functions in IBIC (continued)Request service ibrsv v d3
IBIC Section FiveGPIB-PC User Manual 5-10 ©National Instruments Corp.characters into the string as shown in the following string:F3R5T1\r\n. Since th
Section Five IBIC©National Instruments Corp. 5-11 GPIB-PC User ManualTable 5.2 - Status Word LayoutMnemonics Bit Hex Function DescriptionPos. Value Ty
National Instruments Corporate Headquarters6504 Bridge Point ParkwayAustin, TX 78730-5039(512) 794-0100Technical support fax: (800) 328-2203(512) 794-
Operation of the GPIB Section OneGPIB-PC User Manual 1-4 ©National Instruments Corp.NDAC (not data accepted)NDAC indicates when a device has or has no
IBIC Section FiveGPIB-PC User Manual 5-12 ©National Instruments Corp.Byte CountWhen an I/O function completes, IBIC displays the actual number ofbytes
Section Five IBIC©National Instruments Corp. 5-13 GPIB-PC User Manual6. string consists of a list of ASCII characters, octal or hexbytes, or special s
IBIC Section FiveGPIB-PC User Manual 5-14 ©National Instruments Corp.! (Repeat Previous Function)The ! function causes the most recent function execut
Section Five IBIC©National Instruments Corp. 5-15 GPIB-PC User Manual+ (Turn ON Display)The + function causes the display to be restored.The following
IBIC Section FiveGPIB-PC User Manual 5-16 ©National Instruments Corp.n* (Repeat Function n Times)The n* function repeats the execution of the specifie
Section Five IBIC©National Instruments Corp. 5-17 GPIB-PC User Manual$ (Execute Indirect File)In the $ function, an indirect file is a text file that
IBIC Section FiveGPIB-PC User Manual 5-18 ©National Instruments Corp.PRINT (Display the ASCII String)The PRINT function can be used to echo a string t
Section Five IBIC©National Instruments Corp. 5-19 GPIB-PC User ManualIBIC Sample ProgramsRefer to Section Four A, BASICA/QuickBASIC GPIB ProgrammingEx
IBIC Section FiveGPIB-PC User Manual 5-20 ©National Instruments Corp.Write the function, range, and trigger source instructions to the DVM.Example:DVM
Section Five IBIC©National Instruments Corp. 5-21 GPIB-PC User ManualRead the serial poll status byte. This serial poll status byte will varydependin
Section One Operation of the GPIB©National Instruments Corp. 1-5 GPIB-PC User ManualSRQ (service request)Any device can drive the SRQ line to asynchro
IBIC Section FiveGPIB-PC User Manual 5-22 ©National Instruments Corp.Return to DOS.Example:DVM: eBoard Function CallsMake the interface board the curr
Section Five IBIC©National Instruments Corp. 5-23 GPIB-PC User ManualTurn on the remote enable signal (REN).Example:GPIB0:[0130] (cmpl cic atn)previou
IBIC Section FiveGPIB-PC User Manual 5-24 ©National Instruments Corp.Write the function, range, and trigger source instructions to the DVM.Be sure an
Section Five IBIC©National Instruments Corp. 5-25 GPIB-PC User ManualGPIB0:[4188] (timo cmpl lok cic atn tacs )ibwait (TIMO SRQI)Set up the device for
IBIC Section FiveGPIB-PC User Manual 5-26 ©National Instruments Corp.Example:GPIB0: [01F4] (cmpl lok rem cic atn lacs)count: 1ibcmd "\x19"Si
Section Five IBIC©National Instruments Corp. 5-27 GPIB-PC User ManualExample:GPIB0:e
©National Instruments Corp. 6-1 GPIB-PC User ManualSection Six - Applications Monitor
IBIC Section SixGPIB-PC User Manual 6-2 ©National Instruments Corp.In many cases, use of the applications monitor allows you to omitexplicit error-che
Section Six IBIC©National Instruments Corp. 6-3 GPIB-PC User Manualthe desired combination of the flags which are listed on the followingpages.Select
IBIC Section SixGPIB-PC User Manual 6-4 ©National Instruments Corp.Select only one monitor flag:-off turns the monitor off. No recording or trapping
Operation of the GPIB Section OneGPIB-PC User Manual 1-6 ©National Instruments Corp.123456789101112131415161718192021222324DIO5DIO6DIO7DIO8RENGND (TW
Section Six IBIC©National Instruments Corp. 6-5 GPIB-PC User ManualApplications Monitor OptionsWhen displayed, the applications monitor allows you to
IBIC Section SixGPIB-PC User Manual 6-6 ©National Instruments Corp.NOTE: All numbers are displayed in hexadecimal. Also, the monitor isunable to rec
Section Six IBIC©National Instruments Corp. 6-7 GPIB-PC User ManualMain CommandsWhen the main monitor screen is displayed, the following commandkeys
IBIC Section SixGPIB-PC User Manual 6-8 ©National Instruments Corp.Session Summary ScreenThis session summary can be viewed by pressing F2. Once disp
Section Six IBIC©National Instruments Corp. 6-9 GPIB-PC User ManualHiding and Showing the MonitorPressing F7 will hide the monitor and restore the con
©National Instruments Corp. A-1 GPIB-PC User ManualAppendix A - Multiline InterfaceMessages
Multiline Interface Messages Appendix AGPIB-PC User Manual A-2 ©National Instruments Corp.Multiline Interface Messages Hex Oct Dec
Appendix A Multiline Interface Messages©National Instruments Corp. A-3 GPIB-PC User ManualMultiline Interface Messages Hex Oct Dec
Multiline Interface Messages Appendix AGPIB-PC User Manual A-4 ©National Instruments Corp.Interface Message Reference ListMnemonic Message Interface F
Appendix A Multiline Interface Messages©National Instruments Corp. A-5 GPIB-PC User ManualInterface Message Reference List (Continued)Mnemonic Message
Section One Operation of the GPIB©National Instruments Corp. 1-7 GPIB-PC User ManualFigure 1.2 - Linear Configuration
©National Instruments Corp. B-1 GPIB-PC User ManualAppendix B - Common Errors andTheir Solutions
Common Errors and Their Solutions Appendix BGPIB-PC User Manual B-2 ©National Instruments Corp.ENOL(2)Error Condition: Write function detected no Lis
Appendix B Common Errors and Their Solutions©National Instruments Corp. B-3 GPIB-PC User ManualEADR(3)Error Condition: GPIB-PC (GPIB0 or GPIB1) is no
Common Errors and Their Solutions Appendix BGPIB-PC User Manual B-4 ©National Instruments Corp.ESAC(5)Error Condition: GPIB-PC not System Controller
Appendix B Common Errors and Their Solutions©National Instruments Corp. B-5 GPIB-PC User ManualENEB(7)Error Condition: Non-existent GPIB-PC board.Sol
Common Errors and Their Solutions Appendix BGPIB-PC User Manual B-6 ©National Instruments Corp.EBUS(14)Error Condition: Command error during device c
Appendix B Common Errors and Their Solutions©National Instruments Corp. B-7 GPIB-PC User ManualOther Error ConditionsListed below are general errors w
Common Errors and Their Solutions Appendix BGPIB-PC User Manual B-8 ©National Instruments Corp.• All device functions require the board to be Controll
Appendix B Common Errors and Their Solutions©National Instruments Corp. B-9 GPIB-PC User ManualError Condition: IBIC reports an error on IBFIND or IB
©National Instruments Corp. C-1 GPIB-PC User ManualAppendix C - Differences BetweenSoftware Revisions
Operation of the GPIB Section OneGPIB-PC User Manual 1-8 ©National Instruments Corp.Figure 1.3 - Star Configuration
Differences Between Software Revisions Appendix CGPIB-PC User Manual C-2 ©National Instruments Corp.New FunctionsFile I/O functions have been added to
Appendix C Differences Between Software Revisions©National Instruments Corp. C-3 GPIB-PC User ManualAsynchronous I/OThere is no asynchronous capabilit
©National Instruments Corp. D-1 GPIB-PC User ManualAppendix D - Using your Printer withthe GPIB-PC
Using your Printer with the GPIB-PC Appendix DGPIB-PC User Manual D-2 ©National Instruments Corp.Examples:SystemPRINT FILECOPY FILE LPT1BASIC10 LPRIN
©National Instruments Corp. E-1 GPIB-PC User ManualAppendix E - Application Notes
Application Notes Appendix EGPIB-PC User Manual E-2 ©National Instruments Corp.Each computer finds the appropriate device and should respond asfollows
©National Instruments Corp. F-1 GPIB-PC User ManualAppendix FCustomer Communication
Documentation Comment Form N
If you find errors in the manual, please record the page numbers anddescribe the errors.
©National Instruments Corp. G-1 GPIB-PC User ManualGlossary
Section One Operation of the GPIB©National Instruments Corp. 1-9 GPIB-PC User ManualConfiguration RequirementsTo achieve the high data transfer rate t
GlossaryGPIB-PC User Manual G-2 ©National Instruments Corp.COMMAND or COMMAND MESSAGE - Common term for interfacemessage.CONFIG.SYS - The DOS file tha
Glossary©National Instruments Corp. G-3 GPIB-PC User ManualDMA or DIRECT MEMORY ACCESS - High speed data transferbetween the GPIB-PC and memory that i
GlossaryGPIB-PC User Manual G-4 ©National Instruments Corp.HANDLER - Device driver software installed within the operatingsystem. Same as a DOS insta
Glossary©National Instruments Corp. G-5 GPIB-PC User ManualLANGUAGE INTERFACE - Code that enables an application programwritten in a particular langua
GlossaryGPIB-PC User Manual G-6 ©National Instruments Corp.PPC or PARALLEL POLL CONFIGURE - A GPIB command used toconfigure an addressed Listener to p
Glossary©National Instruments Corp. G-7 GPIB-PC User ManualSRQ or SERVICE REQUEST - The GPIB line that a device asserts tonotify the CIC that the devi
©National Instruments Corp, I-1GPIB-PC User ManualIndex
IndexGPIB-PC User Manual I-2 ©National Instruments Corp.CCalling Syntax 3-1Characteristicsdevice/board 2-11each GPIB 2-7electrical GPIB 1-5instrum
Index©National Instruments Corp, I-3GPIB-PC User ManualEElectrical characteristics 1-5EOI w/last byte of write, setting 2-14EOSbyte 2-14modes 2-14
IndexGPIB-PC User Manual I-4 ©National Instruments Corp.GPIB-PCcharacteristics of 2-7functionsintroduction to 3-1BASICA/QuickBASIC GPIB I/O 4A-2, 4
©National Instruments Corp. 2-1 GPIB-PC User ManualSection Two - Installation andConfiguration
Index©National Instruments Corp, I-5GPIB-PC User ManualE or Q (exit or quit) 5-18Execute Indirect File ($) 5-17functions and syntax 5-7, 5-8functio
IndexGPIB-PC User Manual I-6 ©National Instruments Corp.Nn* (repeat function n times) 5-16OOverview, GPIB-PC Functions 4-1PPhysical characteristics
Index©National Instruments Corp, I-7GPIB-PC User ManualPreparation 2-3Software, MC-GPIB 2-3Software, preparation 2-3Software, test installation 2-
Installation and Configuration Section TwoGPIB-PC User Manual 2-2 ©National Instruments Corp.• DECL.BAS - is a declaration file that contains code to
Section Two Installation and Configuration©National Instruments Corp. 2-3 GPIB-PC User Manual• DBSAMP.BAS, BBSAMP.BAS, DQBSAMP, BIBSAMP, andDIBSAMP -
Installation and Configuration Section TwoGPIB-PC User Manual 2-4 ©National Instruments Corp.Step 2 - Run IBSTARTRun IBSTART from the distribution dis
Limited WarrantyThe GPIB-PC is warranted against defects in materials and workmanshipfor a period of two years from the date of shipment, as evidenced
Section Two Installation and Configuration©National Instruments Corp. 2-5 GPIB-PC User ManualFinally, IBSTART advises you to complete the following ac
Installation and Configuration Section TwoGPIB-PC User Manual 2-6 ©National Instruments Corp.If errors occur, check the following:• Did you read Getti
Section Two Installation and Configuration©National Instruments Corp. 2-7 GPIB-PC User ManualCharacteristics of the InstrumentsEach instrument used wi
Installation and Configuration Section TwoGPIB-PC User Manual 2-8 ©National Instruments Corp.• What DMA channel, if any, the board uses.• Whether it u
Section Two Installation and Configuration©National Instruments Corp. 2-9 GPIB-PC User Manualdevice is automatically terminated when END is received.
Installation and Configuration Section TwoGPIB-PC User Manual 2-10 ©National Instruments Corp.IBCONF makes changes to the GPIB.COM file, which should
Section Two Installation and Configuration©National Instruments Corp. 2-11 GPIB-PC User ManualDevice Map Concepts and Terms• Device Name - contains up
Installation and Configuration Section TwoGPIB-PC User Manual 2-12 ©National Instruments Corp.Device and Board CharacteristicsPrimary GPIB AddressEach
Section Two Installation and Configuration©National Instruments Corp. 2-13 GPIB-PC User ManualThis field is set to a code mnemonic which specifies the
Installation and Configuration Section TwoGPIB-PC User Manual 2-14 ©National Instruments Corp.EOS ByteSome devices can be programmed to terminate a re
National Instruments must be brought within one year after the cause ofaction accrues. National Instruments shall not be liable for any delay inperfo
Section Two Installation and Configuration©National Instruments Corp. 2-15 GPIB-PC User ManualLocal Lockout on all Devices (Boards Only)It is desirabl
Installation and Configuration Section TwoGPIB-PC User Manual 2-16 ©National Instruments Corp.DMA Channel (Boards Only)This field appears only on comp
Section Two Installation and Configuration©National Instruments Corp. 2-17 GPIB-PC User ManualSituations which are checked are as follows:• GPIB addre
Installation and Configuration Section TwoGPIB-PC User Manual 2-18 ©National Instruments Corp.Using Your GPIB-PCNow that your software and hardware ar
©National Instruments Corp. 3-1 GPIB-PC User ManualSection Three - GPIB-PCFunctions — Introduction
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-2 ©National Instruments Corp.Group IGroup I functions may be the only functions yo
Section Three GPIB-PC Functions — Introduction©National Instruments Corp. 3-3 GPIB-PC User ManualIBFIND (bdname,bd)IBFIND returns a unit descriptor a
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-4 ©National Instruments Corp.IBCLR (bd)IBCLR clears the device by sending to it th
Section Three GPIB-PC Functions — Introduction©National Instruments Corp. 3-5 GPIB-PC User ManualPlacing a Device in Local ModeDevices must usually b
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-6 ©National Instruments Corp.These functions are used under the following conditio
©National Instruments Corp. v GPIB-PC User ManualPreface
Section Three GPIB-PC Functions — Introduction©National Instruments Corp. 3-7 GPIB-PC User ManualIBTMO (bd,v)IBTMO changes the time limit in which op
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-8 ©National Instruments Corp.Group IVThe functions described previously have been
Section Three GPIB-PC Functions — Introduction©National Instruments Corp. 3-9 GPIB-PC User ManualGroup IV functions can be used under the following c
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-10 ©National Instruments Corp.IBFIND (bdname,bd)This is the same as the Group I fu
Section Three GPIB-PC Functions — Introduction©National Instruments Corp. 3-11 GPIB-PC User ManualBoards DevicesGPIB0GPIB1GPIBBoardGPIBBoardOscillosc
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-12 ©National Instruments Corp.IBWRT (bd,buf,cnt) andIBWRTA (bd,buf,cnt)Both functi
Section Three GPIB-PC Functions — Introduction©National Instruments Corp. 3-13 GPIB-PC User ManualIBSRE (bd,v)IBSRE uses the board to set or clear th
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-14 ©National Instruments Corp.More About Device and Board FunctionsBefore proceedi
Section Three GPIB-PC Functions — Introduction©National Instruments Corp. 3-15 GPIB-PC User ManualGroup VGroup V functions are used when the GPIB-PC
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-16 ©National Instruments Corp.IBPPC (bd,v)IBPPC locally configures or unconfigures
PrefaceGPIB-PC User Manual vi ©National Instruments Corp.•A Getting Started with your GPIB-PC pamphlet. The pamphletcontains the directions with a mi
Section Three GPIB-PC Functions — Introduction©National Instruments Corp. 3-17 GPIB-PC User ManualGroup VIGroup VI functions are used only when the d
GPIB-PC Functions — Introduction Section ThreeGPIB-PC User Manual 3-18 ©National Instruments Corp.IBEOS (bd,v)IBEOS assigns the end of string (EOS) ch
©National Instruments Corp. 4-1 GPIB-PC User ManualSection Four - GPIB-PCFunctions — Overview
GPIB-PC Functions — Overview Section FourGPIB-PC User Manual 4-2 ©National Instruments Corp.Status WordAll functions return a status word containing i
Section Four GPIB-PC Functions — Overview©National Instruments Corp. 4-3 GPIB-PC User ManualERR (db) ERR is set in the status word following any call
GPIB-PC Functions — Overview Section FourGPIB-PC User Manual 4-4 ©National Instruments Corp.RQS (d) RQS appears only in the status word of a device fu
Section Four GPIB-PC Functions — Overview©National Instruments Corp. 4-5 GPIB-PC User Manualas a Talker. It is sent either by the GPIB-PC itself or b
GPIB-PC Functions — Overview Section FourGPIB-PC User Manual 4-6 ©National Instruments Corp.Error CodesWhen the ERR bit is set in the status word, a G
Section Four GPIB-PC Functions — Overview©National Instruments Corp. 4-7 GPIB-PC User ManualIt is also returned when an invalid unit descriptor is pas
GPIB-PC Functions — Overview Section FourGPIB-PC User Manual 4-8 ©National Instruments Corp.address to the device in the handler.For a board write, an
Preface©National Instruments Corp. vii GPIB-PC User ManualAbout the ManualThis manual is written specifically for a GPIB-PC which is to beinstalled in
Section Four GPIB-PC Functions — Overview©National Instruments Corp. 4-9 GPIB-PC User ManualGPIB-PC does not have System Controller capability. There
GPIB-PC Functions — Overview Section FourGPIB-PC User Manual 4-10 ©National Instruments Corp.EFSO (12) EFSO results when an IBRDF or IBWRTF call encou
Section Four GPIB-PC Functions — Overview©National Instruments Corp. 4-11 GPIB-PC User ManualCount VariableThe IBCNT variable is updated after each re
GPIB-PC Functions — Overview Section FourGPIB-PC User Manual 4-12 ©National Instruments Corp.Device Function CallsDevice functions are those functions
Section Four GPIB-PC Functions — Overview©National Instruments Corp. 4-13 GPIB-PC User ManualAutomatic Serial PollingIf this feature is enabled, the h
GPIB-PC Functions — Overview Section FourGPIB-PC User Manual 4-14 ©National Instruments Corp.If the handler is configured with automatic serial pollin
©National Instruments Corp. 4A-1 GPIB-PC User ManualSection Four A -BASICA/QuickBASIC GPIB-PCFunction Calls
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-2 ©National Instruments Corp.If information is required that is specific
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-3 GPIB-PC User Manual• QBIB2.OBJ - Version 2.0 and 3.0 without c
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-4 ©National Instruments Corp.You may change function and variable names
PrefaceGPIB-PC User Manual viii ©National Instruments Corp.Appendix C - Differences Between Software Revisions points outdifferences between revisions
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-5 GPIB-PC User ManualTo run your program from within the QuickBA
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-6 ©National Instruments Corp.perform arithmetic operations on the data a
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-7 GPIB-PC User ManualTable 4A.1 - BASICA GPIB-PC FunctionsDescri
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-8 ©National Instruments Corp.Table 4A.1 - BASICA GPIB-PC Functions (cont
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-9 GPIB-PC User ManualTable 4A.2 - QuickBASIC GPIB-PC Calls (cont
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-10 ©National Instruments Corp.Table 4A.3 - QuickBASIC GPIB-PC CallsDescr
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-11 GPIB-PC User ManualTable 4A.3 - QuickBASIC GPIB-PC Calls (con
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-12 ©National Instruments Corp.New GPIB-PC FunctionsSince QuickBASIC Vers
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-13 GPIB-PC User ManualThere are a few differences between the ex
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-14 ©National Instruments Corp.Table 4A.4 - QuickBASIC Version 4.0 GPIB-P
©National Instruments Corp. ix GPIB-PC User ManualContents
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-15 GPIB-PC User ManualTable 4A.4 - QuickBASIC Version 4.0 GPIB-P
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-16 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBBNA I
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-17 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBCAC I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-18 ©National Instruments Corp.2. Take control synchronously and assert A
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-19 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBCLR I
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-20 ©National Instruments Corp.BASICA/QuickBASIC BASICA/QuickBASICIBCMD I
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-21 GPIB-PC User ManualIn the examples that follow, GPIB commands
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-22 ©National Instruments Corp.6. Unaddress all Listeners and serially po
Section Four A BASICA/QuickBASIC GPIB-PC Function Calls©National Instruments Corp. 4A-23 GPIB-PC User ManualBASICA/QuickBASIC BASICA/QuickBASICIBCMDA
BASICA/QuickBASIC GPIB-PC Function Calls Section Four AGPIB-PC User Manual 4A-24 ©National Instruments Corp.• IBONL - to cancel the I/O and reset the
Comentarios a estos manuales