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.
Throughout this manual, the following conventions are used to distinguish elements of text:
italicItalic 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.
monospaceText 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
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.
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.
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 ComponentPart 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.
X68881 coprocessor option
0 without coprocessor
1 with coprocessor
Y ROM option
1 standard firmware
2 development firmware
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
• 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.
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
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
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.
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
123456
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
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
123 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.
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
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.
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 GPIBVXI is reset.
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.
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.
123 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
123 4 5 6
O
N
O
F
F
b. Diagnostics Mode
123 4 5 6
O
N
O
F
F
c. Nonvolatile Configuration Mode
123 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.
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.