background image

 

 

 

 

National Instruments GPIB-PCIIB Manual 

Get Pricing & Availability at 

 

ApexWaves.com 

 

Call Today: 1-800-915-6216 

Email: 

[email protected]

 

 

 

 

 

 

 

 

https://www.apexwaves.com/modular-systems/national-instruments/gpib-instrument-control-modules/GPIB-PCIIB

 

Summary of Contents for GPIB-PCIIB

Page 1: ...nts GPIB PCIIB Manual Get Pricing Availability at ApexWaves com Call Today 1 800 915 6216 Email sales apexwaves com https www apexwaves com modular systems national instruments gpib instrument control modules GPIB PCIIB ...

Page 2: ... Copyright 1989 1994 National Instruments Corporation All Rights Reserved Getting Started with Your GPIB PCIIB and the NI 488 Software for MS DOS June 1994 Edition Part Number 320226B 01 ...

Page 3: ...fices Australia 03 879 9422 Austria 0662 435986 Belgium 02 757 00 20 Canada Ontario 519 622 9310 Canada Québec 514 694 8521 Denmark 45 76 26 00 Finland 90 527 2321 France 1 48 14 24 24 Germany 089 741 31 30 Italy 02 48301892 Japan 03 3788 1921 Netherlands 03480 33466 Norway 32 848400 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland 056 20 51 51 U K 0635 523545 ...

Page 4: ...k National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this manual is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist National Instruments reserves the right to make changes to subsequent editions of this ...

Page 5: ...uctions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be reproduced or transmitted in any form electronic or mechanical including photocopying recording storing in an information retrieval system...

Page 6: ...r or application designer Any use or application of National Instruments products for or involving medical or clinical treatment must be performed by properly trained and qualified medical personnel and all traditional medical safeguards equipment and procedures that are appropriate in the particular situation to prevent serious injury or death should always continue to be used when National Instr...

Page 7: ... Communications This device complies with the limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications DOC Le présent appareil numérique n émet pas de bruits radioélectriques dépassant les limites applicables aux appareils numériques de classe B prescrites dans le règlement sur le brouillage radioélectrique é...

Page 8: ...t the equipment is plugged into a grounded outlet and that the grounding has not been defeated with a cheater plug Notice to user Changes or modifications not expressly approved by National Instruments could void the user s authority to operate the equipment under the FCC Rules If necessary consult National Instruments or an experienced radio television technician for additional suggestions The fo...

Page 9: ... 2 2 Base I O Address Selection 2 3 Interrupt Selection 2 5 DMA Channel Selection 2 6 Wait State Generator 2 8 Installation 2 9 Chapter 3 Software Installation and Configuration 3 1 The NI 488 Software Package 3 1 Main Programs and Files 3 1 Additional Programs and Files 3 2 Installing the Software 3 3 Step 1 Preparation 3 3 Step 2 Run IBSTART 3 4 Accessing IBSTART 3 4 Running IBSTART 3 4 Step 3 C...

Page 10: ...Board Characteristic Only 3 12 Running IBCONF 3 12 Exiting IBCONF 3 13 Chapter 4 Using Your GPIB PCIIB 4 1 Appendix Customer Communication A 1 Glossary G 1 Figures Figure 2 1 GPIB PCIIB Parts Locator Diagram 2 1 Figure 2 2 Base I O Address Switch Settings 2 4 Figure 2 3 Interrupt Jumper Setting Options 2 5 Figure 2 4 DMA Channel Jumper Setting Options 2 7 Figure 2 5 Wait State Generator Settings 2...

Page 11: ... instructions to configure and install the GPIB PCIIB interface board Chapter 3 Software Installation and Configuration contains the instructions for installing and configuring the NI 488 software Chapter 4 Using Your GPIB PCIIB recommends that you read specific chapters of the NI 488 MS DOS Software Reference Manual when using your GPIB PCIIB board Appendix Customer Communication contains forms y...

Page 12: ...ckets enclose the name of a key on the keyboard for example PageDown A hyphen between two or more key names enclosed in angle brackets denotes that you should simultaneously press the named keys for example Control Alt Delete Enter Key names are capitalized Customer Communication National Instruments wants to receive your comments on our products and manuals We are interested in the applications y...

Page 13: ...erfaces or 5 25 in NI 488 Distribution Disk for NI 488 MS DOS Handler BASICA QuickBASIC C and Universal Interfaces Microsoft C Optional Equipment You can call National Instruments to order the following optional equipment Double shielded GPIB cables GPIB Type X2 cables 1 m 2 m or 4 m To meet FCC emission limits for a Class B device you must use a double shielded Type X2 GPIB cable Operating this e...

Page 14: ...e Configuration and Installation This chapter contains the instructions to configure and install the GPIB PCIIB interface board Configuration Figure 2 1 shows the location of the GPIB PCIIB configuration jumpers and switches Figure 2 1 GPIB PCIIB Parts Locator Diagram ...

Page 15: ... software Switch and Jumper Settings Table 2 1 shows the factory settings and optional configurations for the switches and jumpers on the GPIB PCIIB Table 2 1 Factory Default Settings and Optional Configurations GPIB PCIIB Default Optional Base I O Address hex hex 2B0 000 3F0 DMA Channel 1 2 3 Not Used Interrupt Line IRQ 7 2 3 4 5 6 Not Used If your computer is an IBM PC PC XT or PC AT the base ad...

Page 16: ...alled in your computer If any equipment in your computer uses this I O address space change the base I O address of either the GPIB PCIIB or the other device If the GPIB PCIIB I O address is changed make a corresponding change to the GPIB PCIIB software as described in the Step 3 Configure the Software section of Chapter 3 Press the side marked OFF to select a binary value of 1 for the correspondi...

Page 17: ...1 Push this side down ON for logic 0 O F F O N 1 3 2 4 5 6 1 U22 0 S0 S1 S2 S3 S4 S5 OFF 1 ON 0 ON 0 OFF 1 OFF 1 0 0 0 0 Binary Hex 2 B 0 a Switch Set to Default Setting Base I O Address 2B0 OFF 1 b Switch Set to Base Address 2D0 O F F O N 1 3 2 4 5 6 1 U22 0 S0 S1 S2 S3 S4 S5 OFF 1 ON 0 ON 0 OFF 1 OFF 1 Binary Hex 2 D 0 OFF 1 0 0 0 0 Figure 2 2 Base I O Address Switch Settings ...

Page 18: ... an interrupt line and place the jumper in the appropriate position to enable that line The interrupt lines that the GPIB PCIIB can use are I7 I6 I5 I4 I3 and I2 Once you have selected an interrupt line place the jumper on the appropriate pins to select the interrupt line Figure 2 3 shows four of the allowable jumper configurations c Interrupt Line 2 Selected b Interrupt Line 5 Selected d No Inter...

Page 19: ...e DMA channel 1 Verify that this DMA channel is not also used by equipment already installed in your computer If any device uses DMA channel 1 change the DMA channel used by either the GPIB PCIIB or the other device The GPIB PCIIB hardware can use DMA channels 1 2 or 3 or no channel at all Each DMA channel consists of two signal lines as shown in Table 2 2 Table 2 2 DMA Channels for the GPIB PCIIB...

Page 20: ...DMA Acknowledge and DMA Request lines selected must have the same numeric suffix for proper operation Figure 2 4 displays the jumper position options R1 A3 A1 R1 A2 R2 A3 R3 b DMA Channel 2 Selected A1 R1 A2 R2 A3 R3 A1 A2 R2 R3 a DMA Channel 1 Selected Default Setting A2 R2 A3 R3 d No DMA Channel Selected A1 R2 Figure 2 4 DMA Channel Jumper Setting Options ...

Page 21: ...B are met on computers with very fast I O cycles less than 180 nsec The default configuration setting for the wait state generator is at the disabled position as almost all personal computers already have sufficiently long I O cycles Figure 2 5 shows the two possible settings for the wait state generator b Wait State Generator Disabled Default Setting a Wait State Generator Enabled WAIT STATE OFF ...

Page 22: ...ference manual of your personal computer for specific instructions and warnings 1 Turn off your computer 2 Remove the top cover or access port to the I O channel 3 Remove the expansion slot cover on the back panel of the computer 4 Insert the GPIB PCIIB in an unused slot with the IEEE 488 receptacle sticking out the opening of the back panel It may be a tight fit but do not force the board in plac...

Page 23: ...Disk Operating System Handler is a term used by National Instruments to refer to a loadable device driver ULI COM is the Universal Language Interface software driver file needed to use the Universal Language Interface Using HP Style Calls option of the NI 488 software package BIB M is a binary language interface file that gives an application program written in BASICA access to the NI 488 handler ...

Page 24: ... accessed directly at the DOS command line IBSTART BAT is a batch file that you can use to install the NI 488 software It is a multipurpose program that performs the software installation It copies files modifies CONFIG SYS the MS DOS system configuration file using MKCFG EXE and tests the hardware using IBDIAG EXE IBTEST EXE is a program that you can use to test the installation of the NI 488 sof...

Page 25: ... DOC file for a complete list of these example programs Installing the Software The NI 488 distribution diskette has a batch file named IBSTART BAT that installs the NI 488 software for you The term startup disk refers to the hard disk or diskette that contains MS DOS The startup disk is read by your computer when you power on or restart your computer Step 1 Preparation Your first step depends on ...

Page 26: ...on diskette by first entering the following command y where you replace y with the letter of the distribution diskette drive and then entering the following command ibstart x where you replace x with the letter of the startup drive For example if the NI 488 distribution diskette is in drive B and you have started up from drive C enter the following command to switch to drive B b Next enter the fol...

Page 27: ... and handlers Next IBSTART leads you through a hardware diagnostics check for the GPIB PCIIB interface board using the program IBDIAG EXE Simply press Enter in response to each of the prompts For each hardware setting that you changed type in the correct value and then press Enter to enter the value and cause the next prompt to display Refer to the settings you recorded in Chapter 2 If IBDIAG retu...

Page 28: ...tware configuration Step 3 Configure the Software Optional Note If you are not using default configuration settings you must complete this step This step is not required if you are using default configuration settings The file IBCONF EXE located on your NI 488 distribution diskette can be used to change or examine the configuration parameters of the NI 488 software handler GPIB COM 1 If you have t...

Page 29: ... yes All board and device configurable parameters can be altered in this manner See Section Two of the NI 488 MS DOS Software Reference Manual for more information on how to run IBCONF and on the configurable software parameters and their default values There is also some additional information on IBCONF later in this chapter Step 4 Restart Optional You must restart your computer if you have made ...

Page 30: ...sure that the hardware settings match the software configurations in IBCONF If you make changes in IBCONF make sure you save them and restart your computer refer to Step 3 and Step 4 Are the GPIB COM and CONFIG SYS files installed in the root directory of your startup drive If not put them in your root directory and restart the computer The following line must appear in your CONFIG SYS file DEVICE...

Page 31: ...re About IBCONF You use IBCONF to edit the description in the handler file of characteristics of the devices and boards in the system Running IBCONF to place this information directly in the handler file eliminates having to restate it inside each application program IBCONF passes two groups of features to the handler The first group consists of the characteristics of the instruments or devices at...

Page 32: ...llowing characteristics A symbolic name such as GPIB0 or GPIB1 A GPIB primary and possibly a secondary address A computer I O address The capability to be designated as the system controller of the devices on its bus A time limit imposed when executing certain functions A way to terminate I O transmissions to and from the board when executing board calls for example by an EOS character an END mess...

Page 33: ...he primary default characteristics of the handler There are 16 active devices with symbolic names DEV1 through DEV16 GPIB addresses of these devices are the same as the device number for example DEV1 is at address 1 The 16 devices are assigned to GPIB0 as their access board GPIB0 is the symbolic name of the first GPIB PCIIB board in your system If you have an additional GPIB PCIIB board in your sy...

Page 34: ...es response to this field eliminates this unaddressing on device functions The default option for this characteristic is no Running IBCONF When you ran IBSTART a copy of IBCONF EXE was placed on your startup drive To run IBCONF go to the root directory of the startup drive and enter the following command ibconf IBCONF scans the handler file GPIB COM and reads its data structures into memory After ...

Page 35: ...iting the program checks for situations that may cause problems such as the following GPIB addressing conflict between a device and its access board GPIB boards not present in the host machine at the specified address Timeouts disabled on a device or board If any of the these situations is encountered you are notified and given the option of re entering or exiting IBCONF To disable automatic check...

Page 36: ... in the order you will most likely use them Pay special attention to the device functions which are found in Group I Group II and Group III Read Section Four of the NI 488 MS DOS Software Reference Manual for a detailed description of the NI 488 software After reading about these functions and their capabilities practice using them with your programmable instrument or device in an interactive envi...

Page 37: ...day through Friday from 8 00 a m to 6 00 p m central time In other countries contact the nearest branch office You may fax questions to us at any time Corporate Headquarters 512 795 8248 Technical support fax 800 328 2203 512 794 5678 Branch Offices Phone Number Fax Number Australia 03 879 9422 03 879 9179 Austria 0662 435986 0662 437010 19 Belgium 02 757 00 20 02 757 03 11 Denmark 45 76 26 00 45 ...

Page 38: ...ns engineers answer your questions more efficiently If you are using any National Instruments hardware or software products related to this problem include the configuration forms from their user manuals Include additional pages if necessary Name Company Address Fax Phone Computer brand Model Processor Operating system Speed MHz RAM MB Display adapter Mouse yes no Other adapters installed Hard dis...

Page 39: ...National Instruments software product Version Configuration The problem is List any error messages The following steps will reproduce the problem ...

Page 40: ...cting National Instruments for technical support helps our applications engineers answer your questions more efficiently National Instruments Products GPIB PC Model NI 488 Software Revision Number on Disk Disk Label NI 488 Distribution Disk for MS DOS Handler with BASICA and QuickBASIC Language Interfaces Application Programming Language BASICA QuickBASIC C Pascal and so on Programming Language In...

Page 41: ...lock Frequency Type of Monitor Card Installed DOS Version Programming Language Version Other Boards in System Base I O Address of Other Boards DMA Channels of Other Boards Interrupt Level of Other Boards ...

Page 42: ...lied with our products This information helps us provide quality products to meet your needs Title Getting Started with Your GPIB PCIIB and the NI 488 Software for MS DOS Edition Date June 1994 Part Number 320226B 01 Please comment on the completeness clarity and organization of the manual continues ...

Page 43: ...be the errors Thank you for your help Name Title Company Address Phone Mail to Technical Publications National Instruments Corporation 6504 Bridge Point Parkway MS 53 02 Austin TX 78730 5039 Fax to Technical Publications National Instruments Corporation MS 53 02 512 794 5678 ...

Page 44: ... National Instruments Corp G 1 GPIB PCII MS DOS Glossary Prefix Meaning Value n nano 10 9 µ micro 10 6 hex hexadecimal in inch m meter sec second ...

Reviews: