background image

Chapter 2

Configuration and Startup Procedures

GPIB-VXI/C User Manual

2-22

ni.com

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.

Non-Slot 0 Message-Based Device Operation

At startup, a GPIB-VXI/C configured as a Non-Slot 0 Message-Based 
device performs its self-tests. It then waits until it receives its 

Device Grant

 

and 

Begin Normal Operation

 Word Serial commands. The RM grants any 

logical addresses to the GPIB-VXI/C that reside within its Servant area. 
When it responds to the 

Begin Normal Operation

 command, the 

GPIB-VXI/C enters its normal mode of operation.

Front Panel LED Indications for Message-Based 
Device Operation

The GPIB-VXI/C indicates the progress of its self-test with the 

FAILED

TEST

, and 

ON LINE

 LEDs. The LED indications are shown in Table 2-13. 

A successful system startup sequences through the first five states. 
The point of failure is indicated for states in which the 

FAILED

 LED is 

Table 2-12.  

Non-Slot 0 Message-Based Device Operation Switch and

Jumper Settings

Jumper/Switch

Position

Function

Switch S15

OFF

If S5 is ON, the GPIB-VXI/C sources 
CLK10 at the front panel EXT CLK 
connector.

Switch S22

OFF

VXI BTO disabled.

Switch S23

OFF

Bus arbiter and SYSCLK disabled. CLK10 
receiving from backplane.

Switch S24

OFF

MODID pulled down.

Logical Address

Refer to Chapter 4, 

Nonvolatile Configuration

.

Logical address is not equal to 0. Set in 
nonvolatile configuration or by using 
DIP switch SW1.

Non-Slot 0 
Model Code

Refer to Chapter 4, 

Nonvolatile Configuration

.

Model code is set to the Non-Slot 0 
value. Set in nonvolatile configuration.

Servant Area 
Size

Refer to Chapter 4, 

Nonvolatile Configuration

Set appropriate Servant area size. 
Set in nonvolatile configuration.

Summary of Contents for GPIB-VXI/C

Page 1: ...VXI T GPIB VXI C User Manual GPIB VXI C User Manual May 2002 Edition Part Number 370556A 01...

Page 2: ...11 France 01 48 14 24 24 Germany 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91 80 4190000 Israel 03 6393737 Italy 02 413091 Japan 03 5472 2970 Korea 02 3451 3400 Malaysia 603 95967...

Page 3: ...eration 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...

Page 4: ...ments could void the user s authority to operate the equipment under the FCC Rules Class A Federal Communications Commission This equipment has been tested and found to comply with the limits for a Cl...

Page 5: ...ought for OEMs if also available from an original manufacturer that also markets in the EU or where compliance is not required as for electrically benign apparatus or cables To obtain the DoC for this...

Page 6: ...Setting the Logical Address GPIB Primary Address and Servant Area Size 2 4 Verifying the Installed RAM Size 2 4 Setting the Shared Memory Size 2 5 Setting the Reset Operation 2 6 Setting the VXIbus R...

Page 7: ...s for Message Based Device Operation 2 22 Slot 0 Message Based Device Configuration 2 23 Slot 0 Message Based Device Operation 2 24 Chapter 3 Local Command Set Command Set Access 3 2 Command Syntax 3...

Page 8: ...I System Commands 3 33 DCON 3 34 DINF 3 36 DLAD 3 38 DNUM 3 39 DRES 3 40 RREG 3 41 WREG 3 42 GPIB Address Configuration Commands and Queries 3 43 LaSaddr 3 44 LaSaddr 3 45 Primary 3 46 SaddrLa 3 47 Sa...

Page 9: ...nf 3 81 TrigExtConf 3 83 TrigTickConf 3 85 TrigToREQT 3 87 UMapTrigTrig 3 89 WaitForTrig 3 91 Word Serial Communication Commands and Queries 3 92 ProtErr 3 94 RespReg 3 95 WScmd 3 96 WScmd 3 97 WSresp...

Page 10: ...Address Assignment Method 4 8 GPIB Flags 4 8 GPIB Addresses to Avoid 4 8 Code Instrument Block Base 4 9 Code Instrument Number of RAM Blocks 4 9 Resident Code Instrument Locations 4 9 Code Instrument...

Page 11: ...roup 10 Miscellaneous Tests 5 17 Appendix A Using the NI VISA Code Instrument Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments Appendix C Specifications Appendix D Connectors Appendix...

Page 12: ...the keyboard sections of code programming examples and syntax examples This font is also used for the proper names of disk drives paths directories programs subprograms subroutines device names functi...

Page 13: ...its first occurrence Related Documentation The following documents contain information that you might find helpful as you read this manual IEEE Standard Codes Formats Protocols and Common Commands AN...

Page 14: ...PIB VXI C is factory configured to function as the system Resource Manager RM It performs the VXIbus startup configuration self test and initialization functions as well as VXIbus Slot 0 related servi...

Page 15: ...Notify National Instruments if the module appears damaged in any way Do not install a damaged module into your VXIbus mainframe VXIbus Characteristics The GPIB VXI C has the following VXIbus capabili...

Page 16: ...istener Extended Listener multiple primary or multiple secondary addressing SR1 Service Request DC1 Device Clear DT1 Device Trigger RL0 Remote Local PP0 Parallel Poll IEEE 488 2 compatible 488 VXIbus...

Page 17: ...software modules called Code Instruments CIs that perform special functions in the VXIbus environment The CIs supported by National Instruments provide the following Optimized I O through NI VISA the...

Page 18: ...es that a 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...

Page 19: ...available for many computers from National Instruments connected to the GPIB VXI C GPIB port A dumb terminal or host running a terminal emulator connected to the GPIB VXI C serial port optional The s...

Page 20: ...e 2 1 GPIB VXI C Factory Configuration Function Factory Configuration Startup Mode 488 VXI Runtime System Mode VXIbus Characteristics Resource Manager RM Logical Address Servant Area Size Shared Memor...

Page 21: ...IB VXI C Parts Locator Diagram 1 VXIbus Requester Level 2 MSB 3 Logical Address DIP Switch set to FFh 4 LSB5 Shared RAM Switches 5 S1 S2 6 S2 OFF 7 S1 OFF 8 Installed RAM Switches 9 S6 10 S711Address...

Page 22: ...Up position 0xFF At this setting the GPIB VXI C reads the logical address from the onboard EEPROM To change the logical address set the switches to the hex value of the logical address Switch positio...

Page 23: ...XIbus will be the upper portion of the installed memory The GPIB VXI C Offset Register holds the shared memory VXI A24 base address as described in the VXIbus specification The RM automatically config...

Page 24: ...reset signal Backplane SYSRESET signal resets GPIB VXI C SYSRESET on backplane asserts local reset The reset parameters can be altered by the nonvolatile memory configuration described in the Change...

Page 25: ...s 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 nonv...

Page 26: ...er and the external clock inputs Figure 2 3 shows the settings required to enable or disable the termination on the external trigger Figure 2 4 shows the settings required to enable or disable the ter...

Page 27: ...em according to the silkscreen printed on the board as shown in Figure 2 1 The 2764 27128 27256 and 27512 EPROMs have fewer pins than the expansion sockets In these cases align the bottom pins of the...

Page 28: ...erial port pins If S17 is in the OFF position the GPIB VXI C DFI is set to the normally open mode Therefore if SYSFAIL is not asserted while the backplane is powered up pins 1 and 6 will present an el...

Page 29: ...1 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 G...

Page 30: ...up 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 In nonv...

Page 31: ...ration Non Slot 0 Resource Manager Non Slot 0 Message Based device non Resource Manager Slot 0 Message Based device non Resource Manager This section describes the GPIB VXI C configuration procedures...

Page 32: ...0 functions and setting the logical address to 0 as shown in Table 2 7 Table 2 7 Slot 0 Resource Manager Operation Switch and Jumper Settings Jumper Switch Position Function Switches S9 and S15 Refer...

Page 33: ...successful system startup will sequence through the first five states The point of failure is indicated for states in which the FAILED LED is lit for an extended period of time The LED indications ar...

Page 34: ...Ibus 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 second...

Page 35: ...ccording to the memory requirements indicated by the contents of its Device Type Register and writes an appropriate value to the device s Offset Register The RM configures the initial Commander Servan...

Page 36: ...meaning that at least one DC device was found and the nonvolatile configuration specifies that the RM should create a hierarchy with DC devices assigned to Logical Address 0 the RM follows the same st...

Page 37: ...able GPIB address For example if the GPIB VXI C and its Message Based Servants have Logical Addresses 0 24 27 and 33 the GPIB VXI C assigns GPIB addresses as shown in Table 2 10 In the example shown i...

Page 38: ...ion System Configuration Table During the execution of the RM and general configuration operations the GPIB VXI C builds up a table of system configuration information Each device has an entry in the...

Page 39: ...VXI C for Non Slot 0 Message Based operation Refer to Table 2 12 1 Disable the VXIbus Slot 0 functions 2 Set the model code of the GPIB VXI C to be configured for Non Slot 0 operation using the nonvol...

Page 40: ...tes the progress of its self test with the FAILED TEST and ON LINE LEDs The LED indications are shown in Table 2 13 A successful system startup sequences through the first five states The point of fai...

Page 41: ...ize 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 V...

Page 42: ...S23 ON Bus arbiter and SYSCLK enabled CLK10 sourcing backplane Switch S24 ON MODID pulled up Logical Address Refer to Chapter 4 Nonvolatile Configuration Logical address is not equal to 0 Set in nonvo...

Page 43: ...system configuration and reconfiguration VXI defined Common ASCII System Commands GPIB address configuration VXIbus interrupt handler configuration IEEE 488 2 common commands Instrument development a...

Page 44: ...compatible with the IEEE 488 2 standard It will accept numeric parameters in the 488 2 binary octal decimal or hexadecimal formats 488 2 binary parameters are prefixed with b Octal parameters are pre...

Page 45: ...lable command Responses are terminated by setting the END bit in response to the last Byte Request query Command and Query Responses The local commands and queries have two response formats program mo...

Page 46: ...5 Unless otherwise noted all returned values are decimal Console mode query responses are self explanatory and are not described in this manual The query response line termination sequence shown in th...

Page 47: ...nfiguration dc Dynamic configuration ba VXIbus access rc Dynamic reconfiguration ws Word Serial communication rm Resource Manager tr TTL trigger access cc Common commands The default type lists the ca...

Page 48: ...onse modes for the port originating the command The ConsoleEna and WordSerEna commands control access to the local command set from the RS 232 and VXI Word Serial ports The NVconf query returns the co...

Page 49: ...e the RS 232 port as the console Command Syntax ConsoleEna Boolean Action If Boolean is TRUE ConsoleEna sets the RS 232 port to be a local command set input If Boolean is FALSE ConsoleEna disables the...

Page 50: ...ables console format responses for the command source issuing the command The console response mode applies only to the response path connected to the ConsMode command source For example disabling the...

Page 51: ...Syntax DPram Response Program response A24 A32 starting address shared RAM size CRLF Console response This GPIB VXI has shared RAM size K bytes dual ported to A24 A32 Address A24 A32 hex starting addr...

Page 52: ...T Config PBtoLocalRESET PBtoSYSRESET SYSRESETtoLocalRESET Serial Number 0x 10003 User pROBE Pars 0x 0 None Region 1 Size 0x070000 Number Procs 32 Number Exchgs 32 Number Msgs 384 Console Enabled VXI I...

Page 53: ...m response memsize CRLF where memsize is the amount of installed RAM in KB Console response This GPIB VXI has expression of RAM installed onboard CRLF where expression is the amount of installed RAM C...

Page 54: ...issuing the command If Boolean is FALSE ProgMode disables program format responses for the command source issuing the command The program response mode applies only to the response path connected to t...

Page 55: ...ess Action Control of the physical Word Serial registers is passed to logical address logical address must be the logical address of the GPIB VXI C or an onboard code instrument The default control of...

Page 56: ...stem If it is not the RM it has information only about itself and its immediate Servants The Numladdrs query is used to find out how many devices there are in the system The number of devices could th...

Page 57: ...24 memory base A24 memory size CRLF laN A24 memory base A24 memory size CRLF where la1 through laN are logical addresses containing A24 address space Console response A24 Memory Map is as follows CRLF...

Page 58: ...e A32 memory size CRLF laN A32 memory base A32 memory size CRLF where la1 through laN are logical addresses containing A32 address space Console response A32 Memory Map is as follows CRLF Logical Addr...

Page 59: ...er Query Syntax Cmdr logical address where logical address is the logical address of the device Response Program response Commander s logical address CRLF Console response The Commander of Logical Add...

Page 60: ...used logical addresses Notice that no value is returned for Logical Address 255 Console response Known Hierarchy is as follows CRLF Logical address la1 has Servants sa1 1 sa1 M comment CRLF Logical ad...

Page 61: ...gh laN are the known logical addresses Console response Known logical addresses are la1 la2 laN CRLF CI logical addresses are terminated with an asterisk in the console mode response NumLaddrs Purpose...

Page 62: ...s CRLF CRLF Commander s Logical Address cla CRLF GPIB Secondary Address addr CRLF Slot slot CRLF Device class devclass class CRLF Extended Sub Class subclass CRLF Manufacturer s ID manID manufacturer...

Page 63: ...t 0 A16 only 1 A16 A24 2 A16 A32 membase Memory base address memsize Memory size in bytes state Status state 0 Failed and not Ready 1 Passed and not Ready 2 Failed and Ready 3 Passed and Ready line st...

Page 64: ...la1 through slaN are the Servant device logical addresses Console response Logical Address logical address has servants sla1 sla2 slaN comment CRLF if the device has Servants or Logical Address logica...

Page 65: ...the Ready and Passed bits val can be interpreted as follows 0 The device is Failed and not Ready 1 The device is Passed and not Ready 2 The device is Failed and Ready 3 The device is Passed and Ready...

Page 66: ...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 The system is still in the startup Con...

Page 67: ...age Based Commander in a DC system DCGrantDev can be used only to configure the initial Commander Servant hierarchy of a DC system and before DCBNOSend is used to cause the system to enter the Normal...

Page 68: ...am response 1 CRLF if it is a DC system or 0 CRLF if it is not a DC system or if it is no longer dynamically configurable because the Begin Normal Operation command has already been sent to the top le...

Page 69: ...te by broadcasting the End Normal Operation Word Serial query or the Clear Word Serial command followed by the Abort Normal Operation Word Serial query The RelSrvnt and GrantDev queries can then be us...

Page 70: ...GPIB VXI C should only broadcast to top level Commanders when it is RM The Broadcast query can fail due to inability to complete a Word Serial operation or because an invalid code was returned from a...

Page 71: ...l response of the device at Logical Address la For Word Serial commands ws response is 0 Word Serial command name is the name of the command name as shown in the previous table ws error code is a deci...

Page 72: ...0 ni com None of the other bits has significance in this context ws error is a string explaining the Word Serial error as shown in the previous table Example Broadcast the Identify Commander Word Seri...

Page 73: ...ical address The GPIB VXI C can get ownership of any device with the RelSrvnt command Notice that before the GrantDev query is used the Word Serial End Normal Operation query or a Clear command follow...

Page 74: ...lease ownership of the device at Servant s logical address The GPIB VXI C assumes ownership of the device Response Program response 65534 CRLF if the Commander released the Servant Any other response...

Page 75: ...information configuration perform a soft reset and peek poke a device s registers The DNUM query is used to find out how many devices are in the system The DLAD query returns a list of logical addres...

Page 76: ...ndlers IHANS CRLF Interrupters INTS CRLF Passed Failed Ready status CRLF Device Substate sstate CRLF Manufacturer Specific Comment com CRLF The mnemonics have the following meanings la Device s logica...

Page 77: ...ommand Set National Instruments Corporation 3 35 GPIB VXI C User Manual sstate Substate of the device NOP CONF NONE com Not used always returns Example Get device configuration information for Logical...

Page 78: ...manid manufacturer name CRLF Model Code modelcode CRLF Device Class devclass CRLF A16 A24 A32 Memory Space memspace CRLF A16 A24 A32 Memory Base membase CRLF A16 A24 A32 Memory Size memsize CRLF Slot...

Page 79: ...nual membase Memory based address for A16 A24 A32 HHHH HHHHHH HHHHHHHH memsize Memory sizes for A16 A24 A32 HHHH HHHHHH HHHHHHHH slot Slot number 1 if unknown slot0 Slot 0 Logical Address 1 if unknown...

Page 80: ...s Query Syntax DLAD Response Program response la1 la2 laN CRLF where la1 through laN are the known logical addresses Console response Known logical addresses are la1 la2 laN CRLF CI logical addresses...

Page 81: ...UM Purpose Get the number of the known logical addresses Query Syntax DNUM Response Program response num las CRLF where num las is the number of known logical addresses Console response There are num...

Page 82: ...five seconds after the soft reset sequence sysfail flag determines whether or not the device is kept sysfail inhibited Response Program response status CRLF Console response Logical Address logical a...

Page 83: ...here logical address is the device to read from and reg offset is the number of bytes to offset from the base of the VXI registers for that device Response Program response hex word value CRLF Console...

Page 84: ...yntax WREG logical address reg offset value where logical address is the device to write reg offset is the register offset to write to and value is the 16 bit value to write Action Write value to logi...

Page 85: ...e Primary query from the serial port You can determine the relationships between GPIB addresses and VXI logical addresses by using the Saddrs query followed by SaddrLa queries or by using the RM infor...

Page 86: ...a GPIB address to a logical address that already has a GPIB address will cause the first GPIB address to be replaced by the new GPIB address Attempting to release or change a GPIB address will result...

Page 87: ...ress attached to the logical address A value of 255 indicates that no GPIB address is attached to the logical address Console response Logical Address logical address is attached to GPIB type Address...

Page 88: ...pose Get a GPIB primary address Query Syntax Primary Response Program response primary address CRLF where primary address is the GPIB primary address of GPIB VXI C Console response The GPIB primary ad...

Page 89: ...s that the GPIB address is attached to A value of 255 indicates that the GPIB address is not attached to a logical address Console response GPIB type Address GPIB address is attached to Logical Addres...

Page 90: ...y attached to logical addresses Console response Current GPIB Addresses used type Address sa1 attached to Logical Address la1 type Address sa2 attached to Logical Address la2 type Address saN attached...

Page 91: ...ndlerLine 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 pr...

Page 92: ...e interrupt level assigned to Handler 3 If levelN equals 0 Interrupt Handler handlerN is not assigned to an interrupt level Console response VXI interrupt Handler 1 assigned to interrupt level level1...

Page 93: ...e range 1 to 3 and level is a numeric integer quantity in the range 0 to 7 Action If level is in the range 1 to 7 VXIbus Interrupt Line level is assigned to Interrupt Handler handler If level is 0 the...

Page 94: ...ndlerLine handler Response Program response level CRLF Console response VXI interrupt Handler handler assigned to interrupt level level CRLF level is the interrupt level assigned to handler handler If...

Page 95: ...dHandlers Purpose Get the number of assignable GPIB VXI C interrupt handlers Query Syntax RdHandlers Response Program response 3 CRLF Console response This GPIB VXI has 3 configurable VXI interrupt ha...

Page 96: ...requirements Many of these 488 2 commands have limited meaning in the 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 p...

Page 97: ...uctures and force them to the Operation Complete Query 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...

Page 98: ...value of the ESE register The default value is FFh ESR 488 2 Intent Read and clear the Standard Event Status register ESR Query Syntax ESR Response ESR val CRLF ESR val is the current value of the ES...

Page 99: ...e ESR when all pending selected device operations have been finished Command Syntax OPC Action None Notice that because the GPIB VXI C only parses and routes commands there are never any pending comma...

Page 100: ...ion 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 Command Syntax SRE...

Page 101: ...val CRLF SRE val is the current value of the SRE register The default value is FFh STB 488 2 Intent Get the contents of a device s Status Byte Query Syntax STB Response STB value CRLF where STB value...

Page 102: ...status Query Syntax TST Response 0 CRLF 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...

Page 103: ...YSRESET The A16 and A24 commands can be used to poke or write locations in VXI A16 and A24 memory space The A16 and A24 queries can be used to peek or read locations in VXI A16 and A24 memory space No...

Page 104: ...ad word value from VXI A16 address space Query Syntax A16 A16 address Response Program response word value CRLF Console response Value hex word value word value read from A16 address A16 hex address A...

Page 105: ...24 Purpose Write a 16 bit value into VXI A24 space Command Syntax A24 A24 address word value Notice that A24 address has a valid range of 2097152 to 14680062 h200000 to hE7FFFE Action Write word value...

Page 106: ...word value read from A24 address A24 hex address A24 address CRLF where word value is in decimal integer format hex word value is in C language hexadecimal format A24 hex address is in C language hexa...

Page 107: ...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...

Page 108: ...witch signal conditioning configurator Trigger configuration commands are configuration tools for configuring not only the general settings of the trigger inputs and outputs but also the National Inst...

Page 109: ...wledge Response Program response 0 Console response Trigger acknowledged line line text CRLF where the meaning of line text corresponds to the value of line as follows Example Acknowledge a trigger in...

Page 110: ...trigger line on which to disable sensing Response Program response 0 Console response Trigger sense disabling line line text complete CRLF where the meaning of line text corresponds to the value of l...

Page 111: ...r tick timer for the specified protocol Query Syntax EnaTrigSense line protocol where the value of line corresponds to the trigger line on which to enable sensing and the value of protocol specifies t...

Page 112: ...meaning of line text corresponds to the value of line as follows and the meaning of protocol text corresponds to the value of protocol as follows Example Enable sensing of TTL line 4 for SEMI SYNC pr...

Page 113: ...gger line or counter tick source Response Program response 0 Console response Trigger handler line line text DefaultTrigHandler CRLF where the meaning of line text corresponds to the value of line as...

Page 114: ...of destTrig corresponds to the destination line to map from the source Value Trigger Line 0 to 7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 40 to 49 External source destination GPIO 0 to...

Page 115: ...CRLF where the meaning of line text source and line text destination correspond to the value of srcTrig and destTrig as follows Example Map TTL line 4 to go out of the front panel with no signal cond...

Page 116: ...er line s to set and function is a pointer to the new trigger interrupt handler where the value is defined as follows Response Program response 0 Console response Trigger handler s installed lines lin...

Page 117: ...l Example Set a trigger interrupt handler for TTL trigger line 4 SetTrigHndlr 16 0 Note DefaultTrigHandler automatically acknowledges acceptor protocols that require acknowledgement while DefaultTrigH...

Page 118: ...e the value of protocol specifies the protocol to use Value Trigger Line 0 to 7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 40 to 49 External source destination GPIO 0 to 9 supports ON OF...

Page 119: ...aning of line text corresponds to the value of line as follows and the meaning of protocol text corresponds to the value of protocol as follows 8 ASYNC and wait for Acknowledge ffffh Abort previous Ac...

Page 120: ...apter 3 Local Command Set GPIB VXI C User Manual 3 78 ni com Example Source TTL line 4 for SEMI SYNC protocol SrcTrig 4 5 0 8 ASYNC wait ACK ffffh wait ACK ABORT Value of protocol Value of protocol te...

Page 121: ...ion mode where All other values are reserved for future expansion Value Trigger Line 0 to 7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 ffffh General assertion configuration all lines Bit...

Page 122: ...corresponds to the value of line Example 1 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...

Page 123: ...where mode specifies the configuration mode source specifies the trigger line to configure as input to counter and count specifies the number of input pulses to count before terminating Value Mode 0...

Page 124: ...mode and the meaning of source text corresponds to the value of source Example Configure the counter count 25 assertions on TTL trigger line 5 the protocol parameter when calling EnaTrigSense will de...

Page 125: ...Value Trigger Line 40 to 49 External source destination GPIO 0 to 9 40 Front panel In connector 1 41 Front panel Out connector 2 42 ECL bypass from front panel 43 EXTCLK 44 to 49 Hardware dependent GP...

Page 126: ...line 41 front panel Out to not be used as feedback and left tri stated for use as a mapped output via MapTrigTrig TrigExtConf 41 0 Example 2 Configure external line 40 front panel In to not be used as...

Page 127: ...igure as input to counter and the values of tcount1 and tcount2 are the number of input pulses as a power of two to count before asserting TICK1 output or TICK2 output respectively and terminating the...

Page 128: ...to interrupt every 6 55 milliseconds by dividing down CLK10 as an input Call EnaTrigSense to start the tick timers and enable interrupts TrigTickConf 0 70 16 0 Example 2 Configure the tick timers to o...

Page 129: ...or counter tick 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 SrcTrig or EnableSense functio...

Page 130: ...Chapter 3 Local Command Set GPIB VXI C User Manual 3 88 ni com Example Set up Logical Address 4 to assert SRQ when a trigger interrupt occurs on TTL trigger line 2 TrigToREQT 4 2...

Page 131: ...to unmap from a destination and the value of destTrig corresponds to the destination line mapped from the source Value Trigger Line 0 to 7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 40 t...

Page 132: ...LF where the meaning of line text source and line text destination correspond to the value of srcTrig and destTrig Example Unmap route of TTL line 4 to go out of the front panel as mapped by MapTrigTr...

Page 133: ...eout where the value of line corresponds to the trigger line to wait for Response Program response 0 Console response Trigger received line line text wait complete CRLF where the meaning of line text...

Page 134: ...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...

Page 135: ...pendent commands and queries to a device If the string sent to the device was a device dependent query you can use the WSstr query to read the device s response The ProtErr query sends a Read Protocol...

Page 136: ...ion Read Protocol Error query is sent to a Message Based device Response is read and reported Response Program response hex value CRLF where hex value is the hexadecimal value of the Data Low register...

Page 137: ...nse hex value CRLF where hex value is the hexadecimal value of the Response register contents Console response Logical Address log addr s Response register CRLF 0x hex value dor dir err rr wr fhs lock...

Page 138: ...a 16 bit Word Serial command or query to a Message Based device Command Syntax WScmd log addr WS cmd Action Sends the Word Serial command WS cmd to the device at log addr Example Write the Begin Norma...

Page 139: ...he Word Serial query WS cmd to the device at log addr Reads and returns the device s response Response Program response hex value CRLF where hex value is the hexadecimal value of the Data Low register...

Page 140: ...ddr Action Reads and returns the response of the device at log addr Response Program response hex value CRLF where hex value is the hexadecimal value of the Data Low register response Console response...

Page 141: ...d by double quotation marks The following sequences of characters within the string parameter are special cases and will be interpreted as follows n linefeed LF r carriage return CR backslash xHH any...

Page 142: ...ng a series of Byte Request commands Response Program response resp string where resp string is the response string returned by the device Console response Logical Address log addr read bytes hex byte...

Page 143: ...ational Instruments no longer supports development of Code Instruments The configuration parameters include the following Local register configuration pSOS configuration VXI interrupt line assignment...

Page 144: ...pSOS parameters do not take effect until the system is restarted This can be accomplished by the pROBE commands IN or BO by resetting the system or by cycling the system power The GPIB VXI C Nonvolat...

Page 145: ...ign Base 0x200000 A32 Assign Base 0x20000000 DC Starting LA 0x01 BNO YES For FAILED Dev DO set Reset Bit Servant Area 0x00 GPIB Primary 0x01 GPIB Addr Assgn Default GPIB Flags MultSecond NAT4882 DMA G...

Page 146: ...255 the GPIB VXI C is set up to be a Dynamic Configuration DC Message Based or possibly Register Based device The factory setting is Logical Address 0 Device Type You can set up the GPIB VXI C to be...

Page 147: ...gister You can configure the GPIB VXI C to have a user defined Protocol register Only the FHS and INT bits are not permitted to be active RESET Configuration The GPIB VXI C has three configurable rese...

Page 148: ...meter to set the GPIB VXI C RS 232 local command console to default to enabled or disabled You can use the local command ConsoleEna to change the setting at runtime Resource Manager Wait Period You ca...

Page 149: ...you can guarantee that a bus master can access the range of address space that a particular device is configured to occupy The VXIbus specification requires A32 bus masters to see addresses from 20000...

Page 150: ...ource 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 speci...

Page 151: ...lly started up after the Resource Manager operations complete Code Instrument Nonvolatile User Configuration Variables These parameters are completely user defined and can be used for any purpose Chan...

Page 152: ...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 Changes command in the main menu to retain the chan...

Page 153: ...d set switch S20 to the OFF position Restart the system In 488 VXI runtime system mode you can enter the diagnostic mode through the DIAG command The diagnostic commands must be executed from the RS 2...

Page 154: ...e 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 Table 5 1 Diagnostic Tests...

Page 155: ...til they complete or until an error occurs If an error has Table 5 2 Diagnostics Mode Menu Option Descriptions Selection Description Default Diags all Runs all the tests Tests Presents a menu of tests...

Page 156: ...ature 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 Diagnostic Test Selection I...

Page 157: ...gives the test numbers and names of the RAM tests Group 2 68070 CPU This group tests the 68070 I2C interface UART interface and timers Tests 5 through 7 test the 68070 I2C interface tests 8 through 1...

Page 158: ...00 11 Test baud rate 1 200 12 Test baud rate 2 400 13 Test baud rate 4 800 14 Test baud rate 9 600 15 Test baud rate 19 200 16 Baud 9 600 test odd parity with two stop bits 17 Baud 9 600 test even par...

Page 159: ...A32 Pointer Low test 31 Data Extended test 32 Data High device test 33 Data Low device test 34 Data High local test 35 Data Low local test 36 Status test 37 Constrol test 38 Response test 39 ICR ISR t...

Page 160: ...52 Check can be unaddressed as listener 53 Check can talk to all 32 talk addresses 54 Check can be unaddressed as talker 55 Check can listen to all 960 external addresses 56 Check can be unaddressed...

Page 161: ...et SRQI 73 Check can do serial poll 74 Check can do parallel poll 75 Check DHADT 76 Check DHADC 77 Check DHATA 78 Check DHALA 79 Check DHUNTL 80 Check NTNL 81 Check NTNL with ATN asserted 82 Check RPP...

Page 162: ...ode 104 Verify set of STS1 ISR3 bits with 8 bit read 105 Verify write mode and TLCINT set by error 106 Read write CNTL CNTH registers 107 Verify bits in IMR3 register 108 Reset ISR3 109 Reset ISR3 and...

Page 163: ...full 121 HALT and EOI when last byte in FIFO 122 Enable carry cycle 123 Disable carry cycle 124 16 bit FIFO write 125 Fill and empty 16 bit FIFO 126 Carry cycle with EOI 127 Halt on ERROR 128 Interru...

Page 164: ...R5 Registers 147 TSR6 and TOR6 Registers 148 TSR7 and TOR7 Registers 149 TSR8 and TOR8 Registers 150 TSR9 and TOR9 Registers 151 GPIN0 connection 152 GPIN1 connection 153 GPIN2 connection 154 GPIN3 co...

Page 165: ...nter using Trig4 177 Counter using Trig5 178 Counter using Trig6 179 Counter using Trig7 180 Counter using Trig8 181 Counter using Trig9 182 Counter using EXT CLK 183 Interrupt on Trig0 by ASTS and US...

Page 166: ...201 Interrupt AOVER UOVER and PSOVER on Trig6 202 Interrupt AOVER UOVER and PSOVER on Trig7 203 Interrupt AOVER UOVER and PSOVER on Trig8 204 Interrupt AOVER UOVER and PSOVER on Trig9 205 Interrupt fr...

Page 167: ...tic ACK on Trig7 224 Hardware Semi Sync and Automatic ACK on Trig8 225 Hardware Semi Sync and Automatic ACK on Trig9 226 Automatic Semi Sync source 227 Sync triggers with no conditioning 228 Sync trig...

Page 168: ...t Description 237 Poll test burst bytes mem to dev from even addresses 238 Poll test cycle steal bytes mem to dev even addresses 239 Poll test burst words mem to dev from even addresses 240 Poll test...

Page 169: ...egister Local Bus timeouts and VXI bus timeout Table 5 12 gives the test numbers and names of the Miscellaneous tests Table 5 10 RAM Exhaustive Tests Test Number Test Description 249 Data path test ex...

Page 170: ...ser Manual 5 18 ni com 260 VXI BTO test Test VXI bus timeout unit 261 Sanity timer test Test enabled disabled 262 EPROM checksum test 263 EEPROM stamp and checksum test Table 5 12 Miscellaneous Tests...

Page 171: ...tandard running on your GPIB VXI C The NI VISA software on your system automatically uses this to control VXI devices connected through your GPIB VXI C controller VISA is the recommended means of cont...

Page 172: ...ry GPIB addresses In VISA you call viOpen with the VXI device s logical address the same method for both message based and register based devices and VISA handles sending the necessary messages to the...

Page 173: ...ove and CDS 852 Adapter Code Instruments for more information They make use of the GPIB VXI s DMA functionality but require only a single operation call instead of the multiple calls required to send...

Page 174: ...d a GPIB VXI controller You will be prompted for the GPIB controller number to which the GPIB VXI is connected usually 0 a unique GPIB VXI controller number which you are free to assign and the primar...

Page 175: ...as well as to local GPIB VXI C memory The 68070 DMA channel 2 is used within the DMAmove CI to move data around much more quickly than the VXI Word Serial protocol or individual peeks and pokes The 7...

Page 176: ...ve Changes 6 Quit Configuration Choice 1 6 Enter 3 to change the configuration information The following menu then displays GPIB VXI Nonvolatile Configuration Changer C 1995 National Instruments 0 Edi...

Page 177: ...Enter Maximum Number of Message Buffers default 0x180 The following formula calculates the maximum number of message buffers Number of message buffers 100h 25 number of CIs If fewer than six CIs are...

Page 178: ...ON for Resident CI 0x01 default NO Y Enter Number of Base Location to EDIT 0xff EXIT CR When the edit menu reappears enter Q to exit the configuration editor When the Nonvolatile Configuration main m...

Page 179: ...ts DMAmove Code Instrument Running The following sections describe the runtime capabilities of the DMAmove Code Instrument GPIB Address Assignment The DMAmove CI is assigned Logical Address 160 by def...

Page 180: ...OI on the last byte corresponding to the four 32 bit parameters in the DMAmove function prototype The only exception to this for the DMAmove CI is that the value of zero 0 in the source parameter spec...

Page 181: ...resses as it counts to give fast access to FIFO registers or block memory The DMAmove CI reports current status and errors via its status byte and the REQT signal GPIB SRQ line The following is a list...

Page 182: ...The 852 adapter CIs are assigned logical addresses sequentially starting with the lowest configured CI base address and Logical Address 80 For example if the CIs at base address locations 1 and 3 are...

Page 183: ...ommand The A command sets the adapter CI mode to be compatible with the ASCII response format If the expected response format is binary use the B command to set the CI to the binary read mode Two term...

Page 184: ...compatibility with the CDS instrument response Command Syntax A or a Action Sets the adapter CI read mode to ASCII The maximum ASCII response size allowed is 512 bytes B Purpose Set the adapter CI rea...

Page 185: ...tax D Action Enables debug message printing to the serial port d Purpose Disable debug message printing to the serial port Command Syntax d Action Disables debug message printing to the serial port E...

Page 186: ...E 0D Disable EOS read termination E 100 L Purpose Set the A24 base address where the adapter CI expects to find the 852 adapter Command Syntax L val or l val val is a hex value equal to the upper 8 b...

Page 187: ...e Set the maximum size of a binary read Command Syntax S size or s size size is a decimal value Action Sets the maximum binary read size to size bytes The default value of the read size is 512 bytes T...

Page 188: ...Using the DMAmove and CDS 852 Adapter Code Instruments GPIB VXI C User Manual B 14 ni com t Purpose Disable read termination on the END bit Command Syntax t Action Disables read termination on the END...

Page 189: ...requirements CPU 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 Class 1 TTL Fron...

Page 190: ...ment Temperature 40 to 125 C Relative humidity 0 to 100 noncondensing EMI FCC Class A verified Functionality IEEE 488 Source Typical Direct Current max Dynamic Current max 5 0 VDC TBD TBD Not Availabl...

Page 191: ...imainframe Resource Manager defeatable Slot 0 Support defeatable Message Based Commander and Servant Dynamically Configurable Programmable Handler any three of seven levels Trigger Source Acceptor SYN...

Page 192: ...erisk 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 RS 232 Connector Table D 1 RS 232 Connector Signals Pin Signal Name Si...

Page 193: ...icator Configuration section of Chapter 2 Configuration and Startup Procedures for more information about DFI GPIB Connector Type GPIB Figure D 2 GPIB Connector 8 CTS Clear to Send 9 n c Not Connected...

Page 194: ...ATN Attention 12 SHIELD Chassis ground 13 DIO5 Data Bit 5 14 DIO6 Data Bit 6 15 DIO7 Data Bit 7 16 DIO8 Data Bit 8 17 REN Remote Enable 18 GND Logic Ground 19 GND Logic Ground 20 GND Logic Ground 21...

Page 195: ...Figure D 3 EXT CLK Connector Trigger Input Connector Type BNC Figure D 4 TRG IN Connector Table D 3 EXT CLK Connector Signals Pin Signal Description Center CLK10 I O TTL 10 MHz Shield Ground Table D...

Page 196: ...XIbus P1 and P2 Connector Type 96 pin DIN Figure D 6 VXIbus Connector Table D 5 TRG OUT Connector Signals Pin Signal Description Center Trigger Output TTL 50 driver Shield Ground Table D 6 VXIbus P1 C...

Page 197: ...ET 13 DS0 BR1 LWORD 14 WRITE BR2 AM5 15 GND BR3 A23 16 DTACK AM0 A22 17 GND AM1 A21 18 AS AM2 A20 19 GND AM3 A19 20 IACK GND A18 21 IACKIN not connected A17 22 IACKOUT not connected A16 23 AM4 GND A15...

Page 198: ...0 6 MODID11 A26 LBUSC01 7 5 2 V A27 GND 8 MODID10 A28 LBUSC02 9 MODID09 A29 LBUSC03 10 GND A30 GND 11 MODID08 A31 LBUSC04 12 MODID07 GND LBUSC05 13 5 2 V 5 V 2 V 14 MODID06 not connected LBUSC06 15 MO...

Page 199: ...ot connected TTLTRG3 25 5 V not connected GND 26 TTLTRG4 not connected TTLTRG5 27 TTLTRG6 not connected TTLTRG7 28 GND not connected GND 29 not connected not connected not connected 30 MODID00 not con...

Page 200: ...imum Program Mnemonic length is 12 characters 5 Syntax Illegal command Expecting upper or lower case alpha 6 Syntax Illegal command 7 Syntax Illegal non numeric 8 Syntax Illegal Decimal Numeric Progra...

Page 201: ...red during the access 40 Device A24 address is out of range 200000h through E7FFFEh 41 Device 488 2 register is out of range 0 through 255 42 Device Console mode is disabled must have one output mode...

Page 202: ...Device Timeout waiting for Downloaded Data 63 Device TTL ECL trigger line out of range 0 through 9 100 CI DCI functionality is inactive 101 CI Logical address conflict 102 CI Logical address is out of...

Page 203: ...28 CI Logical address referenced is not the GPIB VXI C or local DCI 129 CI Logical address referenced is not GPIB VXI C s or CI s servant 130 CI Stack size requested for worker process exceeds FFFFh w...

Page 204: ...id Unsupported mapping signal conditioning mode 315 Trigger Previous operation is still pending for this line 316 Trigger Previous acknowledge is still pending for this line 33064 Trigger Trigger over...

Page 205: ...ECL trigger lines 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...

Page 206: ...Notes 1 refers to inverted signals 2 T1 and T2 are timers from the 68070 processor which are presently inaccessible to users GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0 EXTCLK CLK10 B...

Page 207: ...Assisted Support Options Contact NI engineers and other measurement and automation professionals by visiting ni com ask Our online system helps you define your question and connects you to the experts...

Page 208: ...degrees ohms percent A A ampere B Backplane an assembly typically a printed circuit board with 96 pin connectors and signal paths that bus the connector pins VXIbus systems have either two sets of bu...

Page 209: ...m of readable sentences which is better suited for interactive command entry D DC Dynamic Configuration or Dynamically Configured DC device See Dynamic configuration device DCI See Downloaded CI Diagn...

Page 210: ...face Bus The industry standard IEEE 488 bus GPIB VXI C local command set consists of commands and queries H Hz Hertz cycles per second I IEEE Institute of Electrical and Electronic Engineers in inches...

Page 211: ...nframe A module can occupy one or more slots MSB Most Significant Bit N Nonvolatile configuration mode mode in which you can edit the contents of the nonvolatile EEPROM memory NV nonvolatile memory P...

Page 212: ...tion Commander Servant mappings self test and diagnostic management S s seconds SC Static Configuration or Statically Configured SC Device See Static configuration device Servant a device that is cont...

Page 213: ...lable only with the GPIB VXI C development firmware option VXI system mode the startup mode for normal operation in a VXI system W W watts Word Serial communication the simplest form of communication...

Page 214: ...umper settings table 2 22 Non Slot 0 Resource Manager configuration operation summary 2 21 switch and jumper settings table 2 21 operating modes 2 13 Slot 0 Message based device configuration CLK10 ro...

Page 215: ...t 2 13 CDS 852 CI A24 address assignment B 8 address configuration B 3 commands A B 10 B B 10 D B 11 d B 11 E B 11 L B 12 S B 13 T B 13 t B 14 overview B 9 configuring CI read termination on EOS B 11...

Page 216: ...ation 2 8 installed RAM size 2 4 logical address 2 4 RAM configuration 2 4 resetting backplane 2 6 resetting GPIB VXI C 2 6 shared memory size 2 5 startup modes 2 12 VXI address modifiers 2 12 VXIbus...

Page 217: ...tem mode 5 1 Mode Menu options 5 3 selecting a diagnostic test group 5 2 startup mode configuration 2 12 5 1 DINF query 3 36 disabling specified trigger component from EnaTrigSense 3 68 discrete fault...

Page 218: ...input termination settings figure 2 8 external trigger input termination settings figure 2 8 F factory configuration settings parts locator diagram 2 3 summary 2 2 frequently asked questions G 1 fron...

Page 219: ...racteristics summary 1 2 GPIB connector D 2 GPIB mainframe backplane resource A 3 GPIB primary address configuring 2 4 GPIB VXI programming GPIB VXI devices in VISA A 1 register based programming mess...

Page 220: ...nd syntax 3 2 dynamic configuration commands and queries 3 24 dynamic reconfiguration queries 3 27 error codes E 1 error reporting 3 4 general configuration commands and queries 3 6 GPIB address confi...

Page 221: ...evice type 4 4 entering in 488 VXI runtime system mode 4 2 entering nonvolatile configuration mode 4 1 executing commands 4 2 for FAILED device 4 8 GPIB address assignment method 4 8 GPIB addresses to...

Page 222: ...nses format 3 4 R RAM accessing local and A24 memory table 2 5 installed RAM 2 4 installed RAM configuration table 2 4 RdHandlers query 3 53 reading 16 bit response from query 3 98 reading 16 bit VXI...

Page 223: ...register bits 3 55 SetTrigHndlr command 3 74 shared memory Offset Register 2 5 switch settings table 2 5 Slot 0 Message based device configuration CLK10 routing options table 2 24 switch and jumper se...

Page 224: ...l support G 1 telephone technical support G 1 termination for external clock input 2 8 for external trigger input 2 8 training customer G 1 TrigAsstConf command 3 79 TrigCntrConf command 3 81 TrigExtC...

Page 225: ...F 1 VXIbus access commands and queries 3 61 A16 3 62 A16 3 62 A24 3 63 A24 3 64 SYSRESET 3 64 VXIbus address modifier signals for A16 and A24 accesses 2 11 switch settings figure 2 12 VXIbus characte...

Page 226: ...al communication commands and queries ProtErr 3 94 RespReg 3 95 WScmd 3 96 WScmd 3 97 WSresp 3 98 WSstr 3 99 WSstr 3 100 WordSerEna command 3 13 worldwide technical support G 1 WREG command 3 42 writi...

Reviews: