VXI GPIB-VXI User Manual

GPIB-VXI
User Manual
bus
April 1990 Edition
© Copyright 1983, 1991 National Instruments Corporation.
All Rights Reserved.
National Instruments Corporation 6504 Bridge Point Parkway Austin, TX 78730-5039
(512) 794-0100 (800) IEEE-488 Fax: (512) 794-8411
Limited Warranty
The GPIB-VXI is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work. 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 document without prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
XCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
E
AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMER'S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER.
NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS,
USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. This limitation of the liability of National Instruments will apply regardless of the form of action,
whether in contract or tort, including negligence. Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or service failures caused by owner's failure to follow the National Instruments installation, operation, or maintenance instructions; 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 book may not be copied, photocopied, reproduced, or translated, in whole or in part, without the prior written consent of National Instruments Corporation.
Trademarks
®
Turbo488
Product names listed are trademarks of their respective manufacturers. Company names listed are trademarks or trade names of their respective companies.
is a trademark of National Instruments Corporation.
FCC/DOC Radio Frequency Interference Compliance
This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual, may cause interference to radio and television reception. This equipment has been tested and found to comply with (1) the limits for a Class A computing device, in accordance with the specifications in Subpart J of Part 15 of U.S. Federal Communications Commission (FCC) Rules, and (2) the limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communication (DOC). These regulations are designed to provide reasonable protection against interference from the equipment to radio and television reception in commercial areas.
There is no guarantee that interference will not occur in a particular installation. However, the chances of interference are much less if the equipment is used according to this instruction manual.
If the equipment does cause interference to radio or television reception, which can be determined by turning the equipment on and off, one or more of the following suggestions may reduce or eliminate the problem.
Operate the equipment and the receiver on different branches of your AC electrical system.
Move the equipment away from the receiver with which it is interfering.
Relocate the equipment with respect to the receiver.
Reorient the receiver's antenna.
Be sure that the equipment is plugged into a grounded outlet and that the grounding has not been defeated with a cheater plug.
If necessary, consult National Instruments or an experienced radio/television technician for additional suggestions. The following booklet prepared by the FCC may also be helpful: How to Identify and Resolve Radio-TV Interference Problems. This booklet is available from the U.S. Government Printing Office, Washington, DC 20402, Stock Number 004-000-00345-4.
Preface
This manual contains information you will need to use the GPIB-VXI in your VXIbus system. It describes the function and behavior of GPIB-VXI units configured with the standard firmware option.
Organization of the GPIB-VXI User Manual
The GPIB-VXI User Manual is organized as follows:
• Chapter 1, General Description, gives an overview of the GPIB-VXI.
• Chapter 2, Configuration and Startup Procedures, gives configuration information and describes the GPIB-VXI startup behavior.
• Chapter 3, Local Command Set, describes the GPIB-VXI local command set.
• Chapter 4, Nonvolatile Configuration, describes the method for editing the contents of the GPIB-VXI configuration parameter memory.
• Chapter 5, Diagnostic Tests, describes the operation of the GPIB-VXI offline diagnostic tests.
• Appendix A, Specifications, lists the specifications of the GPIB-VXI.
• Appendix B, Error Codes, lists the local command set error codes.
• Appendix C, Code Instrument Overview, describes the capabilities and implementation of Code Instruments.
• Appendix D, Using the CDS-852 Adapter Code Instrument, contains instructions for installing the Resident Code Instruments.
• Appendix E, GPIB-VXI Hardware and Software Configuration Form, contains a form that you should complete in the event that you have a technical problem. Completing the form before calling National Instruments will expedite your phone call and thus the solution to your problem.
• The Glossary contains an alphabetical list of terms used in this manual and a description of each.
• The Index contains an alphabetical list of key terms and topics used in this manual, including the page where each one can be found.
© National Instruments Corporation v GPIB-VXI User Manual
Preface
Conventions Used in This Manual
Throughout this manual, the following conventions are used to distinguish elements of text:
italic Italic text denotes emphasis, a cross reference, or an introduction to a key
concept. In this manual, italics are also used to denote Word Serial commands and queries.
monospace Text in this font denotes text or characters that are to be literally input
from the keyboard, sections of code, command or query syntax, console responses, and syntax examples. This font is also used for the names of all commands and queries used in the GPIB-VXI local command set.
<CR> Angle brackets enclosing a term in Times font denote a key on the
keyboard, or the equivalent ASCII character.
<hex value> Angle brackets enclosing a term in monospace denote a parameter.
Numbers in this manual are base 10 unless noted as follows:
Binary numbers are indicated by a -b suffix (for example, 11010101b)
Octal numbers are indicated by an -o suffix (for example, 325o),
Hexadecimal numbers are indicated by an -h suffix (for example, D5h)
ASCII character and string values are indicated by double quotation marks (for example, "This is a string").
In this manual, the symbol <CR> is used to indicate the ASCII carriage return character. The symbol <LF> is used to indicate the ASCII linefeed character. The symbol <CRLF> is used to indicate a carriage return followed by a linefeed.
Terminology that is specific to a chapter or section is defined at its first occurrence.
Abbreviations
The following abbreviations are units of measure that are used in the text of this manual.
° degrees A ampere bytes/sec bytes per second C Celsius Hz hertz in. inch kbytes/sec 1,000 bytes per second kHz kilohertz
GPIB-VXI User Manual vi © National Instruments Corporation
Preface
K 1,024 bytes of memory LSB least significant bit m meter mA milliampere M 1,048,576 bytes of memory MHz megahertz MSB most significant bit nsec nanosecond sec second VDC volts direct current
Related Documents
The following documents contain information that you may find helpful as you read this manual:
IEEE Standard for a Versatile Backplane Bus: VMEbus, ANSI/IEEE Standard 1014-1987
IEEE Standard Digital Interface for Programmable Instrumentation, ANSI/IEEE Standard
488.1-1987
IEEE Standard Codes, Formats, Protocols, and Common Commands, ANSI/IEEE Standard
488.2-1987
VXIbus System Specification, Revision 1.3, VXIbus Consortium
16/32-Bit Highly Integrated Microprocessor SCC68070 User Manual, Philips
Customer Communication
We appreciate communicating with the people who use our products. We are also very interested in hearing about the applications you develop using our products. To make it easy for you to communicate with us, we provide the Hardware and Software Configuration Form for product-related technical comments, and the User Comment Form for documentation comments.
If you encounter any technical problems, please complete the Hardware and Software Configuration Form in Appendix E and call National Instruments Corporation. Completing the form before calling National Instruments will help solve your problem faster.
You can use the following toll-free number between the hours of 8:00 a.m. and 5:30 p.m. (central time) to reach the National Instruments applications engineering department:
(512) 794-0100 (800) 433-3488 (toll-free U.S. and Canada)
For your documentation comments, we have included a User Comment Form at the back of the manual. Please mail it to the address printed at the bottom of the form.
© National Instruments Corporation vii GPIB-VXI User Manual
Contents
Chapter 1 General Description
Overview........................................................................................................................1-1
What Your Kit Should Contain...................................................................................... 1-2
Optional Equipment .......................................................................................................1-3
Unpacking ...................................................................................................................... 1-3
VXIbus and VMEbus Capabilities................................................................................. 1-3
GPIB Characteristics...................................................................................................... 1-4
Command Set................................................................................................................. 1-5
Code Instruments ...........................................................................................................1-5
Front Panel Indicators, Switches and Connectors..........................................................1-6
Power Consumption and Temperature Rating............................................................... 1-6
Chapter 2 Configuration and Startup Procedures
System Configuration ....................................................................................................2-1
GPIB-VXI Configuration............................................................................................... 2-2
Setting the Logical Address ...............................................................................2-4
Setting the GPIB Primary Address ....................................................................2-4
Setting the Servant Area Size ............................................................................2-5
Setting the Installed RAM Size..........................................................................2-5
Setting the Dual-Ported Memory Size ............................................................... 2-7
Setting the Front Panel Reset Operation............................................................ 2-7
Setting the VMEbus Requester Level................................................................2-8
Setting the VXI Interrupt Handler Levels.......................................................... 2-8
GPIB-VXI Startup Mode Configuration............................................................ 2-9
488-VXI System Operation ...........................................................................................2-10
System Startup Message Printing ......................................................................2-11
Slot 0 Resource Manager Configuration............................................................2-11
Non-Slot 0 Resource Manager Configuration ...................................................2-17
...........................................................................................................1-1
......................................................................2-1
488-VXI System Mode .......................................................................... 2-9
Diagnostics Mode ..................................................................................2-10
Nonvolatile Configuration Mode........................................................... 2-10
VXI pROBE Mode.................................................................................2-10
Slot 0 Resource Manager Operation ......................................................2-13
Front Panel LED Indications for RM Operation....................................2-13
Self-Test Operation................................................................................ 2-14
RM Operation ........................................................................................2-14
Static Configuration Operation ..............................................................2-15
Dynamic Configuration Operation ........................................................2-15
GPIB Secondary Address Assignment ......................................2-15
System Configuration Table ..................................................................2-16
Non-Slot 0 Resource Manager Operation..............................................2-17
© National Instruments Corporation ix GPIB-VXI User Manual
Contents
Non-Slot 0 Message-Based Device Configuration ............................................2-18
Non-Slot 0 Message-Based Device Operation ......................................2-18
Front Panel LED Indications for Message-Based Device Operation ....2-19
Slot 0 Message-Based Device Configuration ....................................................2-19
Slot 0 Message-Based Device Operation............................................... 2-21
Chapter 3 Local Command Set
Command Set Access ....................................................................................................3-2
Command Syntax...........................................................................................................3-2
Command Line Termination..........................................................................................3-3
Command and Query Responses ...................................................................................3-3
Command Response Format ..........................................................................................3-4
Query Response Format.................................................................................................3-4
Error Reporting ..............................................................................................................3-4
The Help Query..............................................................................................................3-5
Help? ..................................................................................................................3-5
General Configuration Commands and Queries ............................................................3-6
ConsoleEna ........................................................................................................3-6
ConsMode ..........................................................................................................3-7
DPram?...............................................................................................................3-7
NVconf? .............................................................................................................3-8
OBram? ..............................................................................................................3-9
ProgMode...........................................................................................................3-9
WordSerEna.......................................................................................................3-10
RM Information Queries................................................................................................3-10
A24MemMap? ...................................................................................................3-11
A32MemMap? ...................................................................................................3-12
Cmdr?.................................................................................................................3-12
CmdrTable?........................................................................................................3-13
Laddrs?...............................................................................................................3-14
NumLaddrs?.......................................................................................................3-14
RmEntry? ...........................................................................................................3-15
Srvnts?................................................................................................................3-17
StatusState? ........................................................................................................3-17
Dynamic Configuration Commands and Queries ..........................................................3-18
DCBNOSend......................................................................................................3-19
DCGrantDev ......................................................................................................3-19
DCSystem?.........................................................................................................3-19
Dynamic Reconfiguration Queries ................................................................................3-20
Broadcast?..........................................................................................................3-21
GrantDev? ..........................................................................................................3-23
RelSrvnt?............................................................................................................3-24
VXI-Defined Common ASCII System Commands.......................................................3-25
DCON?...............................................................................................................3-25
DINF?.................................................................................................................3-27
DLAD?...............................................................................................................3-28
DNUM?..............................................................................................................3-29
DRES?................................................................................................................3-29
...........................................................................................................3-1
GPIB-VXI User Manual x © National Instruments Corporation
Contents
RREG? ...............................................................................................................3-30
WREG................................................................................................................3-31
GPIB Address Configuration Commands and Queries .................................................3-31
LaSaddr ..............................................................................................................3-32
LaSaddr? ............................................................................................................3-32
Primary?.............................................................................................................3-33
SaddrLa? ............................................................................................................3-33
Saddrs?...............................................................................................................3-34
SaDisCon ...........................................................................................................3-35
VXIbus Interrupt Handler Configuration Commands and Queries ...............................3-35
AllHandlers? ......................................................................................................3-35
AssgnHndlr ........................................................................................................3-36
HandlerLine?......................................................................................................3-37
RdHandlers?.......................................................................................................3-37
IEEE-488.2 Common Commands and Queries .............................................................3-38
*CLS ..................................................................................................................3-38
*ESE...................................................................................................................3-39
*ESE?.................................................................................................................3-39
*ESR?.................................................................................................................3-39
*IDN?.................................................................................................................3-40
*OPC..................................................................................................................3-40
*OPC? ................................................................................................................3-40
*RST ..................................................................................................................3-41
*SRE ..................................................................................................................3-41
*SRE?.................................................................................................................3-41
*STB?.................................................................................................................3-42
*TRG..................................................................................................................3-42
*TST?.................................................................................................................3-42
*WAI..................................................................................................................3-43
VXIbus Access Commands and Queries .......................................................................3-43
A16.....................................................................................................................3-43
A16? ...................................................................................................................3-44
A24.....................................................................................................................3-44
A24? ...................................................................................................................3-45
SYSRESET ........................................................................................................3-45
TTL Trigger Access Commands....................................................................................3-46
SetTrigOutFP .....................................................................................................3-46
SetTrigSrc ..........................................................................................................3-47
SourceTrig..........................................................................................................3-47
Word Serial Communication Commands and Queries..................................................3-48
ProtErr? ..............................................................................................................3-49
RespReg? ...........................................................................................................3-49
WScmd...............................................................................................................3-50
WScmd?.............................................................................................................3-50
WSresp? .............................................................................................................3-50
WSstr..................................................................................................................3-52
WSstr?................................................................................................................3-53
CI Configuration Commands and Queries.....................................................................3-53
© National Instruments Corporation xi GPIB-VXI User Manual
Contents
CIAddr?..............................................................................................................3-54
CIArea................................................................................................................3-55
CIArea? ..............................................................................................................3-56
CIBlocks?...........................................................................................................3-56
CIDelete? ...........................................................................................................3-57
CIList?................................................................................................................3-58
DCIDownLdPI ...................................................................................................3-59
DCIDownLoad...................................................................................................3-60
DCISetup?..........................................................................................................3-61
DCISetupPI? ......................................................................................................3-62
Chapter 4 Nonvolatile Configuration
The GPIB-VXI Nonvolatile Configuration Main Menu................................................ 4-2
Read in Nonvolatile Configuration.................................................................... 4-2
Print Configuration Information ........................................................................ 4-2
Change Configuration Information....................................................................4-4
Set Configuration to Factory Settings................................................................4-5
Write Back (Save) Changes ...............................................................................4-5
Quit Configuration .............................................................................................4-5
Chapter 5 Diagnostic Tests
Configuration for Diagnostic Testing ............................................................................ 5-1
Diagnostic Test Structure............................................................................................... 5-1
Diagnostic Test Description........................................................................................... 5-2
Diagnostics Mode Selection ..........................................................................................5-3
Diagnostic Test Selection ..............................................................................................5-5
...................................................................................................................5-1
The EPROM Test...............................................................................................5-2
The RAM Test ...................................................................................................5-2
The 68070 CPU Test..........................................................................................5-2
The VXI Configuration Register Test................................................................5-2
The Local Interrupt Test ....................................................................................5-2
The GPIB Test ...................................................................................................5-2
The DIP Switch and Trigger Test ...................................................................... 5-2
The DMA Test ...................................................................................................5-2
The 68881 Coprocessor Test .............................................................................5-3
Appendix A Specifications
........................................................................................................................A-1
Appendix B Error Codes
...........................................................................................................................B-1
Appendix C Code Instrument Overview
...............................................................................................4-1
.............................................................................................C-1
GPIB-VXI User Manual xii © National Instruments Corporation
Contents
GPIB-VXI Operation without CIs .................................................................................C-2
CI Operation................................................................................................................... C-4
CI Characteristics...........................................................................................................C-5
Downloaded CIs and EPROMed CIs.............................................................................C-6
Resident CIs ................................................................................................................... C-6
Summary ........................................................................................................................C-6
Appendix D Using the CDS-852 Adapter Code Instrument
Installing the 852 Adapter CI......................................................................................... D-1
Deleting a CI .................................................................................................................. D-4
Logical Address and A24 Address Assignment ............................................................D-4
852 Adapter CI Commands ...........................................................................................D-4
!!A ...................................................................................................................... D-5
!!B ......................................................................................................................D-5
!!D ...................................................................................................................... D-6
!!d....................................................................................................................... D-6
!!E.......................................................................................................................D-6
!!L.......................................................................................................................D-7
!!S....................................................................................................................... D-7
!!T.......................................................................................................................D-7
!!t........................................................................................................................ D-8
.........................................................D-1
Appendix E GPIB-VXI Hardware and Software Configuration Form
..................................E-1
Glossary......................................................................................................................Glossary-1
Index ..................................................................................................................................Index-1
Figures
Figure 1-1. The GPIB-VXI Interface Module........................................................................1-1
Figure 2-1. GPIB-VXI Parts Locator Diagram ......................................................................2-3
Figure 2-2. Example Logical Address Switch Setting ...........................................................2-4
Figure 2-3. Example GPIB Primary Address Switch Setting ................................................2-4
Figure 2-4. Example Servant Area Size Switch Setting......................................................... 2-5
Figure 2-5. VMEbus Requester Jumper Settings ................................................................... 2-8
Figure 2-6. Startup Mode Switch Settings .............................................................................2-9
Figure 2-7. VXI System Startup Message Switch Settings....................................................2-11
Figure 2-8. CLK10 Jumper Settings for Slot 0 Resource Manager Operation ......................2-12
Figure 2-9. CLK10 Jumper Settings for Non-Slot 0 Resource Manager Operation .............. 2-17
Figure 2-10. CLK10 Jumper Settings for Non-Slot 0 Message Based Device Operation ....... 2-18
Figure 2-11. CLK10 Jumper Settings for Slot 0 Resource Manager Operation ......................2-20
© National Instruments Corporation xiii GPIB-VXI User Manual
Contents
Figure 4-1. The GPIB-VXI Nonvolatile Configuration Main Menu .....................................4-2
Figure 4-2. The Nonvolatile Configuration Information Display .......................................... 4-3
Figure 4-3. The GPIB-VXI Nonvolatile Configuration Changer...........................................4-4
Figure 5-1. The Diagnostics Mode Menu ..............................................................................5-3
Figure 5-2. The Diagnostic Test Selection Menu...................................................................5-5
Figure C-1. GPIB-VXI Operation Without Code Instruments ...............................................C-3
Figure C-2. Code Instrument Operation .................................................................................C-4
Tables
Table 2-1. Serial Port Connector RS-232 Pinouts ................................................................2-1
Table 2-2. GPIB-VXI Factory Configuration....................................................................... 2-2
Table 2-3. Installed RAM Switch Settings ...........................................................................2-6
Table 2-4. GPIB-VXI CPU Local and A24 Memory Ranges...............................................2-6
Table 2-5. Dual-Ported Memory Size Configuration Switch Settings .................................2-7
Table 2-6. Slot 0 Resource Manager Operation Switch and Jumper Settings ......................2-12
Table 2-7. Front Panel LED Indications for RM Operation ................................................. 2-13
Table 2-8. Example Secondary Address Assignment........................................................... 2-16
Table 2-9. Non-Slot 0 Resource Manager Operation Switch and Jumper Settings..............2-17
Table 2-10. Non-Slot 0 Message-Based Device Operation Switch and Jumper Settings ......2-18
Table 2-11. Front Panel LED Indications for Message-Based Device Operation.................. 2-19
Table 2-12. Slot 0 Message-Based Device Operation Switch and Jumper Settings............... 2-20
Table 3-1. Valid Ranges for Common Numeric Command Parameters...............................3-2
Table 3-2. Default Response Mode Configurations..............................................................3-3
Table 5-1. Diagnostic Tests .................................................................................................. 5-1
Table 5-2. Diagnostics Mode Menu Option Descriptions ....................................................5-4
Table B-1. Error Codes..........................................................................................................B-1
GPIB-VXI User Manual xiv © National Instruments Corporation
Chapter 1 General Description
This chapter contains a brief overview of the GPIB-VXI and its VXIbus, VMEbus and GPIB capabilities. This chapter also contains a description of the local command set, an introduction to Code Instruments (CIs), and a description of the GPIB-VXI front panel indicators, switches and connectors.
Overview
The GPIB-VXI is a C-sized interface module that links the industry standard IEEE-488 (GPIB) bus and the VXIbus. The GPIB-VXI performs transparent conversion of the GPIB signals and protocols to VXIbus signals and protocols, so that a GPIB Controller can control VXIbus instruments in the same way that it controls GPIB instruments. Figure 1-1 shows the GPIB-VXI interface module.
Product photo unavailable
Figure 1-1. The GPIB-VXI Interface Module
© National Instruments Corporation 1-1 GPIB-VXI User Manual
General Description Chapter 1
The GPIB-VXI is factory configured as the system Resource Manager (RM). It performs the VXIbus startup configuration, self-test, and initialization functions, as well as VXIbus Slot 0/ VMEbus Slot 1-related services.
The RM and Slot 0 functions can be defeated individually, so that the GPIB-VXI can coexist with another RM and/or be located in any slot.
What Your Kit Should Contain
Your GPIB-VXI kit should contain the following components:
Kit Component Part Number
One GPIB-VXI module 180715-XYZ
One GPIB-VXI User Manual 320151-01
The GPIB-VXI part number and serial number are printed on the label affixed to its shield casing.
If your kit is missing any of the listed items or if you received the wrong version, contact National Instruments.
Note: The full part number of the GPIB-VXI is determined by configuration options
corresponding to the extension -XYZ in the part number shown in the previous table. The options are described below.
X 68881 coprocessor option 0 without coprocessor 1 with coprocessor
Y ROM option 1 standard firmware 2 development firmware
Z RAM option 1 512K 2 1M 3 2M 4 4M
GPIB-VXI User Manual 1-2 © National Instruments Corporation
Chapter 1 General Description
Optional Equipment
Item Part Number
Serial Port Cables:
GPIB-VXI to IBM-PC 9-pin - 2 m 181139-02
GPIB-VXI to 25-pin DTE terminal - 2 m 181138-02
Double-Shielded GPIB Cables:
Type X2 Cable - 1 m 763061-01
Type X2 Cable - 2 m 763061-02
Type X2 Cable - 4 m 763061-03
Unpacking
Follow these steps when unpacking your GPIB-VXI:
1. Verify that the pieces contained in the package you received match the kit parts list. Do not remove the module from its plastic bag at this point.
2. Your GPIB-VXI module is shipped packaged in an antistatic plastic bag to prevent electrostatic damage to the module. Several components on the module can be damaged by electrostatic discharge. To avoid such damage while handling the module, touch the plastic bag to a metal part of your VXIbus mainframe chassis before removing the module from the bag.
3. Remove the module from the bag and inspect the module for loose components or any other sign of damage. Notify National Instruments if the module appears damaged in any way. Do not install a damaged module into your VXIbus mainframe.
VXIbus and VMEbus Capabilities
The GPIB-VXI has the following VXIbus and VMEbus capabilities:
Fully compatible with VXIbus Specification Revisions 1.2 and 1.3
VXIbus Resource Manager (RM) (defeatable)
VXIbus Slot 0/VMEbus Slot 1 support (defeatable)
VXIbus Message-Based commander and Message-Based servant
VMEbus master and slave
© National Instruments Corporation 1-3 GPIB-VXI User Manual
General Description Chapter 1
Up to 4M of dual-ported (shared) memory
Three programmable VXIbus interrupt handlers
IEEE 488.1 and IEEE 488.2-compatible 488-VXIbus translator
GPIB Characteristics
The GPIB-VXI has the following GPIB characteristics:
Communication with VXIbus Message-Based devices
- VXI logical addresses are mapped to GPIB secondary addresses
- Automatically configured at startup
- Programmable
• Interface
- NEC 7210 and National Instruments Turbo488 ASIC
- Full, transparent support of individual status bytes for each secondary address
- Buffered operation decouples GPIB and VXIbus operation
- Controller can address one VXIbus device to talk and other VXIbus devices to listen
IEEE 488.1 capabilities
- SH1 (Source Handshake)
- AH1 (Acceptor Handshake)
- TE5 (Extended Talker)
- LE3 (Extended Listener)
- SR1 (Service Request)
- DC1 (Device Clear)
- DT1 (Device Trigger)
- RL0 (Remote Local)
IEEE 488.2-compatible 488-VXIbus translation
The IEEE 488.1 capabilities are supported for all VXIbus devices associated with GPIB secondary addresses. The IEEE 488.2 compatibility applies to 488.2-compatible VXIbus devices associated with GPIB secondary addresses through the GPIB-VXI.
GPIB-VXI User Manual 1-4 © National Instruments Corporation
Chapter 1 General Description
Command Set
The GPIB-VXI local command set supports the following types of operations:
System configuration and control
- Help
- General configuration
- RM information extraction
- VXI-defined common ASCII system commands
- Dynamic system configuration and reconfiguration
- GPIB address configuration
- VXIbus interrupt handler configuration
- IEEE 488.2 common commands
Instrument development and test
- VXIbus access
- Word Serial communication
CI use and development
- CI configuration
You can access the command set from the GPIB port, the serial port, and through Word Serial Protocol communication. You can also use separate programmable local command response modes for interactive and control program operation.
Code Instruments
The GPIB-VXI can run software modules called Code Instruments or CIs that perform special functions in the VXIbus environment. Typical applications of CIs include:
Command language translation and interpretation
Virtual (hierarchical) instrument creation
Message-Based interface creation for Register-Based devices
Message-Based interface for non-VXI devices
© National Instruments Corporation 1-5 GPIB-VXI User Manual
General Description Chapter 1
CIs can be implemented in three forms:
As part of the National Instruments-supplied firmware (Resident CIs, or RCIs)
As user-developed downloadable object code (Downloaded CIs, or DCIs)
As user-add-on firmware (EPROMed CIs, or ECIs)
For more information about CI capabilities and applications, see Appendix C, Code Instrument Overview.
Front Panel Indicators, Switches and Connectors
The GPIB-VXI has the following front panel features:
Five front panel LEDs
- FAILED, TEST, and ONLINE LEDs indicate the self-test status of the GPIB-VXI.
- ACCESS LED indicates when the GPIB-VXI is accessed from GPIB or VXIbus.
- SYSFAIL LED indicates when any VXIbus device in the system fails.
Five front panel connectors
- GPIB interface
- Serial port
- Trigger input and output (2 BNCs)
- External CLK10 I/O (BNC)
System reset switch
Power Consumption and Temperature Rating
Current requirements and the temperature rating of the GPIB-VXI are printed on a label affixed to its shield casing.
GPIB-VXI User Manual 1-6 © National Instruments Corporation
Chapter 2 Configuration and Startup Procedures
This chapter contains information about the system configuration, GPIB-VXI configuration, and startup operation.
System Configuration
The typical system includes the following components:
A VXIbus system mainframe containing the GPIB-VXI and the target instrument modules
A host computer with a GPIB interface module and associated driver software (available for many computers from National Instruments) connected to the GPIB-VXI GPIB port
A dumb terminal or host running a terminal emulator connected to the GPIB-VXI serial port (optional)
The 9-pin serial port connector pinouts are listed in Table 2-1.
Table 2-1. Serial Port Connector RS-232 Pinouts
A three-wire connection to pins 2, 3, and 5 works well for most terminals and emulators. No connections to pins 4, 7, or 8 are necessary. The serial port settings are 9600 baud, 8-bit data, no parity, and one stop bit.
Warning: Do not make connections to pins 1 and 6. This could damage your GPIB-VXI.
Cables for connecting the GPIB-VXI serial port to an RS-232 terminal or COM1 port on an IBM PC-compatible computer are available from National Instruments (see Optional Equipment in Chapter 1).
Pin Signal GPIB-VXI I/O
2 Receive Data Input 3 Transmit Data Output 4 Data Terminal Ready Output 5 Signal Ground 7 Ready to Send Output 8 Clear to Send Input
© National Instruments Corporation 2-1 GPIB-VXI User Manual
Configuration and Startup Procedures Chapter 2
GPIB-VXI Configuration
The GPIB-VXI factory configuration is shown in Table 2-2. The RAM, firmware and coprocessor are configured according to the GPIB-VXI purchase options.
Table 2-2. GPIB-VXI Factory Configuration
Function Factory Configuration
Startup Mode VXIbus system
VXIbus characteristics Resource Manager (RM) Enabled Logical Address 0 Servant area size 0 Dual-ported memory 0% of installed memory
VXIbus Slot 0 services CLK10 driver Enabled CLK10 source Onboard clock
VMEbus Slot 1 services SYSCLK driver Enabled Priority Arbiter Enabled
VMEbus requester Level 3
VXI Interrupt handlers Unassigned
GPIB primary address 1
Serial Port System startup messages Disabled
You do not have to change the GPIB-VXI factory configuration to use it as a Slot 0 Resource Manager. This section is a guide to alternate configurations.
The location of the GPIB-VXI switches and jumpers is illustrated in Figure 2-1. The figures in this section are illustrated according to the orientation of the GPIB-VXI as depicted in Figure 2-1.
GPIB-VXI User Manual 2-2 © National Instruments Corporation
Chapter 2 Configuration and Startup Procedures
P1
P2
Detail of
2-Position
Switch
ON
OFF
•••
•••••••••••
•••
VMEbus Requester
Level Jumpers
S5
•••
S1
S12S11
68070
Reset Enable Jumper
S9
S8
W23
12345678
ON
OFF
Logical
Address
Switch
12345678
Servant
Area Size
Switch
RAM SIMM pair 1
RAM SIMM pair 2
•••••••
•••••••
CLK 10 Jumpers
ON OFF
S2
S10
Startup
Mode
12345678
ON
OFF
GPIB
Primary
Turbo488
Address
Serial Port
Startup
EPROM
Expansion Board
Message
Printout
Enable
S24
GPIB Connector
TRG InTRG
Out
EXT CLK
RS-232
Connector
Figure 2-1. GPIB-VXI Parts Locator Diagram
© National Instruments Corporation 2-3 GPIB-VXI User Manual
Configuration and Startup Procedures Chapter 2
Setting the Logical Address
The logical address switches 8 through 1 correspond to the GPIB-VXI's logical address bits 7 through 0, respectively. The ON position corresponds to a bit value of 0, and OFF corresponds to a value of 1. For example, to set the logical address of the GPIB-VXI to 25 (19h), set the switches as shown in Figure 2-2. Notice that setting the logical address to any setting but 0 will disable the GPIB-VXI RM.
Key
Black = side you must press down
MSB
1 23456
O N
O F F
Settings for Logical Address = 19h
7 8
Figure 2-2. Example Logical Address Switch Setting
Setting the GPIB Primary Address
The GPIB switches 5 through 1 correspond to GPIB primary address bits 4 through 0, respectively. The ON position corresponds to a bit value of 0, and OFF corresponds to a value of 1. To set the primary address of the GPIB-VXI to 3 (03h), for example, set the switches as shown in Figure 2-3.
Key
Black = side you must press down
= not used in this context
Figure 2-3. Example GPIB Primary Address Switch Setting
The primary address switches can be overridden by the nonvolatile memory configuration as described in the Change Configuration Information section of Chapter 4, Nonvolatile
Configuration.
GPIB-VXI User Manual 2-4 © National Instruments Corporation
1 23456
O N
O F F
Settings for GPIB Primary Address = 3
7 8
Chapter 2 Configuration and Startup Procedures
Setting the Servant Area Size
The servant area size is an 8-bit value (0 through 255) that indicates the GPIB-VXI servant area. The servant area begins at the logical address following the GPIB-VXI's logical address, and includes N contiguous logical addresses, where N is the value of the servant area size. The RM uses the servant area of all commanders in the VXIbus system to configure the commander/ servant hierarchy, as described in the VXIbus specification. Notice that if the GPIB-VXI is RM, the servant area size does not apply.
The servant area size switches 8 through 1 correspond to setting the GPIB-VXI servant area size bits 7 through 0, respectively. The ON position corresponds to a bit value of 0, and OFF corresponds to a value of 1. To set the servant area size to 7 (07h), for example, set the switches as shown in Figure 2-4.
Key
Black = side you must press down
1 23 4 5 6
O N
O F F
Settings for Servant Area Size = 7
7 8
Figure 2-4. Example Servant Area Size Switch Setting
The servant area size switch can be overridden by the nonvolatile memory configuration as described in the Change Configuration Information section of Chapter 4, Nonvolatile Configuration.
Setting the Installed RAM Size
You can install up to 4M of local RAM on the GPIB-VXI. The minimum amount of memory is 512K. You can install additional memory by inserting 256K by 8-bit (Texas Instruments part number TMS41256GU8 or equivalent) or 1M by 8-bit (Texas Instruments part number TMS024EAD9 or equivalent) DRAM SIMM modules into the SIMM sockets as illustrated in Figure 2-1. You must install the RAM modules in pairs because the SIMM sockets accommodate two SIMMs each. The allowed RAM configurations and their associated switch settings are given in Table 2-3.
© National Instruments Corporation 2-5 GPIB-VXI User Manual
Configuration and Startup Procedures Chapter 2
Note: Use only memory modules with an access time of 120 nsec or less. When installing the
memory modules, follow proper procedures for handling MOS ICs.
Remove any memory modules you have installed prior to returning the GPIB-VXI to
National Instruments for upgrades or repair.
Table 2-3. Installed RAM Switch Settings
Installed Memory Switch S8 Switch S9 RAM SIMM RAM SIMM Size Setting Setting Pair 1 Pair 2
512K OFF OFF 256K by 8-bit none
1M OFF ON 256K by 8-bit 256K by 8-bit
2M ON OFF 1M by 8-bit none
4M ON ON 1M by 8-bit 1M by 8-bit
The relationship between the amount of installed memory, the local address range occupied by the memory, and range of VME A24 addresses accessible by the GPIB-VXI CPU is listed in Table 2-4.
Table 2-4. GPIB-VXI CPU Local and A24 Memory Ranges
Installed Installed Memory Accessible Memory Local Address VME A24 Size Range Address Range
Start End Start End
512K 000000h 07FFFFh 080000h E7FFFFh
1M 000000h 0FFFFFh 100000h E7FFFFh
2M 000000h 1FFFFFh 200000h E7FFFFh
4M 000000h 3FFFFFh 400000h E7FFFFh
GPIB-VXI User Manual 2-6 © National Instruments Corporation
Chapter 2 Configuration and Startup Procedures
Setting the Dual-Ported Memory Size
The amount of installed memory that is dual-ported to the VMEbus can be set with switches S11 and S12. Table 2-5 gives the S11 and S12 switch settings for dual-porting various portions of RAM with the VMEbus, for each possible installed memory configuration.
Table 2-5. Dual-Ported Memory Size Configuration Switch Settings
Installed Dual-Ported Portion of Memory Installed Memory Size
All One-Half One-Fourth None
Switch S12 ON S12 ON S12 OFF S12 OFF Positions S11 ON S11 OFF S11 ON S11 OFF
512K 512K 256K 128K 0K
1M 1M 512K 256K 0K
2M 2M 1M 512K 0K
4M 4M 2M 1M 0K
The dual-ported memory VME A24 base address is held in the GPIB-VXI Offset Register, as described in the VXIbus specification.
Setting the Front Panel Reset Operation
The Reset button on the front panel can be configured to reset the GPIB-VXI and drive SYSRESET on the VXIbus backplane or just reset the GPIB-VXI. If jumper W23 is installed, the GPIB-VXI is reset and SYSRESET is driven. If jumper W23 is not installed, only the GPIB­VXI is reset.
© National Instruments Corporation 2-7 GPIB-VXI User Manual
Configuration and Startup Procedures Chapter 2
Setting the VMEbus Requester Level
The VMEbus requester level of the GPIB-VXI is jumper-configurable as shown in Figure 2-5.
•••••
• •
• •
a. Level 3 Requester
• •
••
b. Level 2 Requester
c. Level 1 Requester
d. Level 0 Requester
••
• •
• •
• •
• •
• •
• •
• •
• •
• •
Figure 2-5. VMEbus Requester Jumper Settings
Setting the VXI Interrupt Handler Levels
The three default VXI interrupt handler levels are configured by the contents of the onboard nonvolatile memory, as described in Chapter 4, Nonvolatile Configuration.
GPIB-VXI User Manual 2-8 © National Instruments Corporation
Chapter 2 Configuration and Startup Procedures
GPIB-VXI Startup Mode Configuration
Startup mode switches 8 and 7 control the GPIB-VXI operation mode at system startup and system reset, respectively. They select one of four modes, as shown in Figure 2-6.
1 23 4 5 6
O N
O F F
a. 488-VXI Runtime System Mode
7 8
Key
Black = side you must press down
= not used in this context
1 23 4 5 6
O N
O F F
b. Diagnostics Mode
1 23 4 5 6
O N
O F F
c. Nonvolatile Configuration Mode
1 23 4 5 6
O N
O F F
d. VXI pROBE Mode
7 8
7 8
7 8
Figure 2-6. Startup Mode Switch Settings
488-VXI System Mode
VXI system mode is the startup mode for normal operation in a VXI system. The GPIB-VXI comes up as described in the 488-VXI System Operation section later in this chapter.
© National Instruments Corporation 2-9 GPIB-VXI User Manual
Configuration and Startup Procedures Chapter 2
Diagnostics Mode
In diagnostics mode, you can perform extensive offline diagnostic tests on the GPIB-VXI. See Chapter 5, Diagnostic Tests, for a description of the GPIB-VXI self-tests.
Nonvolatile Configuration Mode
In nonvolatile configuration mode, you can edit the contents of the nonvolatile configuration parameter memory. See Chapter 4, Nonvolatile Configuration, for a description of how to edit the GPIB-VXI nonvolatile memory.
VXI pROBE Mode
In VXI pROBE mode, you can use the enhanced pROBE debugger. This mode is available only with the GPIB-VXI development firmware option. The VXI pROBE debugger is described in the GPIB-VXI Software Reference Manual, part number 320152-01.
488-VXI System Operation
The GPIB-VXI is factory configured as a Slot 0 Resource Manager. The Slot 0 and Resource Manager (RM) functions can be independently defeated, resulting in four modes of operation:
Slot 0 Resource Manager
Non-Slot 0 Resource Manager
Non-Slot 0 Message-Based device
Slot 0 Message-Based device
This section describes the GPIB-VXI configuration procedures and startup behavior for each mode of operation.
Warning: Installation of a Non-Slot 0-configured GPIB-VXI in Slot 0 or a Slot 0-configured
GPIB-VXI in any slot other than Slot 0 is not allowed, and may result in damage to the GPIB-VXI, the mainframe, or other modules.
GPIB-VXI User Manual 2-10 © National Instruments Corporation
Loading...
+ 130 hidden pages