Page 3
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.
Page 4
Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). Changes or modifications not expressly approved by National Instruments could void the user’s authority to operate the equipment under the FCC Rules.
Page 5
Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Compliance to EU Directives Readers in the European Union (EU) must refer to the Manufacturer’s Declaration of Conformity (DoC) for information** pertaining to the CE Mark compliance scheme.
Page 11
Using the NI-VISA Code Instrument Appendix B Using the DMAmove and CDS-852 Adapter Code Instruments Appendix C Specifications Appendix D Connectors Appendix E Error Codes Appendix F GPIB-VXI/C VXI Trigger Support Appendix G Technical Support and Professional Services Glossary Index GPIB-VXI/C User Manual ni.com...
About This Manual This manual contains information you need to use the GPIB-VXI/C in your VXIbus system. It describes the function and behavior of GPIB-VXI/C units configured with the standard user firmware option. Conventions The following conventions appear in this manual: This icon denotes a note, which alerts you to important information.
IEEE Standard Digital Interface for Programmable Instrumentation, ANSI/IEEE Standard 488.1-1987 • IEEE Standard for a Versatile Backplane Bus: VMEbus, ANSI/IEEE Standard 1014-1987 • VXIbus Mainframe Extender Specification, VXI-6, Rev. 1.0, VXIbus Consortium • VXIbus System Specification, VXI-1, Rev. 1.3, VXIbus Consortium GPIB-VXI/C User Manual ni.com...
General Description This chapter contains a brief overview of the GPIB-VXI/C and its VXIbus and GPIB capabilities. This chapter also contains an overview of the local command set, an introduction to Code Instruments (CIs), and a description of the front panel.
Unpacking Caution Your GPIB-VXI/C is shipped in an antistatic plastic bag to prevent electrostatic damage to components on the module. 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.
GPIB addresses. The IEEE 488.2 compatibility applies to 488.2-compatible VXIbus devices associated with GPIB addresses through the GPIB-VXI/C. Local Command Set Overview The GPIB-VXI/C local command set supports the following types of operations: • System configuration and control –...
(the CDS-852 CI; refer to Appendix B, Using the DMAmove and CDS-852 Adapter Code Instruments, for more information) National Instruments does not support other CIs from legacy GPIB-VXI/C applications or development of new custom CIs. GPIB-VXI/C User Manual ni.com...
VXIbus device in the system has failed. – The FAILED, TEST, and ON LINE LEDs indicate the current GPIB-VXI/C status. – The ACCESS LED indicates when the GPIB-VXI/C is accessed from GPIB or VXIbus or when its MODID is asserted. • Five front panel connectors –...
Refer to Appendix D, Connectors, for descriptions of the RS-232 serial connector and the GPIB interface connector. Cables for connecting the GPIB-VXI/C serial port to an RS-232 terminal or COM1 port on an IBM PC-compatible computer are available from National Instruments.
External Clock Input Unterminated External Trigger Input You do not have to change the GPIB-VXI/C factory configuration to use it as a Slot 0 Resource Manager. The following sections describe the factory configuration settings and present alternate configurations. Figure 2-1 shows the location of the GPIB-VXI/C configurable components and their physical location relative to some of the major circuit components.
Page 21
Chapter 2 Configuration and Startup Procedures The GPIB-VXI/C is housed in a metal enclosure that has cutouts for access Note to all switches and jumpers associated with Slot 0/Non-Slot 0 settings, start-up mode, and Shared RAM settings. Under normal circumstances, you do not need to open the enclosure.
1; down is logical 0. Verifying the Installed RAM Size The GPIB-VXI/C contains 4 MB of factory-installed local RAM but is configured to use the minimum amount of 512 KB. Table 2-2 lists the RAM configurations and their associated switch settings. You can use this information to change the board configuration.
The RAM shared with the VXIbus will be the upper portion of the installed memory. Note The GPIB-VXI/C Offset Register holds the shared memory VXI A24 base address, as described in the VXIbus specification. The RM automatically configures the Offset Register at startup.
You can change the VXIbus requester level of the GPIB-VXI/C by moving the jumpers on jumper blocks W1 and W2 as shown in Figure 2-2. The GPIB-VXI/C is configured at the factory to be a Level 3 requester. GPIB-VXI/C User Manual...
Figure 2-2. VXIbus Requester Jumper Settings Setting the VXI Interrupt Handler Levels As part of the hardware capabilities on the GPIB-VXI/C, there are three VXI programmable interrupt handlers. They can be assigned dynamically by the RM or statically according to the contents of the nonvolatile memory...
External Input Termination Switches S12 and S16 enable a 50-ohm termination to ground for the external trigger and external clock inputs, respectively. The GPIB-VXI/C is factory-configured with the termination disabled for both the external trigger and the external clock inputs. Figure 2-3 shows the settings required to enable or disable the termination on the external trigger.
Configuration and Startup Procedures EPROM Configuration The amount of read-only memory (ROM) in the GPIB-VXI/C can vary from 512 KB to 1 MB. The standard configuration consists of 512 KB of EPROM, which is used for the operating firmware. The GPIB-VXI/C also includes four sockets for EPROM expansion.
SYSFAIL* is asserted, pins 1 and 6 will present an electrical short-circuit. If S17 is in the ON position, the GPIB-VXI/C DFI is set to the normally closed mode. Therefore, if SYSFAIL* is not asserted while the backplane is powered-up, pins 1 and 6 will present an electrical short-circuit.
A16 accesses, the lines AM5, AM4, and AM3 are needed high, low, and high, respectively, and AM1 is needed low. During A24 accesses, the lines AM5, AM4, and AM3 are all needed high. The GPIB-VXI/C drives the upper three address modifier lines appropriately for every access. You should configure the GPIB-VXI/C to drive the lower three address modifier lines as needed.
• 488-VXI runtime system mode is the startup mode for normal operation in a VXI system. The GPIB-VXI/C is configured at the factory to start up in this mode. The remainder of this chapter contains a description of operation in this mode.
Figure 2-9. VXI System Startup Message Switch Settings Slot 0 Resource Manager Configuration You can configure the GPIB-VXI/C for Slot 0 Resource Manager operation by enabling the VXIbus Slot 0 functions and setting the logical address to 0, as shown in Table 2-7.
EXT CLK connector. Invalid. Do not use this setting. Slot 0 Resource Manager Operation At startup, a GPIB-VXI/C configured as a Slot 0 Resource Manager performs its self-tests, executes the RM functions, and then enters its normal mode of operation.
SYSRESET* signal is negated. During this period, all of the VXIbus devices in the system should have completed their self-tests. Note You can configure the GPIB-VXI/C to wait for any number of seconds before RM operations begin. The RM then scans Logical Addresses 1 through 254 for static configuration devices (SC devices).
However, if you want to customize your own DC hierarchy and the nonvolatile configuration specifies that the RM not finish configuring the hierarchy, the GPIB-VXI/C RM does not send Identify Commander or Begin Normal Operation to any devices, either static or dynamic.
Servants. If the Message-Based device does not support minimal Word Serial[I] or VXIbus 488.2[I4] capabilities, no GPIB address link is created. The GPIB-VXI/C assigns a GPIB address to each device according to the top five bits of its logical address. For example, the GPIB address of a device with Logical Address 96 (01100000b) would be 12 (01100b).
Chapter 2 Configuration and Startup Procedures You can change the self-assigned default GPIB address of the GPIB-VXI/C through the nonvolatile memory configuration as described in the Change Configuration Information section of Chapter 4, Nonvolatile Configuration. The default GPIB address of the GPIB-VXI/C when configured for multiple secondary addresses is Secondary Address 0 (Primary Address 1).
Message-Based operation. Refer to Table 2-12. Disable the VXIbus Slot 0 functions. Set the model code of the GPIB-VXI/C to be configured for Non-Slot 0 operation using the nonvolatile configuration mode. Set the logical address to a non-zero value with an appropriate Servant area size using the nonvolatile configuration mode or by using DIP switch SW1.
Configuration and Startup Procedures If the logical address is set to FFh in nonvolatile configuration (the DIP switch cannot set the logical address to FFh), the GPIB-VXI/C will participate in dynamic configuration. Otherwise, the GPIB-VXI/C is a static configuration device.
Refer to Table 2-14. Enable the VXIbus Slot 0 functions. Set the model code of the GPIB-VXI/C to be configured for Slot 0 operation using the nonvolatile configuration mode. Set the logical address to a non-zero value with an appropriate Servant area size.
Servant area. When the GPIB-VXI/C responds to the Begin Normal Operation command, it enters the normal mode of operation. After the GPIB-VXI/C Passed bit is set, the RM can manipulate or read the MODID lines by sending the Word Serial queries Read MODID, Set Lower MODID, or Set Upper MODID to the GPIB-VXI/C.
The GPIB-VXI/C command set consists of commands and queries. Commands cause the GPIB-VXI/C to take some action. A query may also cause the GPIB-VXI/C to take some action, but it also returns a response containing data or other information.
• VXI Word Serial Communication All ports are active when the GPIB-VXI/C is in the Normal Operation substate and operate independently of one another. The GPIB-VXI/C returns query responses only to the port originating the query. The GPIB-VXI/C also maintains a separate status state for each port.
<LF> (ASCII 0Ah), it is ignored. The GPIB termination is EOI. Commands issued to the GPIB-VXI/C via VXI Word Serial Protocol are terminated by setting the END bit in the last Byte Available command. Responses are terminated by setting the END bit in response to the last Byte Request query.
( ). A list of error code descriptions is given in Appendix E, Error Codes. If the console response mode is enabled, the GPIB-VXI/C returns an error message in the following format: <CRLF> <error description> If both response modes are enabled, the program mode error message is returned first, followed by the console mode message.
GPIB-VXI/C and enters the nonvolatile configuration editor. reboots the GPIB-VXI/C and enters diagnostic mode. DIAG query can be used to determine the amount of GPIB-VXI/C installed RAM, OBRAM? and the query returns the amount of the installed RAM that is shared with VXI DPRAM? A24 space.
Example Disable console format responses. ConsMode 0 Enable console format responses. ConsMode 1 DIAG Purpose Reboot into diagnostics mode. Command Syntax DIAG Example Reboot into diagnostics mode. DIAG GPIB-VXI/C User Manual ni.com...
Chapter 3 Local Command Set DPram? Purpose Get the A24/A32 starting address and the size of the GPIB-VXI/C VXI shared RAM. Query Syntax DPram? Response Program response: <CRLF> <A24/A32 starting address>, <shared RAM size> Console response: This GPIB-VXI has <shared RAM size>K bytes dual ported to [A24, A32] <CRLF>...
#23: #24: #25: #26: #27: #28: #29: #30: #31: OBram? Purpose Get the amount of RAM installed onboard the GPIB-VXI/C. Query Syntax OBram? Response Program response: <CRLF> <memsize> where is the amount of installed RAM, in KB. <memsize> Console response: <CRLF>...
For example, disabling the program response mode from the GPIB port does not affect the response mode on the serial port. Examples Disable program format responses. ProgMode 0 Enable program format responses. ProgMode 1 GPIB-VXI/C User Manual 3-12 ni.com...
<logical must be the logical address of the GPIB-VXI/C or an onboard code instrument. address> The default control of the physical registers is given to the GPIB-VXI/C local command set parser. Examples Pass control of the physical registers to code instrument at Logical Address 5.
A24MemMap? A32MemMap? the GPIB-VXI/C is the system RM, it can access information about the entire system. If it is not the RM, it has information only about itself and its immediate Servants. query is used to find out how many devices there are in the system.
(<A32 memory size> bytes) at A32 Address<A32 memory base> • • Logical Address <la N > has <A32 memory size>K <CRLF> (<A32 memory size> bytes) at A32 Address<A32 memory base> Example Get A32 address map for the system. A32MemMap? GPIB-VXI/C User Manual 3-16 ni.com...
Servant addresses through <la X> <sa X ,1> <sa1,M> field indicates any relevant information about the status and/or capabilities <comment> of the device at Logical Address <la X > GPIB-VXI/C User Manual 3-18 ni.com...
The mnemonics have the following meanings: Device’s logical address Commander’s logical address Device’s GPIB address (255 if not assigned GPIB address) addr Slot number (255 if unknown, such as if the device does not have slot MODID capability) GPIB-VXI/C User Manual 3-20 ni.com...
<comment> if the device has no Servants. field indicates any relevant information about the status and/or capabilities <comment> of the device. Example Get a list of Servants for device at Logical Address 15. Srvnts? 15 GPIB-VXI/C User Manual 3-22 ni.com...
DCSystem? The DC commands are used to configure the VXI system when all of these conditions are present: • The GPIB-VXI/C is the RM. • At least one DC device is present in the system. • The nonvolatile configuration setup specifies not to send Begin Normal Operation (user-specified hierarchy).
Normal Operation command has already been sent to the top-level Commanders through local command. DCBNOSend Console response: <CRLF> This IS a Dynamic Configured system. if it is a DC system, or <CRLF> This is NOT a Dynamic Configured system. if it is not a DC system. GPIB-VXI/C User Manual 3-26 ni.com...
RelSrvnt? The dynamic reconfiguration commands are used to reconfigure the GPIB-VXI/C’s Servant subtree after the system has entered the Normal Operation substate. If the GPIB-VXI/C is RM, these commands can be used to reconfigure the entire system. query can be used to make the system or subtree enter the Configure...
Local Command Set Broadcast? Purpose Broadcast dynamic reconfiguration, initialization, or termination Word Serial commands to the GPIB-VXI/C’s Message-Based Servants or to all top-level Commanders in the system. Query Syntax Broadcast? <Boolean>,<ws cmd> is 1, the GPIB-VXI/C broadcasts to all top-level Commanders.
Page 72
None of the other bits has significance in this context. is a string explaining the Word Serial error as shown in the previous table. <ws error> Example Broadcast the Identify Commander Word Serial command to all top-level Commanders. broadcast? 1,IDN GPIB-VXI/C User Manual 3-30 ni.com...
<Servant's logical address> <Commander's logical address> The GPIB-VXI/C must own the device at <Servant's logical address> The GPIB-VXI/C can get ownership of any device with the command. RelSrvnt? Notice that before the query is used, the Word Serial End Normal Operation...
Query Syntax RelSrvnt? <Commander's logical address>, <Servant's logical address> Action Commands device at to release ownership of the <Commander's logical address> device at . The GPIB-VXI/C assumes ownership of the <Servant's logical address> device. Response Program response: <CRLF> 65534 if the Commander released the Servant. Any other response indicates that an error occurred.
Interrupter levels used by this device where is a 7-digit INTS INTS binary representing the seven VXI interrupt levels and a 1 in each position, meaning Interrupter present Status state of the device: status PASS FAIL IFAIL READY GPIB-VXI/C User Manual 3-34 ni.com...
Manufacturer’s ID number manid Device class; the following values may be used: devclass REG = Register-Based device MSG = Message-Based device EXT = Extended-Class device MEM = Memory-Based device Memory space requirement memspace A16/A24 A16/A32 GPIB-VXI/C User Manual 3-36 ni.com...
Console response: <CRLF> Known logical addresses are <la1>,<la2>,..., <la N > CI logical addresses are terminated with an asterisk (*) in the console mode response. Example Get a list of the known logical addresses. DLAD? GPIB-VXI/C User Manual 3-38 ni.com...
Logical Address <logical address> is <status>. SYSFAIL Inhibit is <CRLF> <state>. where is one of the following: <status> PASS FAIL IFAIL READY is one of the following: <state> Example Soft-reset device at Logical Address 3. DRES? 3 GPIB-VXI/C User Manual 3-40 ni.com...
16-bit value to write. <value> Action Write , register offset <value> <logical address> <reg offset> Example Write the Data Low register for Logical Address 4 with the value 65535 WREG 4,14,65535 GPIB-VXI/C User Manual 3-42 ni.com...
RM information query SaddrLa? Laddrs? followed by queries. LaSaddr? You can assign GPIB address links to Message-Based Servants of the GPIB-VXI/C with the command. The command deletes all GPIB address links except the link LaSaddr SaDisCon to the GPIB-VXI/C local commands.
• There is still data in the GPIB address input or output queue. Examples Attach GPIB Address 6 to Logical Address 4. LaSaddr 4,6 Release GPIB address currently attached to Logical Address 8. LaSaddr 8,255 GPIB-VXI/C User Manual 3-44 ni.com...
Query Syntax Primary? Response Program response: <CRLF> <primary address> where is the GPIB primary address of GPIB-VXI/C. <primary address> Console response: The GPIB primary address (for Secondary Address mode) of this GPIB-VXI <CRLF> is <primary address> GPIB-VXI/C User Manual 3-46...
• <CRLF> <type> Address <sa N >: attached to Logical Address <la N > SaDisCon Purpose Detach all GPIB address links except the GPIB address link to the GPIB-VXI/C command set. Command Syntax SaDisCon Action Detaches all GPIB address links from Servants of the GPIB-VXI/C.
• RdHandlers? The interrupt handler commands and queries configure and report the relationships between the GPIB-VXI/C interrupt handlers and VXIbus interrupt levels. The GPIB-VXI/C has three programmable interrupter handlers. An application program can confirm this with the query. The queries...
Chapter 3 Local Command Set AllHandlers? Purpose Get the VXIbus interrupt level assigned to all GPIB-VXI/C interrupt handlers. Query Syntax AllHandlers? Response Program response: <CRLF> <level1>,<level2>,<level3> where is the interrupt level assigned to Handler 1, is the interrupt level <level1>...
Chapter 3 Local Command Set HandlerLine? Purpose Get the level assigned to a GPIB-VXI/C interrupt handler. Query Syntax HandlerLine? <handler> Response Program response: <CRLF> <level> Console response: VXI interrupt Handler <handler> assigned to interrupt level <CRLF> <level> is the interrupt level assigned to handler .
Chapter 3 Local Command Set RdHandlers? Purpose Get the number of assignable GPIB-VXI/C interrupt handlers. Query Syntax RdHandlers? Response Program response: <CRLF> Console response: <CRLF> This GPIB-VXI has 3 configurable VXI interrupt handlers. Example Get the number of assignable GPIB-VXI/C interrupt handlers.
VXI environment, but are included for compatibility. The GPIB-VXI/C has no reason to interrupt as a 488.2 instrument. It is only a parser. All other functions of the GPIB-VXI/C are considered to be interface functions for other 488.2 VXI devices.
Idle state. Command Syntax *CLS Action None. *ESE 488.2 Intent Set the GPIB-VXI/C’s Standard Event Status Enable (ESE) register bits. Command Syntax *ESE <byte value> where is the new value of the ESE register. <byte value> Action Sets ESE to <byte value>...
*ESR? Response <CRLF> <ESR val> is the current value of the ESR. <ESR val> *IDN? 488.2 Intent Get the GPIB-VXI/C’s manufacturer, model, serial number, and firmware level. Query Syntax *IDN? Response "National Instruments","GPIB-VXI",<serial number>,<firmware <CRLF> version> GPIB-VXI/C User Manual 3-56...
Notice that because the GPIB-VXI/C only parses and routes commands, there are never any pending commands on the GPIB-VXI/C. *OPC? 488.2 Intent Cause the GPIB-VXI/C to place an ASCII 1 in its output queue when all pending operations have completed. Query Syntax *OPC? Response <CRLF>...
Return a device to a known initial state. Command Syntax *RST Action None. Other than the response mode configuration, the GPIB-VXI/C does not depart from its initial state. *SRE 488.2 Intent Set the device’s Service Request Enable (SRE) register bits.
Get the contents of a device’s Status Byte. Query Syntax *STB? Response <CRLF> <STB value> where is the current status of the path to the GPIB-VXI/C local <STB value> command parser. *TRG 488.2 Intent Cause a device to execute a stored trigger sequence. Command Syntax...
Failure to complete the self-test is indicated by a failure to respond to this query. If the response is received, the self-test was successful. *WAI 488.2 Intent Prevent device from executing any further commands until the No-Operation Pending flag is TRUE. Command Syntax *WAI Action None. GPIB-VXI/C User Manual 3-60 ni.com...
<word value> <hex word value> hexadecimal format, is in C language hexadecimal format, and <A16 hex address> is in decimal integer format. <A16 address> Example Read the ID register of Logical Address 16. A16? #hc400 GPIB-VXI/C User Manual 3-62 ni.com...
<A24 hex address> is in decimal integer format. <A24 address> Example Read the word at A24 address 205634h. A24? #h205634 SYSRESET Purpose Remotely reset system. Command Syntax SYSRESET Action Asserts the VXI backplane signal SYSRESET*. GPIB-VXI/C User Manual 3-64 ni.com...
• WaitForTrig These commands can be used to directly manipulate the VXI TTL/ECL trigger lines and the front panel trigger connectors of the GPIB-VXI/C. The trigger functions are grouped into the following four categories: • Source trigger commands act as a standard interface for asserting (sourcing) TTL and ECL triggers, as well as for detecting acknowledgements from accepting devices.
Page 108
• Trigger configuration commands are configuration tools for configuring not only the general settings of the trigger inputs and outputs, but also the National Instruments Trigger Interface Chip (TIC) counter and tick timers. The trigger configuration commands are TrigAsstConf...
<line text> <line> Value of Value of <line> <line text> 0 to 7 TTL <line> 8 to 9 ECL (<line> - 8) TCNTR TICK 1 Example Disable sensing of TTL line 4. DisTrigSense 4 GPIB-VXI/C User Manual 3-68 ni.com...
Page 112
<protocol text> <protocol> Value of Value of <protocol> <protocol text> START STOP SYNC SEMI-SYNC ASYNC Example Enable sensing of TTL line 4 for SEMI-SYNC protocol. EnaTrigSense 4, 5 GPIB-VXI/C User Manual 3-70 ni.com...
Program response: 0 Console response: Trigger handler(s) installed (lines = <lines text>): <CRLF> DefaultTrigHandler(). where the meaning of , where , and are bits that are <lines text> = x, y, z... set in <lines> GPIB-VXI/C User Manual 3-74 ni.com...
(supports SYNC and SEMI-SYNC protocols only) TIC TICK timers (supports SYNC and SEMI-SYNC protocols only) the value of specifies the protocol to use. <protocol> Value Protocol START STOP SYNC SEMI-SYNC ASYNC SEMI-SYNC and wait for Acknowledge GPIB-VXI/C User Manual 3-76 ni.com...
Page 120
Chapter 3 Local Command Set Value of Value of <protocol> <protocol text> ASYNC wait ACK ffffh wait ACK ABORT Example Source TTL line 4 for SEMI-SYNC protocol. SrcTrig 4, 5, 0 GPIB-VXI/C User Manual 3-78 ni.com...
Page 122
Configure all TTL/ECL trigger lines generally to synchronize to the falling edge of CLK10 (as opposed to the rising edge). TrigAsstConf -1, 1 Example 2 Configure TTL trigger line 4 to synchronize to CLK10 for any assertion method and do not participate in SEMI-SYNC. TrigAsstConf 4, 0 GPIB-VXI/C User Manual 3-80 ni.com...
Page 124
ECL (<line> - 8) CLK10 EXTCLK Example Configure the counter count 25 assertions on TTL trigger line 5 (the parameter <protocol> when calling will determine whether the counter accepts SYNC or EnaTrigSense SEMI-SYNC assertions). TrigCntrConf 0, 5, 25 GPIB-VXI/C User Manual 3-82 ni.com...
Page 126
MapTrigTrig TrigExtConf 40, 8 Example 3 Configure external line 48 (GPIO 8) to be used as feedback for use as a cross-point switch input and output via MapTrigTrig TrigExtConf 48, 1 GPIB-VXI/C User Manual 3-84 ni.com...
Page 128
Configure the tick timers to output a continuous 9.765-kHz square wave on TICK1 output and a 1.25-MHz clock on TICK2 output by dividing down CLK10 as an input. Call SrcTrig start the tick timers. TrigTickConf 0, 70, 10, 3 GPIB-VXI/C User Manual 3-86 ni.com...
ECL trigger lines 0 to 1 TIC counter TIC TICK1 tick timer Action The GPIB-VXI/C is set up to assert SRQ for a device attached to a GPIB address for a given trigger line’s interrupt, as configured using either the function. SrcTrig...
Page 130
Chapter 3 Local Command Set Example Set up Logical Address 4 to assert SRQ when a trigger interrupt occurs on TTL trigger line 2. TrigToREQT 4, 2 GPIB-VXI/C User Manual 3-88 ni.com...
Page 132
ECL (<line> - 8) 40 to 49 GPIO (<line> - 40) TCNTR GCNTR TICK1 TICK2 Example Unmap route of TTL line 4 to go out of the front panel as mapped by MapTrigTrig UMapTrigTrig 4, 49 GPIB-VXI/C User Manual 3-90 ni.com...
Message-Based device, while other commands do not. To distinguish between the two types of Word Serial commands and to avoid confusion between Word Serial commands and GPIB-VXI/C local commands and queries, the following terminology will be used in this section: •...
Data Low register response. <hex value> Console response: Read Protocol Error for Logical Address <log addr> returned 0x<hex value>: <description> where is text explaining the error response. <description> Example ProtErr? 3 GPIB-VXI/C User Manual 3-94 ni.com...
WScmd <log addr>, <WS cmd> Action Sends the Word Serial command to the device at <WS cmd> <log addr> Example Write the Begin Normal Operation Word Serial query (FCFFh) to a device at Logical Address 3. WScmd 3, #hFCFF GPIB-VXI/C User Manual 3-96 ni.com...
Data Low register response. <hex value> Console response: <CRLF> Logical Address <log addr> returned response 0x<hex value> Example Read the 16-bit response to a previously sent Word Serial query from Logical Address 3. WSresp? 3 GPIB-VXI/C User Manual 3-98 ni.com...
< # bytes> <hex # bytes> <resp string> in decimal and hexadecimal, respectively. Example Read a device-dependent response up to 20 characters long from a device at Logical Address 10. WSstr? 10, 20 GPIB-VXI/C User Manual 3-100 ni.com...
GPIB-VXI/C. The GPIB-VXI/C nonvolatile (NV) memory is a 256-byte EEPROM that is accessible as 64 longword locations. The first half of the NV memory (32 longwords) is reserved for use by National Instruments. The second half of NV memory is allocated for storing Code Instrument (CI) configuration variables.
C serial bus. Because it takes five to ten seconds to write the contents of the memory, the GPIB-VXI/C creates a copy of the contents of the EEPROM in RAM, which can be quickly edited. When the editing is complete, the entire contents of the RAM copy can be written back to the EEPROM.
C000h + (40h * Logical Address) If the Logical Address is set to 0, the GPIB-VXI/C will attempt to be the VXI Resource Manager. If the Logical Address is set in the range of 01 to FEh (1 through 254), the GPIB-VXI/C is set up to be a Static Configuration (SC) Message-Based (or possibly Register-Based) device.
GPIB-VXI/C Model Codes to use. The factory setting is for Slot 0. Slave Address Space The GPIB-VXI/C can be configured to share 0%, 25%, 50%, or 100% of its onboard RAM with the VXIbus in either A24 or A32 address spaces.
The GPIB-VXI/C requires a minimum of 100h message buffers. The factory setting is 180h. Console You can use this parameter to set the GPIB-VXI/C RS-232 local command console to default to enabled or disabled. You can use the local command to change the setting at runtime.
Chapter 4 Nonvolatile Configuration As part of the hardware capabilities on the GPIB-VXI/C, there are three VXI programmable interrupt handlers. They can be assigned dynamically by the RM or statically according to the contents of the nonvolatile memory. A24 Assign Base This entry determines the A24 address where the Resource Manager will begin allocating A24 address space for VXI devices.
Manager during a Word Serial Read Servant Area query. This parameter applies only when the GPIB-VXI/C is not Resource Manager. GPIB Primary This parameter specifies the GPIB primary address of the GPIB-VXI/C to be used when in multiple secondary addressing mode. GPIB Address Assignment Method This parameter specifies what method to use to configure the GPIB address of the GPIB-VXI/C.
Chapter 4 Nonvolatile Configuration Code Instrument Block Base This parameter specifies the local GPIB-VXI/C address base for Static Code Instruments. Note National Instruments no longer supports development of Code Instruments. Code Instrument Number of RAM Blocks This parameter specifies the number of 4-KB RAM blocks allocated from the block base for use by Static Code Instruments.
The Change Configuration Information editor modifies only the RAM copy of the NV memory contents. You must update the NV memory with the Write Back (Save) command in the main menu to retain the changes after the GPIB-VXI/C has been Changes reset or powered-down.
Table 5-1. Each test is composed of one or more subroutines called commands. Each test is designed to functionally test a specific part of the GPIB-VXI/C circuitry. You can execute the diagnostics by test groups or by individual tests.
The highest-level menu is the Diagnostics Mode menu, which you can use to select whether to execute a test group or tests, and the mode in which to run them. The Diagnostics Mode menu is shown in the following example and described in Table 5-2. GPIB-VXI/C User Manual ni.com...
Select s to toggle this command on or off. With this feature, each access to memory or to a register is reported on the screen. In addition, the GPIB-VXI/C waits for you to press a key before actually performing the displayed step.
Hit 'q' to quit Enter: When you have completed all the diagnostic tests, select to quit and exit diagnostics mode. The GPIB-VXI/C prompts you to reboot the system in a different startup mode. Diagnostic Test Groups Group 1–RAM This group tests the RAM to ensure that the CPU can correctly read and write from RAM addresses.
Test Timer 2 matched mode Group 3–MIGA This group tests the MIGA registers. The MIGA, a gate array designed by National Instruments, contains the VXI registers as defined for Message-Based devices. Table 5-5 gives the test numbers and names of the MIGA tests.
Check can recognize SDC Check can set END bit on EOI Check can set EOI bit on EOI Check can set END on 8-bit EOS Check can set END on 7-bit EOS Check can recognize GET command GPIB-VXI/C User Manual ni.com...
Page 162
Check flags on 16-bit independent FIFO Fill and empty 16-bit independent FIFO Fill and empty 16-bit FIFO Reset non-full FIFO Reset full FIFO 16-bit FIFO read Fill and empty 16-bit FIFO STOP and HALT in 16-bit A-1st mode GPIB-VXI/C User Manual 5-10 ni.com...
Group 5–TIC This group tests the TIC portion of the MANTIS ASIC. The MANTIS, an ASIC designed by National Instruments, handles the TTL/ECL trigger interface and CLK10 conversion. Table 5-7 gives the test numbers and names of the TIC tests.
Page 166
Software Semi-Sync accept on Trig4 Software Semi-Sync accept on Trig5 Software Semi-Sync accept on Trig6 Software Semi-Sync accept on Trig7 Software Semi-Sync accept on Trig8 Software Semi-Sync accept on Trig9 Hardware Semi-Sync and Automatic ACK on Trig0 GPIB-VXI/C User Manual 5-14 ni.com...
Group 7–68881 Coprocessor This is a test of the numeric coprocessor operation. If the 68881 is not installed, the GPIB-VXI/C skips this test. Table 5-9 gives the test number and name of the 68881 Coprocessor test. Table 5-9. 68881 Coprocessor Test...
Page 170
Chapter 5 Diagnostic Tests Table 5-12. Miscellaneous Tests (Continued) Test Number Test Description VXI BTO test: Test VXI bus timeout unit Sanity timer test: Test enabled/disabled EPROM checksum test EEPROM stamp and checksum test GPIB-VXI/C User Manual 5-18 ni.com...
NI-VISA Code Instrument for the GPIB-VXI/C (the NI-VISA CI), and this appendix now documents the NI-VISA CI. CIs are a National Instruments GPIB-VXI/C proprietary feature. A CI is a set of software routines running on the GPIB-VXI/C that the system sees as its own message-based device.
Page 172
“DINF?” “Cmdr?” with viGetAttribute() VI_ATTR_CMDR_LA “LaSaddr?” with viGetAttribute() VI_ATTR_GPIB_SECONDARY_ADDR “Primary?” with viGetAttribute() VI_ATTR_GPIB_PRIMARY_ADDR “WREG” with viOut16() VI_A16_SPACE or “A16” “RREG?” with viIn16() VI_A16_SPACE or “A16?” “A24” with viOut16() VI_A24_SPACE “A24?” with viIn16() VI_A24_SPACE “SrcTrig” viAssertTrigger() GPIB-VXI/C User Manual ni.com...
Page 173
, you pass a device-relative offset in the specified address space. viIn16() This is different from the GPIB-VXI/C local command set, which accepts absolute addresses. If your application currently uses absolute addressing and you do not want to convert to device-relative offsets, you may consider the MEMACC resource, which accepts absolute addressing.
Page 174
If you have more than one GPIB-VXI controller in your system, or if you change the primary address of a GPIB-VXI controller from its default (1 for the National Instruments GPIB-VXI/C), or if you have a GPIB-VXI controller from another vendor, then you need to configure NI-VISA to find such a controller.
Page 175
Code Instruments (CIs). Two CIs come standard in the firmware of the GPIB-VXI/C. The first CI is called the DMAmove CI and is used for dedicating one of the GPIB-VXI/C GPIB addresses for use as a high-speed memory port. The second CI is used for controlling one or more Colorado Data Systems (CDS) 73A-852 adapter modules.
Page 176
Appendix B Using the DMAmove and CDS-852 Adapter Code Instruments GPIB-VXI/C local command set command . This section explains how to use the ECIboot? nonvolatile configuration editor to permanently install an EPROMed Code Instrument. Enter the nonvolatile configuration mode as described in Chapter 4, Nonvolatile Configuration.
Page 177
For the CDS-852 adapter, configure as many CI base locations as there are 852 adapters to be controlled by the GPIB-VXI/C. For example, to control four 73A-852s, configure CI base locations 0 through 3. The addresses for the two CIs are as follows.
Page 178
Must Re-initialize pROBE or reboot for pSOS changes to take effect. Other changes made automatically when configuration saved. ********************************************** DONE WITH CONFIGURATION Change startup mode Dip settings to enter different mode or push RESET to reconfigure. ********************************************** GPIB-VXI/C User Manual ni.com...
Page 179
If a CI is configured in nonvolatile configuration to be executed, the CI will be booted upon the next power cycle of the GPIB-VXI/C. The CI booting procedure actually occurs after the Resource Manager has run and the local command set has been initiated on all ports.
Page 180
EOI on the last byte, with the continuous data transfer with EOI on the last byte. If you are reading data from the GPIB-VXI/C out to the GPIB, simply follow the 16-byte transfer, which has EOI on the last byte, with a GPIB read. If both...
Page 181
DMAmove including moving to or from VXI A16 space, VXI A24 space, or local GPIB-VXI/C memory. It can transfer 8- or 16-bit quantities from either source or destination (they can be different). It can increment or not increment addresses as it counts to give fast access to FIFO registers or block memory.
Page 182
All accesses to or from the GPIB and VXI are logged to the serial port. The CDS-852 Adapter Code Instrument After the nonvolatile configuration is complete and the GPIB-VXI/C is rebooted, the CDS-852 Adapter Code Instrument will be up and running. You should see the following...
Page 183
852 adapter. Because National Instruments has not had the opportunity to study the command sets of all CDS plug-in instruments, you need to keep in mind the possibility of conflict as you develop your applications.
Page 184
Sets the adapter CI read mode to ASCII. The maximum ASCII response size allowed is 512 bytes. Purpose Set the adapter CI read mode to binary. Command Syntax Action Sets the adapter CI read mode to binary. Read size is limited to 512 bytes, or as configured by command. GPIB-VXI/C User Manual B-10 ni.com...
Page 186
The adapter CI expects to find the target 852 adapter at offset * 10000h. <val> The default (initial) value of is the adapter DCI’s logical address. <val> Example Set the adapter CI to operate with a 852 adapter at A24 base address 830000h. !!L 83 GPIB-VXI/C User Manual B-12 ni.com...
Page 188
Appendix B Using the DMAmove and CDS-852 Adapter Code Instruments Purpose Disable read termination on the END bit. Command Syntax Action Disables read termination on the END bit (bit 8). GPIB-VXI/C User Manual B-14 ni.com...
Page 189
Specifications This appendix lists various module specifications of the GPIB-VXI/C, such as physical dimensions and power requirements. Microprocessor........16-MHz 68070 Coprocessor (optional) ......16-MHz 68882 RAM............4 MB (configured to use 512 KB) Physical C-size VXIbus board slot requirements ........1 slot Local bus keying ........
Page 190
Temperature..........0 to 55 °C Relative humidity ........0 to 95%, noncondensing Storage Environment Temperature..........–40 to 125 °C Relative humidity ........0 to 100%, noncondensing FCC............Class A verified Functionality IEEE-488 Capability Code Description Source Handshake Acceptor Handshake T5, TE5 Talker, Extended Talker GPIB-VXI/C User Manual ni.com...
Page 192
Connectors This appendix describes the connectors found on the GPIB-VXI/C. The illustrations in this appendix show the mating face of the connectors. Note An asterisk suffix (*) on a signal name indicates that the signal is active low. RS-232 Connector Type: 9-pin Subminiature D HD-20 Figure D-1.
Page 193
If you are building a cable for the RS-232 port, do not connect to pins 1 and 6. Caution Connecting to these pins can result in damage to the GPIB-VXI/C. You should connect to these pins only if you are using DFI. Refer to the...
Page 199
TTLTRG1* TTLTRG2* not connected TTLTRG3* +5 V not connected TTLTRG4* not connected TTLTRG5* TTLTRG6* not connected TTLTRG7* not connected not connected not connected not connected MODID00 not connected +24 V SUMBUS +5 V –24 V GPIB-VXI/C User Manual ni.com...
Page 201
Unable to create secondary address link Device Secondary address is already attached to a logical address Device Device is not a Message-Based device Device Device is not a servant of this GPIB-VXI/C Device Device does not have commander capability Device Not Dynamically Configured Device...
Page 202
Logical address is out of range Block(s) requested are used Block(s) requested do not exist Servant(s) requested do not exist Servant(s) requested are not servants of the GPIB-VXI/C or another DCI Commander requested does not exist Servant(s) requested do not have the same commander...
Page 203
Servant(s) requested has secondary address link Memory requested for DCI Word Serial structures is unavailable Logical address referenced is not the GPIB-VXI/C or local DCI Logical address referenced is not GPIB-VXI/C’s or CI’s servant Stack size requested for worker process exceeds FFFFh words...
Page 205
In addition, the MANTIS has 10 external connections referred to as General Purpose Input/Output (GPIO) connections. Figure F-1 shows the configuration of the GPIOs on the GPIB-VXI/C. You can route a GPIO to any or all of the VXI trigger lines or the 5-bit tick timer. By using the built-in 10 MHz clock or GPIO 13.975 kHz, 4.9152 MHz, or TRIG IN...
Page 206
2) T1 and T2 are timers from the GPIO3 68070 processor which are TRIG IN (direct) GPIO2 presently inaccessible to users. TRIG OUT* GPIO1 TRIG IN* (buffer) GPIO0 EXTCLK Backplane CLK10 CLK10 Figure F-1. GPIB-VXI/C GPIO Connections GPIB-VXI/C User Manual ni.com...
Page 207
Technical Support and Professional Services Visit the following sections of the National Instruments Web site at for technical support and professional services: ni.com • Support—Online technical support resources include the following: – Self-Help Resources—For immediate answers and solutions, visit our extensive library of technical support resources available in English, Japanese, and Spanish at .
Page 209
GPIB-VXI/C Downloaded CI DCI; a form of CI that is downloaded into the GPIB-VXI/C’s RAM memory Dynamic configuration DC device; a device that initially has a logical address of 255.
Page 211
GPIB-VXI/C. It is commercially available from Software Components Group, Inc. GPIB-VXI/C User Manual Glossary-4...
Page 212
Glossary Query similar to a command in that it also causes the GPIB-VXI/C to take some action, but it always returns a response containing data or other information See Resident CI Register-Based Device a Servant-only device that supports VXIbus configuration registers.
Page 213
VMEbus Extensions for Instrumentation VXI pROBE mode mode in which you can use the enhanced pROBE debugger. This mode is available only with the GPIB-VXI/C development firmware option. VXI system mode the startup mode for normal operation in a VXI system...
Need help?
Do you have a question about the GPIB-VXI/C and is the answer not in the manual?
Questions and answers