Home

GPIB-VXI/C User Manual

image

Contents

1. Pin Row A Row B Row C 31 12V not connected 12 V 32 5 V 5 V 5 V Table D 7 VXIbus P2 Connector Signals Pin Row A Row B Row C 1 ECLTRGO 5 V CLK10 2 2 V GND CLK10 3 ECLTRG1 not connected GND 4 GND A24 5 2 V 5 MODID12 A25 LBUSC00 6 MODID11 A26 LBUSCO1 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 MODID05 not connected LBUSC07 16 GND not connected GND 17 MODID04 not connected LBUSCO08 18 MODID03 not connected LBUSC09 19 5 2 V not connected 5 2 V 20 MODID02 not connected LBUSC10 21 MODIDO01 not connected LBUSC11 National Instruments Corporation D 7 GPIB VXI C User Manual Appendix D Connectors Table D 7 VXibus P2 Connector Signals Continued Pin Row A Row B Row C 22 GND GND GND 23 TTLTRGO not connected TTLTRG1 24 TTLTRG2 not 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 MODIDOO not connected GND 31 GND GND 24 V 32 SUMBUS 5 V 24 V GPIB VXI C User Manual D 8 ni com Error Codes This appendix lists the local command set error codes and describes the error
2. Figure D 5 TRG OUT Connector Table D 5 TRG OUT Connector Signals Pin Signal Description Center Trigger Output TTL 50Q driver Shield Ground VXIbus P1 and P2 Connector Type 96 pin DIN C32 C1 eocooooooooooo ooo ooo 00000000000 o e pnp e eooo ooooe ooo eooo 0000o 000000000 OoOO A32 A Figure D 6 VXlbus Connector Table D 6 VXlbus P1 Connector Signals Pin Row A Row B Row C 1 DOO BBSY D08 2 D01 BCLR D09 3 D02 not connected D10 4 D03 BGOIN D11 5 D04 BGOOUT D12 National Instruments Corporation D 5 GPIB VXI C User Manual Appendix D Connectors Table D 6 VXibus P1 Connector Signals Continued Pin Row A Row B Row C 6 D05 BG1IN D13 7 D06 BG1OUT D14 8 D07 BG2IN D15 9 GND BG2OUT GND 10 SYSCLK BG3IN SYSFAIL 11 GND BG30UT BERR 12 DS1 BRO SYSRESET 13 DSO BRI LWORD 14 WRITE BR2 AM5 15 GND BR3 A23 16 DTACK AMO 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 24 A07 IRQ7 Al4 25 A06 IRQ6 A13 26 A05 IRQ5 A12 2 A04 IRQ4 All 28 A03 IRQ3 A10 29 A02 IRQ2 A09 30 A01 IRQ1 A08 GPIB VXI C User Manual D 6 ni com Table D 6 VXIbus P1 Connector Signals Continued Appendix D Connectors
3. Chapter 3 Local Command Set RST 488 2 Intent 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 Command Syntax SRE lt byte value gt where lt byte value gt is the new value of the SRE register Action Sets the SRE to lt byte value gt Example Set the SRE register to 120 SRE 120 GPIB VXI C User Manual 3 58 ni com Chapter 3 Local Command Set SRE 488 2 Intent Get the contents of the SRE register Query Syntax SRE Response lt SRE val gt lt CRLF gt lt SRE val gt 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 lt STB value gt lt CRLF gt where lt STB value gt is the current status of the path to the GPIB VXI C local command parser TRG 488 2 Intent Cause a device to execute a stored trigger sequence Command Syntax TRG Action None National Instruments Corporation 3 59 GPIB VXI C User Manual Chapter 3 Local Command Set TST 488 2 Intent Perform self test and return passed or failed status Query Syntax TST Response 0 lt CRLF gt Failure to complete the self test is i
4. Purpose Enable read termination when the END bit is set Command Syntax IIT Action Enables read termination when the END bit bit 8 is set National Instruments Corporation B 13 GPIB VXI C User Manual Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments Purpose Disable read termination on the END bit Command Syntax a ies Action Disables read termination on the END bit bit 8 GPIB VXI C User Manual B 14 ni com Specifications CPU Physical This appendix lists various module specifications of the GPIB VXI C such as physical dimensions and power requirements Microprocessor cseeseseeseesseeeeseeeees 16 MHz 68070 Coprocessor optional eee 16 MHz 68882 RAM sedas orad a aia 4 MB configured to use 512 KB C size VXIbus board slot requirements sssseseeeseeseeeeesseeeee 1 slot Local bus keying eee eee rece Class 1 TTL Front panel indicators SY SPAIL pni e senu nas red FAILED iaiia red TES Pe erd ie a tee Aes green ON LINE iian niini npntn green ACCESS civieshiieaenticoiaa etc recieves yellow Front panel connectors e RS 232 e GPIB e Trigger input e Trigger output e External 10 MHz clock Reset pushbutton National Instruments Corporation C 1 GPIB VXI C User Manual Appendix C Specifications Power Requirements Source Typical Direct Current max Dynamic Curre
5. Selection Description Default Diags all Runs all the tests Tests Presents a menu of tests to be selected Test Groups Presents a menu of test groups to be selected Over Night Loop Runs selected tests continuously Only stops when an error occurs or when system is reset Print Toggle Turn printing of test groups tests on or off Single Step Toggle Turns single stepping of test groups tests on or off Looping Toggle Turns looping of selected test groups tests on or off Error Report Toggle Turns printing of error statements on or off Report Error Log Prints the first 11 errors that occurred Clear Error Log Erases the buffer of errors By default single stepping looping and test message printing are turned off while error reporting is turned on The selected diagnostics run uninterrupted until they complete or until an error occurs If an error has National Instruments Corporation GPIB VXI C User Manual Chapter 5 Diagnostic Tests occurred an error message is printed to the screen The message displays the test number group number the value expected and the value received Contact National Instruments for further interpretation of diagnostic error messages You can suppress the error reporting with the e command With error reporting turned off you can select and run tests to completion without being interrupted by error m
6. EXIT lt CR gt When the edit menu reappears enter Q to exit the configuration editor When the Nonvolatile Configuration main menu appears enter 5 to save the configuration changes When the Nonvolatile Configuration main menu reappears enter 2 to confirm the configuration information The CI configuration for the previous example would be displayed as follows Resident Code Instrument Locations 0x00 OOF7CO00 0x01 00000000 0x02 00000000 0x03 00000000 0x04 OOF7EO00 0x05 OOF7E000 0x06 00000000 0x07 00000000 0x08 00000000 0x09 00000000 Ox0A 00000000 Ox0B 00000000 When the main menu reappears enter 6 to quit the configuration mode The following message appears Must Re initialize pROBE or reboot for pSOS changes to take effect Other changes made automatically when configuration saved KEKE KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKK KKKEKEK DONE WITH CONFIGURATION x Change startup mode Dip settings to enter x different mode or push RESET to reconfigure x KKK KKK KKK KK KKK KK KK KKK KK KKK KKK KKK KKK KKK KKK KKK KK KK GPIB VXI C User Manual B 4 ni com Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments Executing an EPROMed Code Instrument 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
7. lt sa2 gt lt saN gt lt CRLF gt where lt sa1 gt through lt san gt are the GPIB addresses currently attached to logical addresses Console response Current GPIB Addresses used lt type gt Address lt sal gt attached to Logical Address lt lal gt lt type gt Address lt sa2 gt attached to Logical Address lt la2 gt e lt type gt Address lt saN gt attached to Logical Address lt laN gt lt CRLF gt 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 GPIB VXI C User Manual 3 48 ni com Chapter 3 Local Command Set VXI bus Interrupt Handler Configuration Commands and Queries These interrupt handler configuration commands and queries are described in the following sections e AllHandlers AssgnHndlr HandlerLine 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 RdHandlers query The AllHandlers and HandlerLine queries return the current VXI interrupt level assignments for the handlers The AssgnHndlr command can be used to change the level assignments National Instruments Corporation 3 49 G
8. DC device a device that initially has a logical address of 255 The RM subsequently assigns it a different unique logical address See EPROMed CI Electrically Eraseable Programmable Read Only Memory Glossary 2 ni com EPROM EPROMed CI FIFO G GPIB GPIB VXI C local command set H Logical address LSB MB National Instruments Corporation Glossary Eraseable Programmable Read Only Memory ECI a form of CI that is user installed into EPROMs First In First Out General Purpose Interface Bus The industry standard IEEE 488 bus consists of commands and queries Hertz cycles per second Institute of Electrical and Electronic Engineers inches an 8 bit number that uniquely identifies each VXIbus device in a system It defines a device s A16 register address and indicates Commander Servant relationships Least Significant Bit meter megabytes of memory Glossary 3 GPIB VXI C User Manual Glossary Message Based device MODID lines Module MSB Nonvolatile configuration mode NV P Peek PH PI Poke pROBE Program mode response pSOS GPIB VXI C User Manual an intelligent device that implements the defined VXIbus registers and communication protocols VXI backplane signals used by the Resource Manager through the use of the Slot 0 device in order to perform slot associations for logical addresses There are 13 MODID lines one for each slot in a full size main
9. External Input Termination sssri risisti dirus ier eais 2 8 EPROM Configuration sra no re BH avec det A E 2 9 Discrete Fault Indicator Configuration sseessesseeseseeresrerrsrsresresesresrrersreste 2 10 Address Modifier Configuration 0 ceceeeeseeseceeeseeeseeseeseeeseeseeeseseeeeaeenees 2 11 GPIB VXI C Startup Mode Configuration eee eeeeseeseeeseenseneeeneeees 2 12 488 VXI Runtime System Operation eee eee ceeceeceeeesececeseseeeseeseeseeeaeenseeseenes 2 13 System Startup Message Printing 0 0 eee eeeeseeseceeeeeeeeeeaeseeeeseeeaeeneeseees 2 14 Slot 0 Resource Manager Configuration eee eeeeceeseceeeeeseeeeseeseeeseeneens 2 14 Slot 0 Resource Manager Operation 0 cee eeeeeeeesceeeeseeeeeeeeeeees 2 15 Front Panel LED Indications for RM Operation 2 15 Self Fest Operatto ms ssecs week tegen sconce n a EE ty desta heater S 2 16 National Instruments Corporation vij GPIB VXI C User Manual Contents Chapter 3 RM Operations x ccis cess aac acts onran aai 2 16 Static Configuration Operation cece eseeeceeseeeseceeeneeeseeenees 2 18 Dynamic Configuration Operation 0 cece eee eeeeeseeeeeeseeeeeesees 2 18 GPIB Address Assignment 0 0 0 ce ecceeeseeseeeseeneeeseeseeeeeeseeeeeeeeenees 2 19 System Configuration Table ec eeceeeeeeeseceeeeseeseeeseenseeaeens 2 20 Non Slot 0 Resource Manager Configuration cceeseeseesseeeereeeeeeeeeees 2 20 Non Slot 0 Resource Manager Operation eee eseeseeet
10. Get the amount of RAM installed onboard the GPIB VXI C Query Syntax OBram Response Program response lt memsize gt lt CRLF gt where lt memsize gt is the amount of installed RAM in KB Console response This GPIB VXI has lt expression gt of RAM installed onboard lt CRLF gt where lt expression gt is the amount of installed RAM National Instruments Corporation 3 11 GPIB VXI C User Manual Chapter 3 Local Command Set ProgMode Purpose Enable or disable the program data mode Command Syntax ProgMode lt Boolean gt Action If lt Boolean gt is TRUE ProgMode enables program format responses for the command source issuing the command If lt Boolean gt 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 the ProgMode command source 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 Chapter 3 Local Command Set WordSerEna Purpose Assign control of the GPIB VXI C physical Word Serial registers to an onboard logical address GPIB VXI C command interpreter or code instrument Command Syntax WordSerEna lt logical address gt Action Control of
11. This field is used only to configure which one of the two 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 percentage shared with the VXIbus is set via switches S1 and S2 Refer to Table 2 4 Shared Memory Switch Settings for more information The VXI address space to be shared with the local RAM is set with this field in nonvolatile configuration mode The factory setting is 0 dual ported RAM Protocol Register 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 reset parameters They can be enabled or disabled and are as follows e Pushbutton resets backplane asserts SYSRESET signal e Pushbutton resets GPIB VXI C asserts local reset signal e Backplane SYSRESET signal resets GPIB VXI C SYSRESET on backplane asserts local reset Serial Number The serial number is a 32 bit quantity used to identify a particular GPIB VXI C This value is set at the factory and cannot be altered pSOS Region 1 Size pSOS Region is the Dynamic Memory pool used for the majority of memory requirements of the GPIB VXI C All process control blocks PCBs process stacks queues messages GPIB buffers and so on are all
12. YES Ecen aa a a Mavs a a laste 3 55 ESET gna KE vote che obs E E E T EA E ees Hid as EE 3 56 MBS Re eneo a E E E E AA 3 56 IDN ieii hats va n E EE E EE EERE E EER ates E ANE 3 56 gO a EE Gasstetes AeA Geis Neate 3 57 aS e OE AE seed ies sep bundens bank ade ew suaszeuswaeutos ovnge EI 3 57 PRS Popre e a EE E sates saya veehde A acaeeviattaoig a 3 58 SRE senii enasi i EAEE E E A ACRAEA codes EEA 3 58 a d A E E 3 59 STB Terie ei e AE E E E ER E S 3 59 MTR Gis ste at paaano i a aE E A a a i 3 59 National Instruments Corporation ix GPIB VXI C User Manual Contents aa ESY De EE E E nae Aske Het E eg aaweee arene eeae 3 60 EWCAT EREET Sik cdesachandvl vas aad des sigora igs eabtani ded ba notes hneesefasagesnee 3 60 VXIbus Access Commands and Queries ccccsscccssseceesecesseeesseeecsseeessneeessneeensseeeess 3 61 ALG hennen iraa tetoadt eee a a EEE ead taptecs atest len O OE 3 62 ATO cel ciate cotton Bihan dled Sate teeta eben abot ai 3 62 PDA este eee et Saeed A E ETTE 3 63 PDA IR akoedash gua coueas endo cape E gata se dapsoeuteaaves Abeviai es eid Abetie Saeebe tala 3 64 SYSRESEUD ss costusapics aa a acs oot saast gaa lene N eai aE 3 64 TTL ECL Trigger Access Commands eceeeeccsseeseeseeeseeseseseeseeseeesecneceassneeeaeeeseeaes 3 65 Ack tn npa cout skids ecaatasdecdestbatates a aa e EE EEE 3 67 Dis Trig Sense tiie cescoiutescetecct ceived cesct suns ext a E EE EEEE ENEE EEEa 3 68 Epa Trig Sense iiece scssiesceteciuteecessesu
13. lt destTrig gt corresponds to the destination line to map from the source Value Trigger Line 0 to7 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 40 Front panel In connector 1 41 Front panel Out connector 2 42 Front panel In unbuffered 43 Connection to EXTCLK input pin 44 to 49 Hardware dependent GPIOs 4 to 9 50 TIC counter pulse output TCNTR 51 TIC counter finished output GCNTR 60 TIC TICK1 tick timer output 61 TIC TICK2 tick timer output GPIB VXI C User Manual 3 72 ni com Chapter 3 Local Command Set The value of lt mode gt specifies the signal conditioning mode where 0 no conditioning The conditioning effects for bits 0 to 3 are as follows Bit Conditioning Effect 0 Synchronize with next CLK edge 1 Invert signal polarity 2 Pulse stretch to one CLK minimum 3 Use EXTCLK not CLK10 for conditioning Response Program response 0 Console response Mapping complete line lt line text source gt mapped to line lt line text destination gt mode lt mode gt lt CRLF gt where the meaning of lt line text source gt and lt line text destination gt correspond to the value of lt srcTrig gt and lt destTrig gt as follows Value of lt srcTrig gt Value of lt line text source gt or lt destTrig gt or lt line text destinatio
14. 2 ni com Chapter 2 Configuration and Startup Procedures B Note The GPIB VXI C is housed in a metal enclosure that has cutouts for access 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 W2 wi cen 11 ON 14 ON BANK3 BANK2 10 ON 13 ON INSTRUMENTS RIGHT 1 ap i oO us GPrp VxV E ye CORI 8 CoA SEED c a 1 ie Li Sec a Mh 1 VXIbus Requester Level 7 1 OFF 13 Slot 0 Switches 2 MSB 8 Installed RAM Switches 14 S24 ON 3 Logical Address DIP Switch set to FFh 9 S6 15 S23 ON 4 LSB5 Shared RAM Switches 10 S711Address Modifiers ON 16 S22 ON 5 1 S2 11 S3 S4 S5 17 Startup Mode Switches ON 6 S2 OFF 12 Detail of Switch Settings 18 EPROM Expansion Switches Figure 2 1 GPIB VXI C Parts Locator Diagram National Instruments Corporation 2 3 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures Setting the Logical Address GPIB Primary Address and Servant Area Size You can change the logical address GPIB primary address and Servant area size by runnin
15. 232 port prompts you to enter a local command with the GPIB VXxXI gt prompt Command Syntax The local command set parser is syntactically 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 prefixed with q and hexadecimal parameters are prefixed with h Table 3 1 lists the most common numeric parameter types The ranges given in Table 3 1 apply unless otherwise specified Table 3 1 Valid Ranges for Common Numeric Command Parameters Parameter 488 2 Decimal 488 2 Hexadecimal lt logical address gt 0 to 254 h0 to hFE lt GPIB address gt 0 to 30 h0 to h1E lt handler gt 1 to3 h1 to h3 lt level gt 0to7 h0 to h7 lt A16 address gt 0 to 65 535 h0 to hFFFF lt A24 address gt 2 097 152 to 14 680 062 h200000 to hE7FFFE lt word value gt 0 to 65 535 h0 to hFFFF lt byte value gt 0 to 255 h0 to hFF lt Boolean gt Oorl h0 or h1 The logical value of a lt Boolean gt parameter is FALSE for the numeric value 0 and TRUE for the numeric value 1 GPIB VXI C User Manual 3 2 ni com Chapter 3 Local Command Set The first parameter is delimited from the command name by a space Additional parameters are delimited from one another by acomma The command names are not case sensitive In the command descriptio
16. 3 31 RelSrynt ien nsore ireset sativa cutee ireu EEEE NIEA TE E EEEE a 3 32 VXI Defined Common ASCII System Commands sssssseesseeeesesesresrerrrrrsreresresrsersreses 3 33 DOON ica od ities este EAEE E E E a eh E EE 3 34 DINNI EA EENE E dee haattedida ects tesess 3 36 DEAD sinian ota chp EO ads ot ow uth aesene bul E edie Gad iano tuo eeeeae 3 38 DNUM oes sccests secatceces sa ssstacena R E E oteia desea teas 3 39 DRES rni asioi ei o Rattan doves R E aa N E SEES 3 40 RREG ainn neoa e e a a a e ari ipaa i etiain 3 41 WREG sea a e E EE EA E ERER 3 42 GPIB Address Configuration Commands and Queries sseesssessseesreeeerrsreresresrrerserses 3 43 LaS ddi ei aa a ela aeea oea geld send EE ET E ee AE AAA 3 44 IDIS Ya 0 i AEE AE EEE EET 3 45 Primary o snin EE EEO EE RE EE oun toads A a 3 46 Sa ddrLa r neen a nE a atts a E A cai E 3 47 SAGs nis irisa aud aas n avs ca RSE E EEE EA EE REE EAE A EE E 3 48 SaDis CON air a a Ma Aad haha a E E a Eaa 3 48 VXIbus Interrupt Handler Configuration Commands and Queries eee eee 3 49 Alan ers isisies si tases easticets iavigagssa save a A E A RE ERA 3 50 ASSN Hn dlras ei oero nna ae EEEE EEEE A eevee AAE AnS 3 51 H ndlerlLine h naian mieie i pareans deacesde du ER a EE AEREE EE EEE Ranea 3 52 RdHandlers senine iaa r na E EE E AAR 3 53 IEEE 488 2 Common Commands and Queries ccccssccessssceesneeeeseeeeseeeessneeesseeens 3 54 CES reine eor S RE tes EEE E EA I E AR ANA RAS 3 55
17. 3 58 returning RM information about device s 3 20 returning static system information 3 36 returning system configuration information 3 34 GPIB VXI C User Manual Index RM information queries A24MemMap 3 15 A32MemMap 3 16 Cmdr 3 17 CmdrTable 3 18 Laddrs 3 19 NumLaddrs 3 19 RmEntry 3 20 Srvnts 3 22 StatusState 3 23 RmEntry query 3 20 RREG query 3 41 RS 232 connector D 1 RS 232 port risk of damage to GPIB VXI C D 2 S SaddrLa query 3 47 Saddrs query 3 48 SaDisCon command 3 48 self test operation 2 16 sending 16 bit command or query to message based device 3 96 sending 16 bit query to message based device 3 97 sending Begin Normal Operation command to Commanders 3 25 sending device dependent command string to message based device 3 99 sending Read Protocol Error query to message based device 3 94 serial port settings 2 1 Servant area size configuring 2 4 Set device s Service Request Enable register bits 3 58 setting A24 base address for 852 adapter B 12 setting Event Status Enable register bits 3 55 SetTrigHndlr command 3 74 shared memory GPIB VXI C User Manual Offset Register 2 5 switch settings table 2 5 Slot 0 Message based device configuration CLK10 routing options table 2 24 switch and jumper settings table 2 23 Slot 0 Resource Manager configuration assigning GPIB addresses 2 19 CLK10 routing options table 2 15 dynamic configu
18. C also routes CLK10 to the EXT CLK connector on the front panel Switch 22 OFF VXI BTO disabled Switch 23 OFF Bus arbiter and SYSCLK disabled CLK10 receiving from backplane Switch S24 OFF MODID pulled down Logical Address Refer to Chapter 4 Logical address is 0 Set in nonvolatile Nonvolatile Configuration configuration or use the DIP switch Non Slot 0 Refer to Chapter 4 Model code is set to the Non Slot 0 value Model Code Nonvolatile Configuration Set in nonvolatile configuration Non Slot 0 Resource Manager Operation The startup sequence for a GPIB VXI C configured for Non Slot 0 Resource Manager operation is nearly identical to the Slot 0 Resource Manager operation however the GPIB VXI C controls the Slot 0 resources remotely in Non Slot 0 RM operation A VXIbus Slot 0 device must be in the system It must be either a Register Based device that implements the MODID Register or a Message Based device that supports the Word Serial commands Read MODID Set Lower MODID and Set Upper MODID V XIbus Specification Revision 1 2 Message Based Slot 0 devices are not supported Non Slot 0 Message Based Device Configuration Non Resource Manager Follow these steps to configure the GPIB 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 nonvo
19. C configured for Slot 0 operation in any slot other than Slot 0 Doing so can damage the GPIB VXI C the mainframe or other modules National Instruments Corporation 2 13 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures System Startup Message Printing The serial port startup printout enable switch S21 controls whether or not VXI system startup messages are printed to the serial port as shown in Figure 2 9 The factory default configuration disables this function 21 21 b Printing Enabled a Printing Disabled Factory Configuration 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 Table 2 7 Slot 0 Resource Manager Operation Switch and Jumper Settings Jumper Switch Position Function Switches S9 and S15 Refer to Table 2 8 CLK10 routing options Switch 22 ON VXI BTO enabled Switch 23 ON Bus arbiter and SYSCLK enabled CLK10 sourcing for backplane is enabled Switch 24 ON MODID pulled up Logical Address Refer to Chapter 4 Logical address is 0 Set in nonvolatile Nonvolatile Configuration configuration or use the DIP switch Slot 0 Model Code Refer to Chapter 4 Model code is set to the Slot 0 value Nonvolatile Conf
20. CRLF gt Console response Value lt hex word value gt lt word value gt read from A16 address lt A16 hex address gt lt A16 address gt lt CRLF gt where lt word value gt is in decimal integer format lt hex word value gt is in C language hexadecimal format lt A16 hex address gt is in C language hexadecimal format and lt A16 address gt is in decimal integer format Example Read the ID register of Logical Address 16 A16 hc400 GPIB VXI C User Manual 3 62 ni com Chapter 3 Local Command Set A24 Purpose Write a 16 bit value into VXI A24 space Command Syntax A24 lt A24 address gt lt word value gt Notice that lt A24 address gt has a valid range of 2097152 to 14680062 h200000 to hE7FFFE Action Write lt word value gt to lt A24 address gt Example Write the value A502h to VXI A24 address 504305h A24 h504305 hA502 National Instruments Corporation 3 63 GPIB VXI C User Manual Chapter 3 Local Command Set A24 Purpose Read a word value from VXI A24 address space Query Syntax A24 lt A24 address gt Response Program response lt word value gt lt CRLF gt Console response Value lt hex word value gt lt word value gt read from A24 address lt A24 hex address gt lt A24 address gt lt CRLF gt where lt word value gt is in decimal integer format lt hex word value gt is in C language hexadecimal format lt A24 hex address gt is in C l
21. Control Register The RM then determines the address space of each device by reading its ID Register If the device s address space is A16 A24 or A16 A32 the RM allocates a section of A24 or A32 memory space to the device according 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 Servant hierarchy according to each Commander s Servant area size using the algorithm described in the VXIbus specification The RM issues the appropriate Read Servant Area and Device Grant commands to each SC Commander The RM retains all devices not assigned to other Commanders as its immediate Servants Regardless of where DC device logical addresses are assigned they are never granted to an SC Commander The DC Commander Servant hierarchy can be created in one of two ways e All DC devices can be automatically assigned as Servants of Logical Address 0 the Resource Manager e A custom hierarchy can be created through the use of the local command set functions as described in the Dynamic Configuration Commands and Queries section of Chapter 3 Local Command Set The RM then sends the Read Protocols query to all Message Based devices The response to the query is saved internally for later use in interrupt handler and GPIB configuration The RM configures the VXI interrupter and interrupt handlers using a seven entry
22. Manager has run and the local command set has been initiated on all ports This guarantees the CI access to all resources of the GPIB VXI C Deleting a Cl To delete a CI follow the installation procedure but set the CI s base address location to 000000 If you wish to delete the CI during runtime after the CI has already been started up you can use the local command set command CIDelete The DMAmove Code Instrument After the nonvolatile configuration is complete and the GPIB VXI C is rebooted the DMAmove Code Instrument will be up and running You should see the following message printed on the serial port National Instruments 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 default If a device already exists at Logical Address 160 the DMAmove CI is assigned the next highest available logical address The GPIB address is assigned to be the upper five bits of the logical address GPIB address 20 if available If that GPIB address is taken it takes the next highest available GPIB address You can use the local command set command LaSaddr to determine the GPIB address and the local command set command LaSaddr to change the GPIB address You can communicate directly with the DMAmove CI through this GPIB address Capabilities and Operation The DMAmove CI is a Code Instrument b
23. Nonvolatile Configuration switch S19 to the OFF position and set switch S20 to the ON position Restart the system e In 488 VXI runtime system mode you can enter NV configuration mode through the CONF command The nonvolatile configuration commands must be executed from the RS 232 port The EEPROM is connected to the microprocessor via an IC 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 Notice that some of the changes such as the 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 Nonvolatile Configuration Main Menu When you enter the NV configuration mode the GPIB VXI C displays the following menu GPIB VXI Nonvolatile Configuration Main Menu C 1995 National Instruments Read In Nonvolatile Configuration Print Configuration Information Change Configuration Information Set Configuration to Factory Settings Write Back Save Changes OU PF WN BP Quit Configuration Choice 1 6 From the main menu you can select the NV memory editing function you want to perform To select an item in the menu enter its number at the prompt Th
24. OFF OFF OFF OFF E83FFFh 32 KB 27128 None OFF OFF OFF OFF E87FFFh 64 KB 27256 None OFF ON OFF OFF E8FFFFh 128 KB 27512 None ON ON OFF OFF E9FFFFh 256 KB 27010 None ON ON OFF OFF EBFFFFh 272 KB 27010 2764 ON ON OFF OFF EC3FFFh 288 KB 27010 27128 ON ON OFF OFF EC7FFFh 320 KB 27010 27256 ON ON OFF ON ECFFFFh 384 KB 27010 27512 ON ON ON ON EDFFFFh 512 KB 27010 27010 ON ON ON ON EFFFFFh When you insert EPROMs into the expansion EPROM slots orient them 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 EPROM with the bottom pins of the socket leaving the top pins open as illustrated in Figure 2 5 Caution Improper EPROM installation can result in damage to the EPROM the GPIB VXI C or both National Instruments Corporation 2 9 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures O O e e e e Cs Ce Expansion e 27128 h EPROM lt ao ane 27512 e e e on on Figure 2 5 EPROM Insertion Position Discrete Fault Indicator Configuration GPIB VXI C User Manual The GPIB VXI C comes with a MATE compatible Discrete Fault Indicator DFI The GPIB VXI C monitors the status of the VXIbus SYSFAIL signal and relays the status to pins 1 and 6 of the RS 232 serial port Refer to Appendi
25. Prefix Meaning Value n nano 10 u micro 10 6 m milli 10 3 k kilo 103 M mega 106 Symbols S degrees Q ohms percent A A ampere Backplane BTO bytes sec 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 bused connectors designated J1 and J2 backplanes or three sets of bused connectors designated J1 J2 and J3 backplanes Bus Timeout Unit bytes per second National Instruments Corporation Glossary 1 GPIB VXI C User Manual Glossary C C CI Code Instrument Command Commander Console response D DC DC device DCI Diagnostics mode Downloaded CI Dynamic configuration device E ECI EEPROM GPIB VXI C User Manual Celsius See Code Instrument CI a proprietary National Instruments software structure that uses software to emulate the capabilities of a VXI Message Based device causes the GPIB VXI C to take some action a Message Based device that is also a bus master and can control one or more Servants returned in the form of readable sentences which is better suited for interactive command entry Dynamic Configuration or Dynamically Configured See Dynamic configuration device See Downloaded CI mode in which you can perform extensive offline diagnostic tests of the GPIB VXI C DCI a form of CI that is downloaded into the GPIB VXI C s RAM memory
26. Set Example Set a trigger interrupt handler for TTL trigger line 4 SetTrigHndlr 16 0 Sy Note DefaultTrigHandler automatically acknowledges acceptor protocols that require acknowledgement while DefaultTrigHandler2 does not If DefaultTrigHandler2 is used send AckTrig to acknowledge the trigger National Instruments Corporation 3 75 GPIB VXI C User Manual Chapter 3 Local Command Set SreTrig Purpose Source a specified protocol on a specified TTL ECL or external trigger line Query Syntax SrceTrig lt line gt lt protocol gt lt timeout gt where the value of lt 1ine gt corresponds to the trigger line to source Value Trigger Line 0 to7 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 OFF START STOP and SYNC protocols only 50 TIC counter supports SYNC and SEMI SYNC protocols only 60 TIC TICK timers supports SYNC and SEMI SYNC protocols only the value of lt protocol gt specifies the protocol to use Value Protocol 0 ON 1 OFF 2 START 3 STOP 4 SYNC 5 SEMI SYNC 6 ASYNC 7 SEMI SYNC and wait for Acknowledge GPIB VXI C User Manual 3 76 ni com Chapter 3 Local Command Set Value Protocol 8 ASYNC and wait for Acknowledge ffffh Abort previous Acknowledge pending 5 and 6 and lt timeout gt is the timeout value in
27. Table 5 7 TIC Tests Continued Test Number Test Description 217 Hardware Semi Sync and Automatic ACK on Trig1 218 Hardware Semi Sync and Automatic ACK on Trig2 219 Hardware Semi Sync and Automatic ACK on Trig3 220 Hardware Semi Sync and Automatic ACK on Trig4 221 Hardware Semi Sync and Automatic ACK on Trig5 222 Hardware Semi Sync and Automatic ACK on Trig6 223 Hardware Semi Sync and Automatic 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 triggers with synchronously 229 Pulse stretch synchronous with EXT CLK 230 Pulse stretch with 1CLK synchronous 231 Pulse stretch asynchronously 232 Scalar values through 32 with EXT CLK 233 Scalar value 2 with all GPIO lines 234 Scalar value Ox0f using CLK 10 NOROLLI and INT 235 TRIGIN and TRIGOUT on front panel 236 TRIGIN and TRIGOUT by zig zag of all triggers National Instruments Corporation 5 15 GPIB VXI C User Manual Chapter 5 Diagnostic Tests Group 6 DMA This group tests the DMA Channel 2 and memory to memory DMA transfers Table 5 8 gives the test numbers and names of the DMA tests Table 5 8 DMA Tests Test Number Test Description 237 Poll test burst bytes mem to dev from even addresses 238 Poll test cycle steal bytes me
28. The RmEntry Srvnts Cmdr and StatusState queries return RM information for a particular device The CmdrTable query returns the system hierarchy table The A24MemMap and A32MemMap queries return the A24 and A32 memory configuration lists GPIB VXI C User Manual 3 14 ni com Chapter 3 Local Command Set A24MemMap Purpose Get the A24 address space allocation for the system Query Syntax A24MemMap Response Program response lt lal gt lt A24 memory base gt lt A24 memory size gt lt CRLF gt lt la2 gt lt A24 memory base gt lt A24 memory size gt lt CRLF gt e lt laN gt lt A24 memory base gt lt A24 memory size gt lt CRLF gt where lt l1a1 gt through lt laN gt are logical addresses containing A24 address space Console response A24 Memory Map is as follows lt CRLF gt Logical Address lt lal gt has lt A24 memory size gt K lt A24 memory size gt bytes at A24 Address lt A24 memory base gt lt CRLF gt Logical Address lt laN gt has lt A24 memory size gt K lt A24 memory size gt bytes at A24 Address lt A24 memory base gt lt CRLF gt Example Get A24 address map for the system A24MemMap National Instruments Corporation 3 15 GPIB VXI C User Manual Chapter 3 Local Command Set A32MemMap Purpose Get the A32 address space allocation for the system Query Syntax A32MemMap Response Program response lt lal gt lt A32 memory base gt lt A32 memory size
29. Value of lt extline text gt 40 to 49 GPIO lt extline gt 40 Example 1 Configure external 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 feedback and left tri stated for use as a mapped input via 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 TrigTickConf Chapter 3 Local Command Set Purpose Configure the TIC chip internal dual 5 bit tick timers Query Syntax TrigTickConf lt mode gt lt source gt lt tcountl gt lt tcount2 gt where lt mode gt specifies the configuration mode Value Mode 0 Initialize the tick timers rollover mode 1 Initialize the tick timers non rollover mode 2 Reload the tick timers leaving enabled 3 Disable abort any count in progress and the value of lt source gt is the trigger line to configure as input to counter Value Trigger Line 40 to 49 External source destination GPIO 0 to 9 70 CLK10 71 EXTCLK and the values of lt tcount1 gt and lt tcount2 gt are the number of input pulses as a power of two to count before asserting TICK1 output or TICK
30. all lines and lt mode gt specifies the configuration mode where Bit Specific Line Configuration Modes 0 1 Synchronize falling edge of CLK10 0 Synchronize rising edge of CLK10 Bit General Configuration Modes 1 1 Pass trigger through asynchronously 0 Synchronize with next CLK10 edge 2 1 Participate in SEMI SYNC with external trigger acknowledge protocol 0 Do not participate All other values are reserved for future expansion National Instruments Corporation 3 79 GPIB VXI C User Manual Chapter 3 Local Command Set Response Program response 0 Console response Trigger assertion configuration complete line lt line text gt mode lt mode gt lt CRLF gt where the meaning of lt line text gt corresponds to the value of lt line gt Value of lt line gt Value of lt line text gt O0to7 TTL lt line gt 8 to9 ECL lt line gt 8 ffffh GENERAL CONFIG 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 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 TrigCntrConf Chapter 3 Local Command Set Purpose Configure the TIC chip internal 16 bit counter Query S
31. and through Word Serial Protocol communication You also can use separate programmable local command response modes for interactive and control program operation Code Instruments The GPIB VXI C can run software modules called Code Instruments CIs that perform special functions in the VXIbus environment The CIs supported by National Instruments provide the following e Optimized I O through NI VISA the NI VISA CTI refer to Appendix A Using the NI VISA Code Instrument for more information e High speed access to VXI memory and registers the DMAmove CI refer to Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments for more information e Communication with Colorado Data Systems 73A 852 adapter modules 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 1 4 ni com Chapter 1 General Description Front Panel Features The GPIB VXI C has the following front panel features Five front panel LEDs National Instruments Corporation The SYSFAIL LED reflects the status of the backplane SYSFAIL signal and indicates 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
32. associated with each error code Table E 1 Error Codes Error Number Type Description 0 Format Command format error 1 Syntax Command was not found 2 Syntax Illegal identifier after lt Program Data Separator gt 3 Syntax Missing lt Program Data Separator gt 4 Syntax Maximum lt Program Mnemonic gt length is 12 characters 5 Syntax Illegal command Expecting upper or lower case alpha 6 Syntax Illegal command 7 Syntax Ilegal non numeric 8 Syntax Illegal lt Decimal Numeric Program Data gt 9 Syntax Illegal lt Suffix Program Data gt 10 Syntax Maximum lt Suffix Program Data gt length is 12 characters 11 Syntax Illegal lt String Program Data gt 12 Syntax Illegal lt Arbitrary Block Program Data gt 13 Syntax Illegal lt Expression Program Data gt 14 Syntax Illegal lt Character Program Data gt 15 Syntax Illegal character on input 16 Syntax Illegal identifier after command 17 Syntax Illegal identifier after lt Program Separator gt National Instruments Corporation E 1 GPIB VXI C User Manual Appendix E Error Codes Table E 1 Error Codes Continued Error Number Type Description 18 Syntax Missing lt Program Separator gt 19 Syntax Too much data 30 Device No error 31 Device Logical address is out of range 0 through 254 32 Device No device is at that logical address 33 Device GPIB secondary address is out of range 0 through 30 34 Device VXI interrupt handler number is
33. 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 2 22 ni com Chapter 2 Configuration and Startup Procedures lit for an extended period of time The LED indications are identical for Non Slot 0 Message Based device and Slot 0 Message Based device operation Table 2 13 Front Panel LED Indications for Message Based Device Operation Sequence FAILED TEST ON LINE State Point of Failure 1 OFF OFF OFF No power Failed before self test 2 ON OFF OFF In self initialization Failed in self test 3 ON ON OFF In self test 4 OFF ON ON Performing RM 5 OFF OFF ON Online ON OFF ON Failed Failed while online OFF ON OFF In nonvolatile configuration or diagnostics mode Slot 0 Message Based Device Configuration Follow these steps
34. gt GPIB VXI C User Manual 3 28 ni com Chapter 3 Local Command Set if the command was successful or Logical address lt la gt returned lt ws response gt from ENO Unable to halt or Logical address lt la gt returned lt ws response gt from ANO Invalid response or Error sending Logical Address lt la gt Word Serial command lt hex cmd val gt lt CRLF gt lt space gt lt space gt lt ws error gt lt CRLF gt if the command failed lt la gt is the logical address of the device to which the broadcast failed lt cmd val gt is the value of the Word Serial command in decimal lt hex cmd val gt is the value in hexadecimal For Word Serial queries lt ws response gt is the Word Serial response of the device at Logical Address lt la gt For Word Serial commands lt ws response gt is 0 lt Word Serial command name gt is the name of the command name as shown in the previous table lt ws error code gt is a decimal value that can be interpreted by converting it to a binary bit pattern A value of 1 in the bit positions shown in the following table indicates that an error occurred during the attempt to broadcast the Word Serial command Bit Word Serial Error 0 Word Serial command completed successfully no Word Serial error 1 Timeout waiting to send Word Serial command to device at lt la gt 2 Timeout waiting for Word Serial response from device at lt la gt 3 Device at
35. gt lt CRLF gt lt la2 gt lt A32 memory base gt lt A32 memory size gt lt CRLF gt e lt laN gt lt A32 memory base gt lt A32 memory size gt lt CRLF gt where lt la1 gt through lt laN gt are logical addresses containing A32 address space Console response A32 Memory Map is as follows lt CRLF gt Logical Address lt lal gt has lt A32 memory size gt K lt A32 memory size gt bytes at A32 Address lt A32 memory base gt lt CRLF gt e e Logical Address lt laN gt has lt A32 memory size gt K lt A32 memory size gt bytes at A32 Address lt A32 memory base gt lt CRLF gt Example Get A32 address map for the system A32MemMap GPIB VXI C User Manual 3 16 ni com Chapter 3 Local Command Set Cmdr Purpose Get the logical address of a device s Commander Query Syntax Cmdr lt logical address gt where lt logical address gt is the logical address of the device Response Program response lt Commander s logical address gt lt CRLF gt Console response The Commander of Logical Address lt logical address gt is Logical Address lt Commander s logical address gt lt CRLF gt Example Get the Commander s logical address for Logical Address 15 Cmdr 15 National Instruments Corporation 3 17 GPIB VXI C User Manual Chapter 3 Local Command Set CmdrTable Purpose Get the known system hierarchy table Query Syntax CmdrTable Response Program response lt c
36. lt la gt lt line gt where lt la gt identifies the device for which to assert SRQ and lt 1ine gt is the trigger line for which to map the interrupt where the value of lt 1ine gt corresponds to the trigger line or counter tick Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 50 TIC counter 60 TIC TICK 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 SrcTrig or EnableSense function Response Program response 0 Console response Line lt line text gt configured to generate an REQT for Logical Address lt la gt lt CRLF gt where the meaning of lt line text gt corresponds to the value of lt line gt as follows Value of lt line gt Value of lt line text gt 0 to7 TTL lt line gt 8 to9 ECL lt line gt 8 50 TCNTR 60 TICK1 National Instruments Corporation 3 87 GPIB VXI C User Manual 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 UMapTrigTrig Chapter 3 Local Command Set Purpose Unmap a specified TTL ECL Star X Star Y external connection GPIO or miscellaneous signal line that was mapped to another line using the MapTrigTri
37. milliseconds Response Program response 0 Console response Trigger sourcing line lt line text gt protocol lt protocol text gt complete lt CRLF gt where the meaning of lt line text gt corresponds to the value of lt line gt as follows Value of lt line gt Value of lt line text gt 0 to7 TTL lt line gt 8 to9 ECL lt line gt 8 40 to 49 GPIO lt line gt 40 50 TCNTR 60 TICK 1 and the meaning of lt protocol text gt corresponds to the value of lt protocol1 gt as follows Value of lt protocol gt Value of lt protocol text gt 0 ON 1 OFF 2 START 3 STOP 4 SYNC 5 SEMI SYNC 6 ASYNC 7 SEMI SYNC wait ACK National Instruments Corporation 3 77 GPIB VXI C User Manual Chapter 3 Local Command Set Value of lt protocol gt Value of lt protocol text gt 8 ASYNC wait ACK ffffh wait ACK ABORT Example Source TTL line 4 for SEMI SYNC protocol SreTrig 4 5 0 GPIB VXI C User Manual ni com Chapter 3 Local Command Set TrigAsstConf Purpose Configure a specified TTL ECL trigger line assertion method Query Syntax TrigAsstConf lt line gt lt mode gt where the value of lt line gt corresponds to the trigger line to configure Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 ffffh General assertion configuration
38. number of assignable GPIB VXI C interrupt handlers RdHandlers National Instruments Corporation 3 53 GPIB VXI C User Manual Chapter 3 Local Command Set IEEE 488 2 Common Commands and Queries These IEEE 488 2 commands and queries are described in the following sections d CLS bd ESE e ESE ESR IDN e xO PC OPC e RST SRE SRE e STB TRG TST WAL These commands conform to the minimal 488 2 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 parser All other functions of the GPIB VXI C are considered to be interface functions for other 488 2 VXI devices It is the responsibility of each VXI device connected via the GPIB to the GPIB VXI C to implement 488 2 protocols if individual device 488 2 compatibility is required GPIB VXI C User Manual 3 54 ni com Chapter 3 Local Command Set CLS 488 2 Intent Clear the device status data structures 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 lt byte value gt where lt byte value gt is the new value of the ESE register Action Sets ESE to lt byte value gt Example Set the ES
39. or VXIbus or when its MODID is asserted Five front panel connectors GPIB interface Serial port Trigger input Trigger output External CLK10 I O Configurable reset pushbutton Pushbutton resets backplane Pushbutton resets GPIB VXI C Pushbutton resets both backplane and GPIB VXI C 1 5 GPIB VXI C User Manual Configuration and Startup Procedures This chapter contains information about the system configuration GPIB VXI C configuration and startup operation System Configuration The typical system includes the following components e A VXIbus system mainframe containing the GPIB VXI C and instrument modules e A host computer with a GPIB interface module and associated driver software available for many computers from National Instruments connected to the GPIB VXI C GPIB port e A dumb terminal or host running a terminal emulator connected to the GPIB VXI C serial port optional The serial port settings are 9 600 baud 8 bit data no parity and one stop bit 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 COM port on an IBM PC compatible computer are available from National Instruments Refer to the Optional Equipment section of Chapter 1 General Description for more information National Instruments Corporation 2 1 GPIB VXI C User Manual Chapter 2 Configuration
40. or an experienced radio TV technician for help 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 The Manufacturer includes a DoC for most every hardware product except for those bought 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 product click Declaration of Conformity at ni com hardref nsf This Web site lists the DoCs by product family Select the appropriate product family followed by your product and a link to the DoC appears in Adobe Acrobat format Click the Acrobat icon to download or read the DoC Certain exemptions may apply in the USA see FCC Rules 15 103 Exempted devices and 15 105 c Also available in sections of CFR 47 The CE Mark Declaration of Conformity will contain important supplementary information and instructions for the user or installer Contents About This Manual COMVEMELONS eos sates cosa oss e E ca Sethe loess EE AET cede EA E E A E E
41. out of range through 3 35 Device VXI interrupt level is out of range 0 through 7 36 Device A16 address is out of range 0000h through FFFEh 37 Device Address must be even 38 Device Word write value is out of range 0000h through FFFFh 39 Device A bus error occurred 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 enabled 43 Device Logical device has no secondary address link 44 Device Unable to delete secondary address link 45 Device Unable to create secondary address link 46 Device Secondary address is already attached to a logical address 47 Device Device is not a Message Based device 48 Device Device is not a servant of this GPIB VXI C 49 Device Device does not have commander capability 50 Device Not Dynamically Configured 51 Device Commander did not accept Device Grant command 52 Device Servant did not accept BNO or Identify Commander command GPIB VXI C User Manual E 2 ni com Appendix E Error Codes Table E 1 Error Codes Continued Error Number Type Description 53 Device Logical address cannot be this GPIB VXI C 54 Device Word Serial command is out of range 0 through FFFFh 55 Device Logical address is not physical VXI device 56 Device Unable to create I O buffer 57 Device Commander did not accept Release Device command 58 Device Unable to grant CI to physical dev
42. queries configure and report the relationships between VXI logical addresses and GPIB addresses You can determine the GPIB VXI C s primary address when used for multiple GPIB secondary addressing by using the 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 information query Laddrs followed by LaSaddr queries You can assign GPIB address links to Message Based Servants of the GPIB VXI C with the LaSaddr command The SaDisCon command deletes all GPIB address links except the link to the GPIB VXI C local commands Note The letters SA or SADDR in this chapter originally stood for GPIB Secondary Address The GPIB VXI C can be configured to handle multiple primary addresses as well The terminology has been left the same to maintain backward compatibility National Instruments Corporation 3 43 GPIB VXI C User Manual Chapter 3 Local Command Set LaSaddr Purpose Attach or detach a GPIB address to a logical address Command Syntax LaSaddr lt logical address gt lt GPIB address gt Action If lt GPIB address gt is not equal to 255 attach lt GPIB address gt to lt logical address gt If lt GPIB address gt is equal to 255 release lt GPIB address gt currently attached to lt logical address gt Attaching a GPIB address to a logical address that already has a GPIB address w
43. section of Chapter 4 Nonvolatile Configuration 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 table containing the device s logical address its Commander s logical address its GPIB address slot number device class manufacturer ID number model code memory space requirement memory base address and memory size The GPIB VXI C retains this table after the RM and general configuration operations are complete The information in the table is accessible through the GPIB VXI C local command set The GPIB address entry is meaningful only for immediate Message Based Servants of the GPIB VXI C Non Slot 0 Resource Manager Configuration Follow these steps to configure the GPIB VXI C for Non Slot 0 Resource Manager operation Refer to Table 2 11 for the switch and jumper settings 1 Disable the VXIbus Slot 0 hardware functions 2 Set the model code of the GPIB VXI C to be configured for Non Slot 0 operation using the nonvolatile configuration mode 3 Set the logical address to 0 in nonvolatile configuration mode or by using DIP switch SW1 GPIB VXI C User Manual 2 20 ni com Chapter 2 Configuration and Startup Procedures Table 2 11 Non Slot 0 Resource Manager Operation Switch and Jumper Settings Jumper Switch Position Function Switch S15 OFF If S5 is ON the GPIB VXI
44. siren ener e a aed ces cad nee E ete 5 6 Group 4 GPIB e aie a adress ad iva i cpa as ee 5 8 Group S TC iriaren erea E TE AE dove tes REEE E intesese nteeeeeonase g 5 11 Group 6 DMA R A R E E aa 5 16 National Instruments Corporation xi GPIB VXI C User Manual Contents Group 7 68881 Coprocessor ccceceeesseeseesseeseesseeseeeseeaeeneecaseeseeaeensesseeeaees 5 16 Group 8 RAM Exhaustive cccescesccesceceseeeseeceseeesneceaeeeeeceaeesnecsaeeeeeeeaees 5 17 Group 9 Int rrupts si 42 08 elastin a Sieh ais asad al weenie Aad 5 17 Group 10 Miscellaneous Tests eceeeescesceeseeseceseeseeeseceesseseeeeseeeseeeesaees 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 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 xii ni com About This Manual Conventions 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 3 A italic monospace monospace italic monospace bold lt hex value gt The following conventions appear in this manual This icon denotes a note which alerts you to important information This icon den
45. table contained in nonvolatile configurations During the VXI interrupt configuration the RM assigns interrupt levels to all Programmable Handlers PH and Programmable Interrupters PI National Instruments Corporation 2 17 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures GPIB VXI C User Manual Each entry in the table represents the logical address of the handler that handles the corresponding level 1 through 7 If the handler is static PI Servants are assigned to the level If the device is a PH device the RM assigns both it and any PI Servants to the corresponding level Notice that if the table entry is FFh the level is free to be assigned to any PH device If only PH and PI devices are in a system all entries may contain FFh Refer to Chapter 4 Nonvolatile Configuration for more information The remainder of the RM procedure depends upon whether the RM found any DC devices in the system Static Configuration Operation When all of the previous operations are complete and successful the RM sends the Word Serial command Identify Commander to all immediate Message Based Servants with bus master capability At this point the RM is ready to bring the system into the Normal Operation sub state This is accomplished by sending the Word Serial query Begin Normal Operation to all top level Commanders and immediate Message Based Servants Dynamic Configuration Operation If the system is a DC system mean
46. the GPIB VXI C is to convert GPIB protocols to VXI protocols However many features within the VXI environment are not possible with GPIB Much of this has to do with the memory mapping architecture of VXI The DMAmove CI gives you very fast and direct access to VXI A16 and A24 memory 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 73A 852 is a non VXI device with communication registers located in A24 space rather than in A16 space To communicate with the 852 adapter as a Message Based device the 73A 852 requires special adapter software The GPIB VXI C performs the Message Based to 852 communication translation with a CI The GPIB VXI C firmware release includes one CDS 852 Position Independent CI This CI implements the configuration and translation functions required to communicate with up to 12 CDS 852 adapter modules via the GPIB Using EPROMed Code Instruments This section discusses how to install execute and delete an EPROMed Code Instrument Installing an EPROMed Code Instrument You can install an EPROMed Code Instrument the DMAmove and CDS 852 CIs are examples either by configuring the nonvolatile configuration parameters or by using the GPIB VXI C local command set command ECIboot This section explains how to use the National Instruments Corporation B 1 GPIB VXI C U
47. the physical Word Serial registers is passed to lt logical address gt lt logical address gt must be the logical address of the GPIB VXI C or an onboard code instrument 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 WordSerEna 5 Pass control of the physical registers back to GPIB VXI C local command parser at Logical Address 0 WordSerEna 0 National Instruments Corporation 3 13 GPIB VXI C User Manual Chapter 3 Local Command Set RM Information Queries These RM information queries are described in the following sections A24MemMap A32MemMap Cmdr CmdrTable Laddrs NumLaddrs RmEntry Srvnts s StatusState 3 Note The system information commands NumLaddrs Laddrs CmdrTable A24MemMap and A32MemMap return information about the known system If 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 The Numladdrs query is used to find out how many devices there are in the system The number of devices could then be used by a control program to determine the allocation size for an array that is to hold the logical addresses of each device The Laddrs query returns a list of logical addresses for devices in the system
48. used to control the response modes are ProgMode and ConsMode The response mode configuration is independent for each command source Table 3 2 lists the default startup reset response mode configurations Table 3 2 Default Response Mode Configurations Port Response Mode RS 232 Console mode enabled program mode disabled GPIB Program mode enabled console mode disabled VXI Word Serial Program mode enabled console mode disabled Individual Code Instruments Program mode enabled console mode disabled National Instruments Corporation 3 3 GPIB VXI C User Manual Chapter 3 Local Command Set Command Response Format Commands do not have program mode responses They do not return a response to a port configured for console mode response only unless the GPIB VXI C detects an error condition Console mode command responses are self explanatory and are not described in this manual Query Response Format Queries have both program and console mode responses Program mode query responses are fixed field formatted with commas delimiting the fields For example the list of logical addresses returned by the Laddrs query is returned as groups of three characters to allow the field to accommodate the valid range of 0 to 254 separated by commas The values are right justified and padded with the ASCII space character 20h For example Logical Address 45 would be returned as 45 Unless otherwise not
49. 0 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 parity with two stop bits 18 Baud 9 600 test interrupts 19 Test Timer 0 interrupt capability 20 Test Timer 1 matched mode 21 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 Table 5 5 MIGA Tests Test Number Test Description 22 Logical address test 23 ID test 24 Device type test 25 Offset test 26 Protocol test GPIB VXI C User Manual 5 6 ni com Chapter 5 Table 5 5 MIGA Tests Continued Diagnostic Tests National Instruments Corporation Test Number Test Description 27 A24 Pointer High test 28 A24 Pointer Low test 29 A32 Pointer High test 30 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 amp ISR test 40 T O test 41 Signal test 42 Interrupts test 43 Word Serial Protocol test 44 SYSFAIL circuitry test 5 7 GPIB VXI C User Manual Cha
50. 0 5 25 GPIB VXI C User Manual 3 82 ni com Chapter 3 Local Command Set TrigExtConf Purpose Configure the external trigger GPIO lines Query Syntax TrigExtConf lt extline gt lt mode gt where the value of lt extline gt is the trigger line to configure 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 GPIOs 4 to 9 and lt mode gt specifies the configuration mode where Bit Configuration Modes 0 1 Feed back any line mapped as input into the cross point switch 0 Drive input to external GPIO pin 1 1 Assert input regardless of feedback 0 Leave input unconfigured 2 1 If assertion selected assert low 0 If assertion selected assert high 3 1 Invert external input not feedback 0 Pass external input unchanged All other values are reserved for future expansion National Instruments Corporation 3 83 GPIB VXI C User Manual Chapter 3 Local Command Set Response Program response 0 Console response External connection GPIO configuration complete extline lt extline text gt mode lt mode gt lt CRLF gt where the meaning of lt extline text gt corresponds to the value of lt extline gt as follows Value of lt extline gt
51. 0x08 00000000 0x09 00000000 Ox0A 00000000 0x0B 00000000 CI Nonvolatile User Configuration Variables 0x00 00000000 0x01 00000000 0x02 00000000 0x03 00000000 0x04 00000000 0x05 00000000 0x06 00000000 0x07 00000000 0x08 00000000 0x09 00000000 0x0A 00000000 0x0B 00000000 0x0C 00000000 0x0D 00000000 0x0E 00000000 O0x0F 00000000 0x10 00000000 0x11 00000000 0x12 00000000 0x13 00000000 0x14 00000000 0x15 00000000 0x16 00000000 0x17 00000000 0x18 00000000 0x19 00000000 0x1A 00000000 0x1B 00000000 0x1C 00000000 0x1D 00000000 Ox1E 00000000 Ox1F 00000000 National Instruments Corporation 4 3 GPIB VXI C User Manual Chapter 4 Nonvolatile Configuration GPIB VXI C User Manual The first four sections display the National Instruments reserved variables The last section displays hexadecimal values representing the contents of the user defined variables In this example no user defined variables have been initialized The following sections describe the fields in the Nonvolatile Configuration Information Display Logical Address This field contains the VXI logical address of the GPIB VXI C It specifies the location of the GPIB VXI C registers in VXI A16 space The formula is as follows 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 b
52. 19 STOP and HALT in 16 bit A 1st mode 5 10 ni com Chapter 5 Table 5 6 GPIB Tests Continued Diagnostic Tests Test Number Test Description 120 Holdoff when FIFO and DIR are 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 Interrupt on DONE 129 GPIB MEMORY DMA 130 GPIB gt MEMORY DMA with EOI 131 MEMORY GPIB DMA 132 MEMORY gt GPIB DMA commands 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 Table 5 7 TIC Tests Test Number Test Description 133 Initialization 134 Register initialization 135 CNTH Register 136 CNTL Register 137 TTCR and TTSR Registers 138 ETCR and ETSR Registers National Instruments Corporation 5 11 GPIB VXI C User Manual Chapter 5 Diagnostic Tests GPIB VXI C User Manual Table 5 7 TIC Tests Continued Test Number Test Description 139 MODIDH and MODIDL Registers 140 PGPO and PGP1 Registers 141 TSRO and TORO Registers 142 TSR1 and TORI Registers 143 TSR2
53. 2 13 Non Slot 0 Message based device 2 21 Non Slot 0 Resource Manager 2 20 Slot 0 Message based device 2 23 Slot 0 Resource Manager 2 14 adding GPIB VXI C to system A 4 discrete fault indicator 2 10 EPROM 2 9 external input termination 2 8 factory configuration 2 2 GPIB primary address 2 4 installed RAM size 2 4 jumpers and switches discrete fault indicator 2 10 EPROM expansion 2 9 external clock input termination 2 8 external trigger input termination 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 National Instruments Corporation Index 3 Index VXI address modifiers 2 12 VXIbus requester level 2 6 logical address 2 4 RAM size 2 4 reset options 2 6 Servant area size 2 4 shared memory size 2 5 startup mode options 2 12 system configuration 2 1 VXI interrupt handler levels 2 7 VXIbus address modifiers 2 11 VXIbus requester level 2 6 configuring GPIO lines 3 83 configuring initial Commander Servant hierarchy 3 25 configuring TIC chip internal 16 bit counter 3 81 configuring TIC chip internal dual 5 bit tick timers 3 85 configuring trigger line assertion method 3 79 connector D 4 connectors external CLK D 4 GPIB D 2 RS 232 D 1 trigger input D 4 trigger output D 5 VXIbus D 5 P1 connector signals D 5 P2 connector signals D 7 ConsoleEna command 3 7 Consol
54. 2 output respectively and terminating the tick timer if configured for non rollover mode National Instruments Corporation 3 85 GPIB VXI C User Manual Chapter 3 Local Command Set Response Program response 0 Console response TICKs configured mode lt mode text gt source lt source text gt tl tcountl t2 tcount2 lt CRLF gt where the meaning of lt mode text gt corresponds to the value of lt mode gt Value of lt mode gt Value of lt mode text gt 0 INIT w ROLL 1 INIT w NOROLL 2 RELOAD 3 DISABLE and the meaning of lt source text gt corresponds to the value of lt source gt Value of lt source gt Value of lt source text gt 40 to 49 GPIO lt source gt 40 70 CLK10 71 EXTCLK Example 1 Configure the tick timers 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 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 to start the tick timers TrigTickConf 0 70 10 3 GPIB VXI C User Manual 3 86 ni com Chapter 3 Local Command Set TrigToREQT Purpose Map trigger interrupt to GPIB SRQ condition REQT generation for a particular GPIB address Command Syntax TrigTOREQT
55. 4 10 GPIO connections crosspoint switch location F 1 diagram F 2 generating square wave F 1 routing to tick timer F 1 routing to VXI trigger lines F 1 GrantDev query 3 31 granting Servant to Commander 3 31 H halting further commands until No Operation Pending 3 60 HandlerLine query 3 52 help professional services G 1 technical support G 1 ni com Help query accessing online reference 3 4 Help query 3 5 Help query 3 5 TEEE 488 2 command commands and queries CLS 3 55 ESE 3 55 ESE 3 56 ESR 3 56 IDN 3 56 OPC 3 57 OPC 3 57 RST 3 58 SRE 3 58 SRE 3 59 STB 3 59 TRG 3 59 TST 3 60 WAT 3 60 instrument drivers G 1 interface specific information programming GPIB VXI devices in VISA A 1 register based programming messages and operations table A 2 K kit contents 1 1 KnowledgeBase G 1 L Laddrs query 3 19 LaSaddr command 3 44 LaSaddr query 3 45 local command set 3 61 access 3 2 National Instruments Corporation Index command and query responses 3 3 command line termination 3 3 command 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 configuration commands and queries 3 43 Help query 3 5 TEEE 488 2 command commands and queries 3 54 overview 1 3 query responses
56. 8 National Instruments Corporation 3 21 GPIB VXI C User Manual Chapter 3 Local Command Set Srvnts Purpose Get a list of a device s Servants Query Syntax Srvnts lt logical address gt lt logical address gt is the device s logical address Response Program response lt slal gt lt sla2 gt lt slaN gt lt CRLF gt where lt slai gt through lt slan gt are the Servant device logical addresses Console response Logical Address lt logical address gt has servants lt slal gt lt sla2 gt lt slaN gt lt comment gt lt CRLF gt if the device has Servants or Logical Address lt logical address gt has servants none lt comment gt lt CRLF gt if the device has no Servants The lt comment gt field indicates any relevant information about the status and or capabilities 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 Chapter 3 Local Command Set StatusState Purpose Get a device s current self test status Query Syntax StatusState lt logical address gt lt logical address gt is the logical address for the device Response Program response lt val gt lt CRLF gt The value of lt val gt is equivalent to the value of the field in the device s status register containing the Ready and Passed bits lt val gt can be interpreted as follows The device is Faile
57. A 2 viAssertTrigger A 2 viFindRsrc A 2 viGetAttribute A 2 viln16 A 2 viOut16 A 2 register based programming A 2 VISA See also NI VISA VXI A16 and A24 memory accessing with DMAmove CI B 1 VXI A24 base address Offset Register 2 5 VXI interrupt handlers configuring 2 7 VXI triggers MANTIS custom ASIC F 1 VXIbus access commands and queries 3 61 A16 3 62 A16 3 62 A24 3 63 A24 3 64 SYSRESET 3 64 GPIB VXI C User Manual VXIbus address modifier signals for A16 and A24 accesses 2 11 switch settings figure 2 12 VXIbus characteristics 488 V XIbus translator capabilities 1 2 compatibility with VXIbus System Specification 1 2 Message Based Commander and Servant 1 2 shared memory capability 1 2 summary 1 2 VXIbus interrupt handlers 1 2 VXIbus master and slave 1 2 VXIbus Resource Manager RM 1 2 VXIbus Slot 0 support 1 2 VXIbus connector D 5 P1 connector signals D 5 P2 connector signals D 7 VXIbus interrupt handler configuration commands and queries AllHandlers 3 50 AssgnHndlr 3 51 HandlerLine 3 52 RdHandlers 3 53 VXIbus requester level jumper settings figure 2 7 VXI defined common ASCII system commands DCON 3 34 DINF 3 36 DLAD 3 38 DNUM 3 39 DRES 3 40 RREG 3 41 WREG 3 42 ni com W WaitForTrigTrig command 3 91 waiting for sensing of trigger line 3 91 Web professional services G 1 technical support G 1 Word Serial communication commands and que
58. C Example Enable sensing of TTL line 4 for SEMI SYNC protocol EnaTrigSense 4 5 GPIB VXI C User Manual 3 70 ni com Chapter 3 Local Command Set GetTrigHndlr Purpose Get the address of the current TTL ECL trigger counter or tick timer interrupt handler for a specified trigger source Query Syntax GetTrigHndlr lt line gt where the value of lt 1line gt corresponds to the trigger line or counter tick source Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 50 TIC counter 60 TIC TICK timers Response Program response 0 Console response Trigger handler line lt line text gt DefaultTrigHandler lt CRLF gt where the meaning of lt line text gt corresponds to the value of lt line gt as follows Value of lt line gt Value of lt line text gt 0 to7 TTL lt line gt 8 to9 ECL lt line gt 8 50 TCNTR 60 TICK 1 Example Get the address of the trigger interrupt handler for TTL trigger line 4 GetTrigHndlr 4 National Instruments Corporation 3 71 GPIB VXI C User Manual Chapter 3 Local Command Set MaptTrigTrig Purpose Map a specified TTL ECL Star X Star Y external connection GPIO or miscellaneous signal line to another Query Syntax MapTrigTrig lt srcTrig gt lt destTrig gt lt mode gt where lt srcTrig gt is the source line to map to a destination the value of
59. DFFFFFh A32 Assign Base This entry determines the A32 address where the Resource Manager will begin allocating A32 address space for VXI devices You can use this field to avoid conflicts with VME devices that use A32 address space In addition 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 20000000h to DFFFFFFFh DC Starting Logical Address This parameter specifies the first logical address the Resource Manager should use to begin assigning Dynamic Configuration DC devices DC devices will be assigned the next higher unassigned logical address BNO This parameter specifies whether the Resource Manager should send Identify Commander and Begin Normal Operation in a DC system DC systems cannot specify an intended hierarchy and must be configured externally normally through the local commands DCGrantDev and DCBNOsend The most common configuration however is to assign all DC devices to Logical Address 0 the RM If BNO is specified to be sent all DC devices are assigned to Logical Address 0 and the Identify Commander and Begin Normal Operation commands are sent If BNO is specified not to be sent no devices neither SC nor DC will be sent the Begin Normal Operation command DCBNOsend must be sent to the local command set to initiate normal operation after the hierarchy is establis
60. DVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION INSTALLATION ERRORS SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNANTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS INCLUDING THE RISK OF BODILY INJURY AND DEATH SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE TO AVOID DAMAGE INJURY OR DEATH THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES INCLUDING BUT NOT LIMITED TO BACK UP OR SHUT DOWN MECHANISMS BECAUSE EACH END USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WH
61. E EEE E E A viata eeabece tes 3 9 INDE OI i VAERE EAEE T T T dee leis 3 10 LON tei a o AA EET AE AENEON EATEN I EEN 3 11 ProgMod s sieaa ao T E A E eee es ee 3 12 Word SerEna ehini a E eee A E E AN 3 13 RM Information Queries onnies snit taceaseciacesetcasssducssiahectoccsccnedsetseanectevesteseebecseds 3 14 A24MemMap aerarmea ena e e a a a As 3 15 A32MemMap naia Bade as dae eth ieee ha ee eee 3 16 ME arra a San Shee Sekt ph poked ouch Dea added ets aaa eee eee OE TEE EE 3 17 CmidrT able itis tees oki eae ee et ae i sie i eee 3 18 WAS gt Sicoeceste cevcuas seb doe ce toe cet eaase E ded sed eaten satus stedesvee sebtieved EAA 3 19 Num ad rs eeni ea R cantlatessevediserautes E E ON 3 19 GPIB VXI C User Manual viii ni com Contents RENY aiia a n Ades Aencsue cs ca ckacs nag setss ne E E EE ENARE A 3 20 SEVIS P e a iaoa a des EES aaa aE E aE E EaI 3 22 St tus State Pes oni cake inde EAEE ERREA E ARO N 3 23 Dynamic Configuration Commands and Queries seesseeesssssseesssesresestsrrsrereseesrsersreses 3 24 DECBNOSepd inio sci niesieni la as E hale nobles nus tel E AAS 3 25 DC Grant DIEA AEE E sak Adie disses iesiaitis eae 3 25 DGS Y Stem oe cases bend rerh EE EIE EE AEE upeeedel EE EA 3 26 Dynamic Reconfiguration Queries 00 0 ceeceseeseeseeeeeseeeseeseceseeseeesecaeceseeseseaeeesseeeaees 3 27 Broadcast reiii gs oie Silas ede ete ees aad and ehss aches ENARA 3 28 Grant Dew ccscsissesceicsds n a aa o ra a aeaa opaan ta aa iiaeaa
62. E register to 45 ESE 45 National Instruments Corporation 3 55 GPIB VXI C User Manual Chapter 3 Local Command Set ESE 488 2 Intent Get the contents of the ESE register Query Syntax ESE Response lt ESE val gt lt CRLF gt where lt ESE val gt is the current 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 lt ESR val gt lt CRLF gt lt ESR val gt is the current value of the ESR IDN 488 2 Intent Get the GPIB VXI C s manufacturer model serial number and firmware level Query Syntax TDN Response National Instruments GPIB VXI lt serial number gt lt firmware version gt lt CRLF gt GPIB VXI C User Manual 3 56 ni com Chapter 3 Local Command Set OPC 488 2 Intent Cause the GPIB VXI C to generate the operation complete message in the 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 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 1 lt CRLF gt National Instruments Corporation 3 57 GPIB VXI C User Manual
63. ENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESIGN PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION Compliance FCC Canada Radio Frequency Interference Compliance Determining FCC Class The Federal Communications Commission FCC has rules to protect wireless communications from interference The FCC places digital electronics into two classes These classes are known as Class A for use in industrial commercial locations only or Class B for use in residential or commercial locations Depending on where it is operated this product could be subject to restrictions in the FCC rules In Canada the Department of Communications DOC of Industry Canada regulates wireless interference in much the same way Digital electronics emit weak signals during normal operation that can affect radio television or other wireless products By examining the product you purchased you can determine the FCC Class and therefore which of the two FCC DOC Warnings apply in the following sections Some products may not be labeled at all for FCC if so the reader should then assume these are Class A devices FCC Class A products only display a simple warning statement of one paragraph in length regarding interference and undesired operation Most of our products are FCC Class A The FCC rules have restrictions regarding the locations where FCC Class A products can be
64. GPIB VXI C circuitry You can execute the diagnostics by test groups or by individual tests National Instruments Corporation 5 1 GPIB VXI C User Manual Chapter 5 Diagnostic Tests Table 5 1 Diagnostic Tests Group Test Numbers Test Name Number From To RAM 1 1 4 68070 CPU 2 5 21 MIGA 3 22 44 GPIB 4 45 132 TIC 5 133 236 DMA 6 237 247 68881 Coprocessor 7 248 248 RAM exhaustive 8 249 250 Interrupts 9 251 253 Miscellaneous Tests 10 254 263 Diagnostics Mode Selection GPIB VXI C User Manual Two hierarchical levels of menus control execution of the diagnostic 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 5 2 ni com 488 VXIbus Interface DIAGNOSTICS Default Diags all gt d Tests gt t Test Groups gt g Over NightLoop gt 0 Quit gt q PRINT TOGGLE gt p SINGLE STEP TOGGLE gt S LOOPING TOGGLE SSS SL ERROR REPORT TOGGLE gt e REPORT ERROR LOG gt CLEAR ERROR LOG gt C Chapter 5 Diagnostic Tests lt XXX DRAM Reported gt Current settings PRINT OFF ERROR ON SINGLE OFF LOOP OFF Enter Selection Table 5 2 Diagnostics Mode Menu Option Descriptions
65. IB VXI C Message Based Servants at intervals of eight logical address locations you can avoid situations in which removing or adding one device changes the GPIB address of another device The default configuration for the GPIB VXI C is to use multiple GPIB secondary addresses not multiple primary addresses You can change the configuration to use multiple primary addresses through nonvolatile memory configuration as described in the Change Configuration Information section of Chapter 4 Nonvolatile Configuration National Instruments Corporation 2 19 GPIB VXI C User Manual 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 The default GPIB address of the GPIB VXI C when configured for multiple primary addresses is Primary Address 1 no secondary address At times especially when using multiple primary addressing you may find it necessary to avoid particular GPIB addresses to avoid conflicts with GPIB instruments outside of the VXI mainframe You can specify what GPIB addresses to avoid through the nonvolatile memory configuration as described in the Change Configuration Information
66. K bits 72 Checkk can set 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 83 Check CHES 84 Check PP2 85 Check SDB 86 Check NL 87 Check EOS 88 Check 9914 and 7210 mode switch 89 Check able to untalk 90 Check able to unlisten 91 Check NBAF and NTNL 92 Check REQTC 93 Check REQFC National Instruments Corporation 5 9 GPIB VXI C User Manual Chapter 5 Diagnostic Tests GPIB VXI C User Manual Table 5 6 GPIB Tests Continued Test Number Test Description 94 Check holdoff now command 95 Check DHALL 96 Check effect of REQT during serial poll 97 Check for spurious interrupts 98 Check INT on SYNC 99 Check global interrupt 100 Set and clear SC 101 Set and clear DUALADD 102 Trigger INTSCR1 and INTSRC2 103 Set STOP DONE HALT and DAV in read mode 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 STS1 110 Reset STS2 111 Reset TIMER 112 Check flags on 16 bit independent FIFO 113 Fill and empty 16 bit independent FIFO 114 Fill and empty 16 bit FIFO 115 Reset non full FIFO 116 Reset full FIFO 117 16 bit FIFO read 118 Fill and empty 16 bit FIFO 1
67. Manual Chapter 4 Nonvolatile Configuration You can edit the National Instruments reserved configuration parameters and CI user configuration variables by selecting the corresponding menu item In each case you are prompted to enter constants for the new values with default values supplied where appropriate For the pSOS configuration parameters the GPIB VXI C prints a formula for calculating an appropriate value for each parameter if you type in 0 in response to the prompt requesting the value The Default CI Configuration and Resident CI Base Locations options are only important when installing a Resident CI Refer to Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments for instructions on installing the Resident CIs 3 Note 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 Changes command in the main menu to retain the changes after the GPIB VXI C has been reset or powered down Select Quit Editor to return the display to the main menu Set Configuration to Factory Settings The item Set Configuration to Factory Settings sets the contents of the RAM copy of the NV memory to the default original factory settings Notice that only the RAM copy is affected You must use the Write Back Save Changes command in the main menu to write back the NV memory and retain the changes after the GPIB VXI C has been reset or
68. PIB VXI C User Manual 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 lt levell gt lt level2 gt lt level3 gt lt CRLF gt where lt level1 gt is the interrupt level assigned to Handler 1 lt level12 gt is the interrupt level assigned to Handler 2 and lt leve13 gt is the interrupt level assigned to Handler 3 If lt leveln gt equals 0 Interrupt Handler lt handlerN gt is not assigned to an interrupt level Console response VXI interrupt Handler 1 assigned to VXI interrupt Handler 2 assigned to VXI interrupt Handler 3 assigned to if all handlers are assigned to levels or VXI Interrupt Handler lt handler gt NOT level lt CRLF gt if lt handlerN gt is not assigned to a level Example interrupt level interrupt level interrupt level assigned to any Get the interrupt level assigned to all interrupt handlers AllHandlers GPIB VXI C User Manual 3 50 lt level1 gt lt CRLF gt lt level2 gt lt CRLF gt lt level3 gt lt CRLF gt interrupt ni com Chapter 3 Local Command Set AssgnHndlr Purpose Assign a VXIbus interrupt level to a GPIB VXI C interrupt handler Command Syntax AssgnHndlr lt handler gt lt level gt where lt handler gt is a numeric integer quantity in the range 1 to 3 and lt level gt is a numeric integer quantit
69. PIB and VXIbus operation Controller can address one VXIbus device to talk and one or more other VXIbus devices to listen e JEFE 488 1 capabilities SH1 Source Handshake AH1 Acceptor Handshake T5 TES Talker Extended Talker multiple primary or multiple secondary addressing L3 LE3 Listener Extended Listener multiple primary or multiple secondary addressing SR1 Service Request DC1 Device Clear DT1 Device Trigger RLO Remote Local PPO Parallel Poll e TEEE 488 2 compatible 488 V XIbus translation The IEEE 488 1 capabilities are supported for all VXIbus devices associated with GPIB addresses The IEEE 488 2 compatibility applies to 488 2 compatible V XIbus 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 e System configuration and control National Instruments Corporation Help General configuration RM information extraction VXI defined common ASCII system commands Dynamic system configuration and reconfiguration 1 3 GPIB VXI C User Manual Chapter 1 General Description GPIB address configuration VXIbus interrupt handler configuration IEEE 488 2 common commands e Instrument development and test VXIbus access Word Serial communication e Cl user and development CI configuration You can access the command set from the GPIB port the serial port
70. R WREG viOut16 with VI_A16_SPACE or A16 RREG viIn16 with VI_A16_SPACE or A16 A24 viOut16 with VI_A24_SPACE A24 viIn16 with VI_A24_SPACE SrcTrig viAssertTrigger A 2 ni com Appendix A Using the NI VISA Code Instrument Notice that with the INSTR register access operations viOut16 and viIn16 you pass a device relative offset in the specified address space 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 The form of the resource string for that class is GPIB VXI lt system gt MEMACC You also can use the operations viOuts and viIn8 to perform 8 bit accesses which is not a feature supported by the local command set VISA also defines 32 bit operations and accesses to A32 space but because these are not implemented by the GPIB VXI C itself they return errors DMAmove and VISA If you have used the DMAmove code instrument in the past you can use the viMoveInxx and viMoveOutxx operations instead Refer to Appendix B Using the DMAmove 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
71. S 232 port D 2 installing in wrong slot 2 13 CDS 852 CI A24 address assignment B 8 address configuration B 3 commands NA B 10 IB B 10 D B 11 d B 11 GPIB VXI C User Manual Index 2 NE B 11 IIL B 12 NWS B 13 NT B 13 llt B 14 overview B 9 configuring CI read termination on EOS B 11 disabling debug message printing to serial port B 11 disabling read termination on END B 14 enabling debug message printing to serial port B 11 enabling read termination on END B 13 installing B 2 logical address assignment B 8 setting maximum size of binary read B 13 setting read mode to ASCII B 10 setting read mode to binary B 10 characteristics GPIB 1 2 VXIbus 1 2 CI See code instruments clearing status data structures 3 55 CLK connector external D 4 Cmdr query 3 17 CmdrTable query 3 18 code instrument support CIs not supported by National Instruments 1 4 CIs supported by National Instruments 1 4 code instruments CDS 852 CI B 8 communicating with external instruments A 1 deleting B 5 DMAmove compared to NI VISA CI A 3 ni com EPROMed code instruments B 1 error table E 3 included in firmware B 1 NI VISA for performing DMA A 3 overview 1 4 A 1 resident code instruments B 4 command and query responses 3 3 command line termination 3 3 command responses format 3 4 command set access 1 4 command syntax 3 2 CONF command 3 7 configuration 488 VXI runtime system operation
72. SC Servants After this the GPIB VXI C RM and general configuration operations are complete GPIB Address Assignment The GPIB VXI C automatically assigns GPIB addresses primary or secondary to itself and to each of its immediate Message Based SC 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 If two or more devices have logical addresses with the same top five bits the GPIB VXI C assigns GPIB addresses to devices in order of the least significant three bits Conflicting devices are given the next available 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 Table 2 10 Example GPIB Address Assignment 3 LSB Order Logical Address of Assignment 5 MSB GPIB Address Decimal Binary Binary Binary Decimal 0 00000000b 000b 00000b 0 24 00011000b 000b 00011b 3 33 00100001b 001b 00100b 4 27 00011011b 011b 00011b 5 In the example shown in Table 2 10 the device at Logical Address 27 was assigned GPIB Address 5 because addresses 3 and 4 were previously assigned By spacing the GP
73. TrigSense command 3 68 DLAD query 3 38 DMA using DMAmove B 5 using VISA A 3 DMAmove CI accessing VXI A16 and A24 memory B 1 address configuration B 3 capabilities and features B 5 controlling B 6 GPIB address assignment B 5 installing B 2 reporting diagnostic messages B 8 reporting status B 7 DNUM query 3 39 documentation conventions used in manual xiii online library G 1 related documentation xiv DPram query 3 9 DRES query 3 40 drivers instrument G 1 software G 1 dynamic configuration commands and queries DCBNOSend 3 25 DCGrantDev 3 25 DCSystem 3 26 dynamic configuration devices Resource Manager operation 2 17 dynamic configuration operation 2 18 ni com dynamic reconfiguration queries Broadcast 3 28 GrantDev 3 31 RelSrvnt 3 32 E enabling sensing of specified trigger component 3 69 enabling disabling console data mode 3 8 enabling disabling program data mode 3 12 enabling disabling RS 232 port as console 3 7 EnaTrigSense command 3 69 EPROM expansion settings table 2 9 expansion sockets 2 9 installation guidelines 2 9 insertion position figure 2 10 potential damage 2 9 standard and optional settings 2 9 EPROMed code instruments deleting B 5 executing B 5 installing B 1 error codes code instrument errors E 3 command format error E 1 device errors E 2 syntax errors E 1 trigger errors E 4 error reporting 3 4 example code G 1 executing stored trigge
74. VXI GPIB VXI C User Manual Wy NATIONAL May 2002 Edition gt INSTRUMENTS Part Number 370556A 01 Worldwide Technical Support and Product Information ni com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 Worldwide Offices Australia 03 9879 5166 Austria 0662 45 79 90 0 Belgium 02 757 00 20 Brazil 011 3262 3599 Canada Calgary 403 274 9391 Canada Montreal 514 288 5722 Canada Ottawa 613 233 5949 Canada Qu bec 514 694 8521 Canada Toronto 905 785 0085 China Shanghai 021 6555 7838 China ShenZhen 0755 3904939 Czech Republic 02 2423 5774 Denmark 45 76 26 00 Finland 09 725 725 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 9596711 Mexico 001 800 010 0793 Netherlands 0348 433466 New Zealand 09 914 0488 Norway 32 27 73 00 Poland 0 22 3390 150 Portugal 351 210 311 210 Russia 095 238 7139 Singapore 6 2265886 Slovenia 386 3 425 4200 South Africa 11 805 8197 Spain 91 640 0085 Sweden 08 587 895 00 Switzerland 056 200 51 51 Taiwan 02 2528 7227 United Kingdom 01635 523545 For further support information see the Technical Support and Professional Services appendix To comment on the documentation send email to techpubs ni com 2002 National Instruments Corporation All right
75. XIbus signals and protocols so that a GPIB Controller can control VXIbus instruments in the same way that it controls GPIB instruments The GPIB 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 services You can defeat the RM and Slot 0 functions individually so that the GPIB VXI C can coexist with another RM and or be located in any slot What Your Kit Should Contain Your GPIB VXI C kit contains a GPIB VXI C module and documentation The GPIB VXI C part number and serial number are printed on the label affixed to its shield casing Optional Equipment You can contact National Instruments to order any of the following cables e Type S5 serial port cable 25 pin 2 m part number 181138 02 e Type S6 serial port cable 9 pin 2 m part number 181139 02 e Type X2 double shielded GPIB cables 0 5 m 1 m 2 m 4 m or 8 m part numbers 763061 005 01 02 03 and 04 respectively National Instruments Corporation 1 1 GPIB VXI C User Manual Chapter 1 General Description Unpacking UN 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 Before re
76. a is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Canadian Department of Communications This Class A digital apparatus meets all requirements of the Canadian Interference Causing Equipment Regulations Cet appareil num rique de la classe A respecte toutes les exigences du R glement sur le mat riel brouilleur du Canada Class B Federal Communications Commission This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures e Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver e Connect the equipment into an outlet on a circuit different from that to which the receiver is connected e Consult the dealer
77. als Pin Signal Name Signal Description 1 DIO1 Data Bit 1 2 DIO2 Data Bit 2 3 DIO3 Data Bit 3 4 DIO4 Data Bit 4 5 EOI End or Identify 6 DAV Data Valid 7 NRFD Not Ready for Data GPIB VXI C User Manual D 2 ni com Appendix D Connectors Table D 2 GPIB Connector Signals Continued Pin Signal Name Signal Description 8 NDAC Not Data Accepted 9 IFC Interface Clear 10 SRQ Service Request 11 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 GND Logic Ground 22 GND Logic Ground 23 GND Logic Ground 24 GND Logic Ground National Instruments Corporation D 3 GPIB VXI C User Manual Appendix D Connectors External CLK10 Connector Type BNC Figure D 3 EXT CLK Connector Table D 3 EXT CLK Connector Signals Pin Signal Description Center CLK10 I O TTL 10 MHz Shield Ground Trigger Input Connector Type BNC Figure D 4 TRG IN Connector Table D 4 TRG IN Connector Signals Pin Signal Description Center Trigger Input TTL Shield Ground GPIB VXI C User Manual D 4 ni com Appendix D Connectors Trigger Output Connector Type BNC
78. and Startup Procedures GPIB VXI C Configuration The GPIB VXI C factory configuration is shown in Table 2 1 Table 2 1 GPIB VXI C Factory Configuration Function Factory Configuration Startup Mode 488 VXI Runtime System Mode VXIbus Characteristics Resource Manager RM Enabled Logical Address 0 Servant Area Size 0 Shared Memory 0 of Installed Memory Address Modifiers Supervisor A16 Supervisor A24 data VXIbus Slot 0 Services CLK10 Driver Enabled CLK10 Source Onboard Clock SYSCLK Driver Enabled Priority Arbiter Enabled Bus Timeout Enabled BTO 250 usec Bus Requester Level 3 VXI Interrupt Handlers Unassigned GPIB Addressing Mode Multiple Secondary Addressing GPIB VXI C GPIB Primary Address 1 Serial Port System Startup Messages Disabled Console Local Command Port Enabled Discrete Fault Indicator DFI Normally Open Front Panel BNC Termination External Clock Input Unterminated External Trigger Input Unterminated 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 The jumpers and switches are represented in their factory default positions GPIB VXI C User Manual 2
79. and TOR2 Registers 144 TSR3 and TOR3 Registers 145 TSR4 and TOR4 Registers 146 TSRS5 and TORS Registers 147 TSR6 and TOR6 Registers 148 TSR7 and TOR7 Registers 149 TSR8 and TOR8 Registers 150 TSR9 and TOR9 Registers 151 GPINO connection 152 GPIN1 connection 153 GPIN2 connection 154 GPIN3 connection 155 GPIN4 connection 156 GPINS connection 157 GPIN6 connection 158 GPIN7 connection 159 GPIN8 connection 160 GPIN9 connection 161 TrigO connection 162 Trig connection 163 Trig2 connection 164 Trig3 connection 5 12 ni com Table 5 7 TIC Tests Continued Chapter 5 Diagnostic Tests Test Number Test Description 165 Trig4 connection 166 Trig5 connection 167 Trig6 connection 168 Trig7 connection 169 Trig8 connection 170 Trig9 connection 171 Counter using CLK10 172 Counter using TrigO 173 Counter using Trig 174 Counter using Trig2 175 Counter using Trig3 176 Counter 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 USTS 184 Interrupt on Trig by ASTS and USTS 185 Interrupt on Trig2 by ASTS and USTS 186 Interrupt on Trig3 by ASTS and USTS 187 Interrupt on Trig4 by ASTS and USTS 188 Interrupt on Trig5 by ASTS and USTS 189 Interrupt on Trig6 by ASTS and USTS 190 Interrupt on Trig7 by ASTS a
80. and has already been sent to the top level Commanders through the DCBNOSend local command Console response This IS a Dynamic Configured system lt CRLF gt if it is a DC system or This is NOT a Dynamic Configured system lt CRLF gt if it is not a DC system GPIB VXI C User Manual 3 26 ni com Chapter 3 Local Command Set Dynamic Reconfiguration Queries These dynamic reconfiguration queries are described in the following sections e Broadcast e GrantDev 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 The Broadcast query can be used to make the system or subtree enter the Configure substate 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 used to restructure the Commander Servant hierarchy You could perform dynamic reconfiguration directly by using the wSCmd and wScmd local commands but the GPIB VXI C s RM table would not be updated By using the RelSrvnt and GrantDev queries to reconfigure the system you ensure that the GPIB VXI C s system hierarchy and GPIB address link records do not become corrupted You can return the system or subtree to the Nor
81. anguage hexadecimal format and lt A24 address gt is in decimal integer format 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 Chapter 3 Local Command Set TTL ECL Trigger Access Commands These TTL ECL Trigger Access commands are described in the following sections e AckTrig DisTrigSense EnaTrigSense GetTrigHndlr e MapTrigTrig he SetTrigHndlr SrcTrig TrigAsstConf TrigCntrConf TrigExtConf TrigTickConf TrigToREQT e UMapTrigTrig e 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 e Source trigger commands act as a standard interface for asserting sourcing TTL and ECL triggers as well as for detecting acknowledgements from accepting devices These commands can source any of the VXI defined trigger protocols from the GPIB VXI C The source trigger commands are SrcTrig SetTrigHndlr and GetTrigHndlr e Acceptor trigger commands act as a standard interface for sensing accepting TTL and ECL triggers as well as for sending acknowledgements back to the sourcing device These functions can sense any of the VXI defined trigger prot
82. ate Word Serial communication operations with any Message Based device including the GPIB VXI C itself regardless of whether or not it is the GPIB VXI C s Servant 3 Note The Word Serial communication commands and queries are intended for debugging purposes National Instruments does not guarantee that these commands will work when other Word Serial paths such as the GPIB address link are open Some of the Word Serial commands as defined in the VXIbus specification require a response from the 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 e Word Serial command A V XI defined Word Serial command that does not require a response from the Message Based device e Word Serial query A V XI1 defined Word Serial command that requires a response from the Message Based device e Command A GPIB VXI C command as defined in this chapter e Query A GPIB VXI C query as defined in this chapter You can use the WScmd command to send a Word Serial command to a Message Based device The wScmd query is used to send a Word Serial query to the Message Based device and to automatically read and return the device s response You can also use WScmd to send a Word Serial query to a Message Based device Because WScmd does not read t
83. ation C 3 GPIB VXI C User Manual Connectors This appendix describes the connectors found on the GPIB VXI C 3 Note The illustrations in this appendix show the mating face of the connectors 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 RS 232 Connector Table D 1 RS 232 Connector Signals Pin Signal Name Signal Description 1 DFI1 Discrete Fault Indicator leave unconnected 2 RXD Receive Data 3 TXD Transmit Data 4 DTR Data Terminal Ready 5 GND Ground 6 DFI2 Discrete Fault Indicator leave unconnected 7 RTS Ready to Send National Instruments Corporation D 1 GPIB VXI C User Manual Appendix D Connectors Table D 1 RS 232 Connector Signals Continued Pin Signal Name Signal Description 8 CTS Clear to Send 9 n c Not Connected UN Caution If you are building a cable for the RS 232 port do not connect to pins 1 and 6 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 Discrete Fault Indicator Configuration section of Chapter 2 Configuration and Startup Procedures for more information about DFI GPIB Connector Type GPIB oro 24 13 Figure D 2 GPIB Connector Table D 2 GPIB Connector Sign
84. base location as shown below 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 Code Instrument Address Base Location CDS852 CI F7E000 DMAmove CI F7CO000 Type Y to respond yes to the Debug mode On for Resident CI 0xXX prompt This enables debug statement printing to the terminal National Instruments Corporation B 3 GPIB VXI C User Manual Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments For example to install the single DMAmove CI and two 852 adapter CIs and enable debug statement printing on the second 852 CI enter the following sequence which has been highlighted in boldface type for this example Resident CI Base Location Configuration Enter Number of Base Location to EDIT Oxff EXIT 0 Enter Address for Base 0x01 default 0x000000 F7C000 Debug mode ON for Resident CI 0x01 default NO N Enter Number of Base Location to EDIT Oxff EXIT 4 Enter Address for Base 0x00 default 0x000000 F7E000 Debug mode ON for Resident CI 0x00 default NO lt CR gt Enter Number of Base Location to EDIT Oxff EXIT 5 Enter Address for Base 0x01 default 0x000000 F7E000 Debug mode ON for Resident CI 0x01 default NO Y Enter Number of Base Location to EDIT Oxff
85. caeeeseseenaes 4 3 Logical Address osios errno teiseni e REA suena 4 4 Device Typera ia R A aa 4 4 Man fact rer Id iseer Sestecssiuaesecestdeteswtevs consist out oteteewesdiees eerste cs 4 4 Model Code Slot O Non Slot 0 ccccccscccccesessscccceeesssceecesesssseeeeees 4 4 Slave Address Spates no eee ces eean eaaa re a SEE ERER Ai 4 5 Protocol Regist r ne iria E E R ee eee 4 5 GPIB VXI C User Manual X ni com Contents RESET Configuration eee eeeeseceeeesecseeeseseeeeaeenseesseneeeaeeeaes 4 5 S rial NUMber s 5 ssc ioia redta nsi aaae aapear iaae 4 5 PSOS R gion SiZesnesisiri reae EE 4 5 Number of pSOS Processes sscsiiicirisiiesiiirsi tisis nss 4 6 Number of pSOS Message Exchanges eccesesseeseeseeeseeeeeeseeeees 4 6 Number of pSOS Message Buffers eee cece eeeeeseeeeeeseeeeeeenees 4 6 COSl Ei i ae E ath a Heep cokes iui sh dnt eedevie nas A peepee tae 4 6 Resource Manager Wait Period 0 0 0 eee eeeeeseeeeeeseeneeeseeeeeeneesees 4 6 VXI Interrupt Level to Handler Logical Address eee 4 6 ADAVASSIOTB ASC vs ies aaea sites stan sapascagecsdehleagasdvastbitceaseedasavinis 4 7 A32 ASSIGN Base meseisses cer sretstva E sy suavaevens antes 4 7 DC Starting Logical Address eee eeeeeseeeeeseeeeeeeeeeetseenseesees 4 7 BNO aie aesir Rat ai AN Lea ed led a aed 4 7 For FAILED DEVICE seipi deoise saa ana a aA Ea 4 8 Serv t ATCA o6 cctessbeciss E EE EIEEE 4 8 GPIB Pima y neninn a a E R aa 4 8 GPIB Address Assignm
86. cal Address 10 WSstr 10 20 GPIB VXI C User Manual 3 100 ni com Nonvolatile Configuration This chapter describes the method for editing and reviewing the contents of the nonvolatile memory which is used for storing configuration information on the 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 Sy Note National Instruments no longer supports development of Code Instruments The configuration parameters include the following e Local register configuration e pSOS configuration e VXI interrupt line assignment e Resource Manager RM A24 and A32 address assignment base e Servant area size e DC starting logical address and hierarchy configuration e Device failure mode e GPIB configuration e Default CI configuration e CI RAM area configuration e Resident CI locations e CI user configuration variables You can enter NV configuration mode through either of the following methods e Set the startup mode switches to the nonvolatile configuration mode as described in the GPIB VXI C Startup Mode Configuration section of Chapter 2 Configuration and Startup Procedures For this mode set National Instruments Corporation 4 1 GPIB VXI C User Manual Chapter 4
87. contents of a Message Based device Query Syntax RespReg lt log addr gt Action Returns the contents of the device s Response register at Logical Address lt log addr gt Response Program response lt hex value gt lt CRLF gt where lt hex value gt is the hexadecimal value of the Response register contents Console response Logical Address lt log addr gt s Response register lt CRLF gt Ox lt hex value gt lt dor gt lt dir gt lt err gt lt rr gt lt wr gt lt fhs gt lt locked gt lt CRLF gt where lt dor gt lt dir gt lt err gt lt rr gt lt wr gt lt fhs gt and lt locked gt are text flags that interpret the state of the Response register bit flags Capitalized text in a text flag indicates that the corresponding bit flag is in the logic TRUE state Lowercase text indicates that the corresponding bit flag is in the logic FALSE state National Instruments Corporation 3 95 GPIB VXI C User Manual Chapter 3 Local Command Set WScmd Purpose Send a 16 bit Word Serial command or query to a Message Based device Command Syntax WScmd lt log addr gt lt WS cmd gt Action Sends the Word Serial command lt wWS cmd gt to the device at lt log addr gt 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 Chapter 3 Local Command Set WScmd Purpose Send a 16 bit W
88. d and not Ready The device is Passed and not Ready The device is Failed and Ready The device is Passed and Ready WN FO Console response Device at Logical Address lt logical address gt is Failed and not Ready lt CRLF gt or Device at Logical Address lt logical address gt is Passed and not Ready lt CRLF gt or Device at Logical Address lt logical address gt is Failed and Ready lt CRLF gt or Device at Logical Address lt logical address gt is Passed and Ready lt CRLF gt Example Get self test status for device at Logical Address 48 StatusState 48 National Instruments Corporation 3 23 GPIB VXI C User Manual Chapter 3 Local Command Set Dynamic Configuration Commands and Queries These dynamic configuration DC commands and queries are described in the following sections DCBNOSend DCGrantDev DCSystem The DC commands are used to configure the VXI system when all of these conditions are present e The GPIB VXI C is the RM e At least one DC device is present in the system e The nonvolatile configuration setup specifies not to send Begin Normal Operation user specified hierarchy e The system is still in the startup Configure substate DCBNOSend has not been sent The DcSystem query response indicates whether the system contains a DC device If the system is found to be a DC system the DcGrantDev command is used to configure the Commander Servant hierarchy The DCBNOS
89. dependent register reads and writes RCI a CI that is supplied by National Instrument and resides in the firmware See Resource Manager a Message Based Commander located at Logical Address 0 that provides configuration management services such as address map configuration Commander Servant mappings self test and diagnostic management seconds Static Configuration or Statically Configured See Static configuration device a device that is controlled by a Commander Any device can be a Servant SC device a device that has its logical address set by static means such as by a DIP switch 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 table containing the device s logical address its Commander s logical address its secondary address slot number device class manufacturer ID number model code memory space requirement memory base address and memory size This table remains after the RM and general configuration operations are complete It is accessible through the GPIB VXI C local command set Glossary 5 GPIB VXI C User Manual Glossary V V VME VXIbus VXI pROBE mode VXI system mode W W Word Serial communication Word Serial Protocol GPIB VXI C User Manual volts Versa Module Eurocard or IEEE 1014 VMEbus Extensions for Instrumentation mode in which you can use the enhanced
90. e DINF query returns static information about a device The DCON query returns configuration information about a device The The DRES query is used RREG query and WR to perform a soft reset sequence on a device EG command are used to peek read from and poke write to registers on a VXI device National Instruments Corporation 3 33 GPIB VXI C User Manual Chapter 3 Local Command Set DCON Purpose Return system configuration information about a device or all devices Query Syntax DCON lt logical address gt If lt logical address gt is omitted DCON returns the configuration information for all devices Response Program response lt lal gt lt cla gt lt IHANS gt lt INTS gt lt status gt lt sstate gt lt com gt lt CRLF gt Console response Device configuration at Logical Address lt la gt lt CRLF gt lt CRLF gt Commander s Logical Address lt cla gt lt CRLF gt Interrupt Handlers lt IHANS gt lt CRLF gt Interrupters lt INTS gt lt CRLF gt Passed Failed Ready lt status gt lt CRLF gt Device Substate lt sstate gt lt CRLF gt Manufacturer Specific Comment lt com gt lt CRLF gt The mnemonics have the following meanings la cla THANS INTS status GPIB VXI C User Manual Device s logical address Commander s logical address Interrupt handler levels used by this device where IHANS is a 7 digit binary representing th
91. e a Static Configuration SC Message Based or possibly Register Based device If the Logical Address is set to FFh 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 either a Message Based or a Register Based VXI device Normally the GPIB VXI C should be a Message Based device In Register Based mode however the GPIB VXI C can reside virtually transparently in the VXI system for use as a debugging tool It can still access the VXIbus directly as a bus master perform Word Serial operations and GPIB transactions and use Code Instruments None of the functionality is removed however the Resource Manager does not grant any Servants to a Register Based GPIB VXI C Manufacturer Id The Manufacturer Id is set at the factory and cannot be changed Manufacturer Ids are assigned by the VXI Consortium The Manufacturer Id for National Instruments is FF6h Model Code Slot 0 Non Slot 0 You can configure the GPIB VXI C for either Slot 0 or Non Slot 0 operation According to the VXIbus specification a device configured to be in Slot 0 must have a Model Code between 000h and OFFh A device 4 4 ni com Chapter 4 Nonvolatile Configuration configured to be in a slot other than Slot 0 must have a Model Code greater than OFFh The GPIB VXI C Model Codes are assigned by National Instruments
92. e dest parameter specifies for the source data to be transmitted out the GPIB You may not specify zero in both source and dest parameters If you are writing data with GPIB as the source simply follow the 16 byte transfer which has 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 source and dest are non zero the transfer will take place without further action When either source or dest is non zero it specifies a local GPIB VXI C address as shown in Figure 5 1 GPIB VXI C User Manual B 6 ni com Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments Address FFFFFFh FFOOOOh F80000h F00000h E80000h 400000h 080000h 010000h 000000h A16 Access Window Reserved Runtime System EPROM Area 512 KB Expansion EPROM for EPROMed Code Instruments 512 KB A24 Access Window Expansion RAM Available for pSOS Region 1or User 0 5 1 5 or 3 5 MB Addresses Without RAM Installed Access Corresponding A24 Address pSOS Region 1 RAM 448 KB Reserved RAM 64 KB Figure 5 1 GPIB VXI C Local Memory Map You can use the DMAmove CI to perform any of the capabilities of the DMAmove function including moving to or from VXI A16 space VXI A24 space or local GPIB V XI C memory It can tra
93. e effect of selecting each item is described below Read in Nonvolatile Configuration The item Read In Nonvolatile Configuration reads the contents of the EEPROM into RAM GPIB VXI C User Manual 4 2 ni com Chapter 4 Nonvolatile Configuration Print Configuration Information The item Print Configuration Information displays the Nonvolatile Configuration Information from the RAM copy as shown in the following example Logical Address 0x00 Device Type Message Based Manufacturer Id OxFF6 Model Code OxOFF Slot 0 Slave Addr Spc A24 Protocol Reg OxOFFO RESET Config PBtoLocalRESET PBtoSYSRESET SYSRESETtoLocalRESET Serial Number 0x00010003 User pROBE Pars 0x000000 None Region 1 Size 0x070000 Number Procs 0x20 Number Exchgs 0x20 Number Msgs 0x180 Console Enabled RM Wait Period 2 seconds VXI Interrupt Level To Handler Logical Address 0xFF free to assign 1 0xFF 2 0xFF 3 0xFF 4 0xFF 5 0xFF 6 0xFF 7 0xXFF A24 Assign 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 GPIB Addr Avoid 0x00000000 CI Block Base 0x080000 CI Num Blocks 0x00 Resident Code Instrument Locations 0x00 00000000 0x01 00000000 0x02 00000000 0x03 00000000 0x04 00000000 0x05 00000000 0x06 00000000 0x07 00000000
94. e gt lt CRLF gt A24 A32 Memory Size lt memsize gt K lt memsize gt bytes lt CRLF gt Status State lt state gt state lt CRLF gt Forced Offline lt line status gt yes no lt CRLF gt The mnemonics have the following meanings la Device s logical address cla Commander s logical address addr Device s GPIB address 255 if not assigned GPIB address slot Slot number 255 if unknown such as if the device does not have MODID capability GPIB VXI C User Manual 3 20 ni com devclass subclass manID modelcode memspace membase memsize state line status Chapter 3 Local Command Set Device class the following values may be used 0 Memory Class 1 Extended Class 2 Message Based 3 Register Based Extended class device s subclass Manufacturer s ID number Device s manufacturer assigned model code Memory space requirement 0 A16 only 1 A16 A24 2 A16 A32 Memory base address Memory size in bytes Status state 0 Failed and not Ready 1 Passed and not Ready 2 Failed and Ready 3 Passed and Ready Online offline status 0 online 1 forced offline The program mode response format is the same for all devices However the console mode response returns only the lines that are relevant For example memory base address and memory size lines are not returned for Al6 only memory space devices Example Get RM information for a device at Logical Address 78 RmEntry 7
95. e gt lt CRLF gt Slot lt slot gt lt CRLF gt Slot 0 Logical Address lt slot0 gt lt CRLF gt Extended Subclass lt ext gt lt CRLF gt Attribute lt attr gt lt CRLF gt Manufacturer Specific Comment lt com gt lt CRLF gt The mnemonics have the following meanings la Device s logical address manid Manufacturer s ID number devclass Device class the following values may be used REG Register Based device MSG Message Based device EXT Extended Class device MEM Memory Based device memspace Memory space requirement A16 A16 A24 A16 A32 GPIB VXI C User Manual 3 36 ni com membase slot slot0 ext attr com National Instruments Corporation Chapter 3 Local Command Set Memory based address for A16 A24 A32 HHHH HHHHHH HHHHHHHH memsize Memory sizes for A16 A24 A32 HHHH HHHHHH HHHHHHHH Slot number 1 if unknown Slot 0 Logical Address 1 if unknown Extended device s subclass Memory device s attributes Not used always 3 37 GPIB VXI C User Manual Chapter 3 Local Command Set DLAD Purpose Get a list of the known logical addresses Query Syntax DLAD Response Program response lt lal gt lt la2 gt lt laN gt lt CRLF gt where lt la1 gt through lt laN gt are the known logical addresses Console response Known logical addresses are lt lal gt lt la2 gt lt laN gt lt CRLF gt CI logical addresses are terminated with an ast
96. e seven VXI interrupt levels and a 1 in each position meaning Interrupt Handler present Interrupter levels used by this device where INTS is a 7 digit binary representing the seven VXI interrupt levels and a 1 in each position meaning Interrupter present Status state of the device PASS FAIL IFAIL READY 3 34 ni com Chapter 3 sstate Substate of the device NOP CONF NONE com Not used always returns Example Get device configuration information for Logical Address 6 DCON 6 National Instruments Corporation 3 35 Local Command Set GPIB VXI C User Manual Chapter 3 Local Command Set DINF Purpose Return static system information about a device Query Syntax DINF lt logical address gt If lt logical address gt is omitted DINF returns static information for all devices Response Program response lt CRLF gt lt lal gt lt manID gt lt modelcode gt lt devclass gt lt memspace gt lt membase gt lt memsize gt lt slot gt lt slot0 gt lt ext gt lt attr gt lt com gt lt CRLF gt Console response Device configuration at Logical Address lt la gt lt CRLF gt lt CRLF gt Manufacturer ID Number lt manid gt manufacturer name lt CRLF gt Model Code lt modelcode gt lt CRLF gt Device Class lt devclass gt lt CRLF gt A16 A24 A32 Memory Space lt memspace gt lt CRLF gt A16 A24 A32 Memory Base lt membase gt lt CRLF gt A16 A24 A32 Memory Size lt memsiz
97. e type 4 4 entering in 488 VXI runtime system mode 4 2 entering nonvolatile configuration mode 4 1 GPIB VXI C User Manual Index 8 executing commands 4 2 for FAILED device 4 8 GPIB address assignment method 4 8 GPIB addresses to avoid 4 8 GPIB flags 4 8 GPIB primary 4 8 GPIB VXI C Nonvolatile Configuration Main Menu Change Configuration Information 4 9 Print Configuration Information 4 3 Quit Configuration 4 10 Read in Nonvolatile Configuration 4 2 Set Configuration to Factory Settings 4 10 Write Back Save Changes 4 10 installing EPROMed code instruments B 1 logical address 4 4 main menu display 4 2 manufacturer Id 4 4 model code Slot 0 Non Slot 0 4 4 number of pSOS message buffers 4 6 number of pSOS message exchanges 4 6 number of pSOS processes 4 6 parameters 4 1 Protocol register 4 5 pSOS configuration B 2 pSOS Region 1 size 4 5 RESET configuration 4 5 resident code instrument locations 4 9 Resource Manager wait period 4 6 serial number 4 5 Servant area 4 8 slave address space 4 5 startup mode configuration 2 12 4 1 VXI interrupt level to handler logical address 4 6 ni com numeric command parameters 3 2 NumLaddrs query 3 19 NVconf query 3 10 0 OBram query 3 11 online technical support G 1 optional equipment cables 1 1 overview code instruments 1 4 local command set 1 3 P parameters common numeric command parameters 3 2 performing self test and re
98. eMode command 3 8 contacting National Instruments G 1 conventions used in the manual xiii CPU specifications C 1 customer education G 1 professional services G 1 technical support G 1 GPIB VXI C User Manual Index D DCBNOSend command 3 25 DCGrantDev command 3 25 DCON query 3 34 DCSystem query 3 26 deleting a CI B 5 detaching all GPIB address links except to GPIB VXI C command set 3 48 determining if dynamic configured system 3 26 device error table E 2 DFI See discrete fault indicator DIAG command 3 8 diagnostic resources G 1 diagnostic tests configuration for diagnostic testing 5 1 diagnostic test structure 5 1 Group 1 RAM 5 5 Group 10 miscellaneous 5 17 Group 2 68070 CPU 5 5 Group 3 MIGA 5 6 Group 4 GPIB 5 8 Group 5 TIC 5 11 Group 6 DMA 5 16 Group 7 68881 Coprocessor 5 16 Group 8 RAM Exhaustive 5 17 Group 9 Interrupts 5 17 selecting 5 4 test names groups and test numbers table 5 2 diagnostics mode entering diagnostics mode 5 1 entering in 488 VXI runtime system 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 GPIB VXI C User Manual Index 4 discrete fault indicator switch settings figure 2 11 switch settings table 2 11 SYSFAIL status 2 10 displaying nonvolatile configuration parameter memory 3 10 Dis
99. ed 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 the query descriptions as lt CRLF gt indicates an ASCII ODh followed by OAh Error Reporting Command syntax and execution errors are reported to the port where the command originated If the program response mode is enabled the GPIB VXI C returns an error message in the following format lt error code gt lt CRLF gt The distinguishing characteristic of a program mode error message is the leading dollar sign character 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 lt error description gt lt CRLF gt If both response modes are enabled the program mode error message is returned first followed by the console mode message The Help Query The Help query is a quick online reference to the syntax and functionality of the GPIB VXI C local command set GPIB VXI C User Manual 3 4 ni com Help Chapter 3 Local Command Set Purpose List syntax and descriptions of local command set Query Syntax Help lt type gt lt type gt or Help lt type gt lt type gt lt 1 11 lt type gt is the category of command information requested as follows he Help al All gc Gene
100. eeeeees 2 21 Non Slot 0 Message Based Device Configuration Non Resource Manager eccesscescesseceseceseeeseeeseeescecsaeeseeseaeeeeeeseeeentes 2 21 Non Slot 0 Message Based Device Operation 0 00 00 cierto 2 22 Front Panel LED Indications for Message Based Device Operatl Deisi nipo a aa n a aa 2 22 Slot 0 Message Based Device Configuration ssesessessseessereresreresresesrrsrseesee 2 23 Slot 0 Message Based Device Operation ssssesseeerseesrserreeerrerersee 2 24 Local Command Set Command Set ACCESS serion a ee A E R E teat E T E EENE 3 2 Command Syntaksi asa nn a E in ee eee 3 2 Command Line TerminattOm nmre torra i on ce sass EEO E ER 3 3 Command and Query Responses sesessseseseesrsresrestsrestsetsestssrsresresesresreresrestnrrsrrererent 3 3 Command Response Format hinrere iirin heat E EE E O E EA SEE 3 4 Query Response Format sooter u E A E eid et ee 3 4 Error Reportin Snor bes Ses ce cen teach EREK A TEE T REE 3 4 The Help Query i sites ek ok he inka ata eine aa ai tine 3 4 lel yt es ETET ete he Sate N las EE EEE E ved 3 5 General Configuration Commands and Quesies eceeeeeeseeseeseeseesseeseeneeeseeseseseenees 3 6 CONE n a sosis at Aaea e tet Sittin ch a Sates Sosa ecate OEA R 3 7 Console Ena iid etn BONIS Mee Gini aed dese 3 7 CONS MODE serenat ev Pectu dest cuseedvsd suneeasstecteus sdesuevarsevedeesece earen eanta s 3 8 DIA Girt eso Seah ee ss So lhe ete ee ee 3 8 DPraAN es eee iare Bove ct
101. emory Query Syntax NVconf Response The contents of the onboard EEPROM are displayed in the following format Ze E Nonvolatile Configuration Information ZASE Logical Address 0x 0 Device Type Message Based Manufacturer Id Oxff6 Model Code Ox Slot 0 Slave Addr Spc A24 Protocol Reg Ox 0 RESET 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 Interrupt Level To Handler Logical Address 0xff free to assign 1 0xf ZOXEE 3 0xf 4 0xff 5 0xff 6 0xfft 7 0xff A24 Assign Base 0x200000 A32 Assign Base 0x20000000 DC Starting LA 0x 1 BNO YES For FAILED Dev DO set Reset Bit Servant Area 0x 0 GPIB Primary Ox 1 GPIB Addr Assgn Default GPIB Flags NAT4882 DMA CI Block Base 0x 80000 CI Num Blocks 0 Resident Code Instrument Locations 0 0 1 0 2 0 3 0 4 0 o 5 0 6 0 7 0 8 0 9 0 a 0 b 0 GPIB VXI C User Manual 3 10 ni com Chapter 3 Local Command Set CI Nonvolatile User Configuration Variables 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 0 OBram Purpose
102. end command is used to end the DC phase and to cause the system to enter normal operation GPIB VXI C User Manual 3 24 ni com Chapter 3 Local Command Set DCBNOSend Purpose Cause a DC system to exit the Configure substate and enter the Normal Operation substate Command Syntax DCBNOSend Action Send the Begin Normal Operation command to all top level Commanders DCGrantDev Purpose Grant a device to a Message 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 Operation substate Command Syntax DCGrantDev lt Commander s logical address gt lt Servant s logical address gt Action DCGrantDev sends the Device Grant command to the Commander at lt Commander s logical address gt granting it the device at lt Servant s logical address gt Example Grant Servant at Logical Address 7 to Commander at Logical Address 5 DCGrantDev 5 7 National Instruments Corporation 3 25 GPIB VXI C User Manual Chapter 3 Local Command Set DCSystem Purpose Determine if the system is a DC system A system is DC if it has at least one DC device Query Syntax DCSystem Response Program response 1 lt CRLF gt if it is a DC system or 0 lt CRLF gt if it is not a DC system or if it is no longer dynamically configurable because the Begin Normal Operation comm
103. endor then you need to configure NI VISA to find such a controller Use the NI VISA configuration utility MAX on Windows visaconf on UNIX and explicitly add 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 primary and secondary addresses to which you have configured this GPIB VXI controller GPIB VXI Summary GPIB VXI C User Manual In summary using VISA and the NI VISA CI to program VXI devices controlled by a GPIB VXtI is the fastest easiest and highest performance way to develop and deploy your GPIB VXI application Although porting the code from NI 488 to VISA is not simple in the case of register based programming it will be high performance code that is compatible with native VXI controllers A 4 ni com Using the DMAmove and CDS 852 Adapter Code Instruments This appendix contains instructions for installing and using the National Instruments supplied 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 My Note The NI VISA CI is the recommended way to perform DMA with your GPIB VXI The main purpose of
104. ent Method 0 0 0 eee eeeeseeseeeeesseneeeneeeees 4 8 GPIB Flap Siira ieena ap dives i aaaea oa a E RAT EEAS 4 8 GPIB Addresses to Avoid s essessseessessseesseersresresreresresrsresenersrenenes 4 8 Code Instrument Block Base essesesseeeeeesseererrsresrsresresesresrsersresre 4 9 Code Instrument Number of RAM Blocks s ssssessseeseeseeesersrrerseeee 4 9 Resident Code Instrument Locations sssesessereseeresesrrsrsrrsrerrsresrseee 4 9 Code Instrument Nonvolatile User Configuration Variables 4 9 Change Configuration Information cccccccsceccsesseescescnsenecneseeesenseseneaes 4 9 Set Configuration to Factory Settings 0 0 eee ee ceeeceeseceeeceeeeeeeeeeeeeseeeeees 4 10 Write Back Save Changes c ccicscicsssscascesscsssasvaneessoessvescesscaeenssnstecssecaanavants 4 10 Quit Conf Surat omc sss ectes seksi ni a EAE a ne sede dl cabal ccsuees R i y 4 10 Chapter 5 Diagnostic Tests Configuration for Diagnostic Testing 0 0 cece eseeseceseeseeeseesecesecesesecseensetseeeseesees 5 1 Diagnostic TestS trucuite ccs cce5ssech sev eea EE dun dest ERER EE tines teepucbou eevee 5 1 Diagnostics Mode Selection irsini oneens esnin e rioak ns eE iE N 5 2 Diagnostic Test Selecta On orio rea ses dives sus sig E TAERAA AREKE E AE EE Ei 5 4 Diagnostic Test Groups ce teases sos a a E OV ANSEES ENEN Sa AEAT TEINE i RT 5 5 Group IRAM onone E E R E e REAN 5 5 Group 2 680 70 CPU Naaa a eiei ee e eraan 5 5 Group 3 MIGA
105. erisk in the console mode response Example Get a list of the known logical addresses DLAD GPIB VXI C User Manual 3 38 ni com Chapter 3 Local Command Set DNUM Purpose Get the number of the known logical addresses Query Syntax DNUM Response Program response lt num las gt lt CRLF gt where lt num las gt is the number of known logical addresses Console response There are lt num las gt known Logical Addresses lt CRLF gt Example Get the number of the known logical addresses DNUM National Instruments Corporation 3 39 GPIB VXI C User Manual Chapter 3 Local Command Set DRES Purpose Perform a soft reset sequence on a device Query Syntax DRES lt logical address gt lt sysfail flag gt 3 Note If the device stays failed for five seconds after the soft reset sequence lt sysfail flag gt determines whether or not the device is kept sysfail inhibited Response Program response lt status gt lt CRLF gt Console response Logical Address lt logical address gt is lt status gt SYSFAIL Inhibit is lt state gt lt CRLF gt where lt status gt is one of the following PASS FAIL IFAIL READY and lt state gt is one of the following ON OFF Example Soft reset device at Logical Address 3 DRES 3 GPIB VXI C User Manual 3 40 ni com Chapter 3 Local Command Set RREG Purpose Read a 16 bit VXI register from a device Query S
106. es of operations e System configuration and control Help General configuration Resource Manager RM information extraction Dynamic system configuration and reconfiguration VXI defined Common ASCII System Commands GPIB address configuration VXIbus interrupt handler configuration TEEE 488 2 common commands e Instrument development and test Sy Note VXIbus access VXI TTL ECL trigger access Word Serial communication National Instruments no longer supports Code Instrument CI development For more information about CI use and development see the KnowledgeBase link at ni com documents 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 National Instruments Corporation 3 1 GPIB VXI C User Manual Chapter 3 Local Command Set Command Set Access You can execute the local commands from the following ports e RS 232 e GPIB e 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 You can use local commands to disable and re enable each port s access to the local command set The RS
107. essages The GPIB VXI C informs you if any errors have occurred after all the tests you selected have completed To view the errors select r to display the error log Select c to clear the error log Single Step Toggle is another useful feature you can use to pinpoint problems 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 Diagnostic Test Selection GPIB VXI C User Manual If you select the Default Diags all option or the Over Night Loop option the appropriate tests begin immediately The default option performs all of the tests while the Over Night Loop option performs all except the interactive tests and tests that drive signals on the VXIbus When you select either the Tests or the Test Groups option a new menu appears from which you can select any or all tests or test groups The following example shows the Test Selection menu The Test Group Selection menu is very similar GROUP GROUP TEST NOs NAME NUM FROM TO RAM 1 1 4 68070 I2C 2 5 7 68070 UART 2 8 20 68070 TIMER 2 T9 21 MIGA 3 22 44 GPIB NAT4882 4 45 99 GPIB TURBO 488 4 100 132 TIC 5 133 236 DMA 6 237 247 MC68881 7 248 248 RAM exhaustive 8 249 250 INTERRUPTS 9 251 253 MISC TESTS 10 254 263 5 4 ni com e g Enter Chapte
108. ested has secondary address link 127 CI Memory requested for DCI Word Serial structures is unavailable 128 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 CT s servant 130 CI Stack size requested for worker process exceeds FFFFh words 301 Trigger No Trigger hardware support for this operation 302 Trigger Invalid Controller for trigger functions 303 Trigger Invalid Trigger line External line or protocol 304 Trigger Trigger line not supported 305 Trigger Trigger protocol not supported 306 Trigger Wait period exceeded timeout occurred 307 Trigger Line already configured must unconfigure to configure 308 Trigger Source line not supported 309 Trigger Destination line not supported for this source 310 Trigger Invalid configuration mode 311 Trigger Line already mapped must unmap to map GPIB VXI C User Manual E 4 ni com Appendix E Error Codes Table E 1 Error Codes Continued Error Number Type Description 312 Trigger Line has not been configured mapped for this operation 313 Trigger Invalid count TICK 0 through 32 CNTR 0 through 65 535 314 Trigger Invalid 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 overrun too many triggers received 33068 Trigger Trigger unassertion overrun too many tr
109. et Primary Purpose Get a GPIB primary address Query Syntax Primary Response Program response lt primary address gt lt CRLF gt where lt primary address gt is the GPIB primary address of GPIB VXI C Console response The GPIB primary address for Secondary Address mode of this GPIB VXI is lt primary address gt lt CRLF gt GPIB VXI C User Manual 3 46 ni com Chapter 3 Local Command Set SaddrLa Purpose Get the logical address that a GPIB address is attached to Query Syntax SaddrLa lt GPIB address gt Response Program response lt logical address gt lt CRLF gt where lt logical address gt is the logical address 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 lt type gt Address lt GPIB address gt is attached to Logical Address lt logical address gt lt CRLF gt for a GPIB address that is attached to a logical address or GPIB lt type gt Address lt GPIB address gt is NOT attached to a Logical Address lt CRLF gt for a GPIB address that is not attached to any logical address Example Get the logical address attached to GPIB Address 9 SaddrLa 9 National Instruments Corporation 3 47 GPIB VXI C User Manual Chapter 3 Local Command Set Saddrs Purpose Get a list of GPIB addresses in use Query Syntax Saddrs Response Program response lt sal gt
110. f TTL line 4 DisTrigSense 4 GPIB VXI C User Manual 3 68 ni com Chapter 3 Local Command Set EnaTrigSense Purpose Enable the sensing of the specified TTL ECL trigger line or starts up the counter or tick timer for the specified protocol Query Syntax EnaTrigSense lt line gt lt protocol gt where the value of lt line gt corresponds to the trigger line on which to enable sensing Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 50 TIC counter 60 TIC TICK timers and the value of lt protocol gt specifies the protocol to use Value Protocol 2 START 3 STOP 4 SYNC 5 SEMI SYNC 6 ASYNC National Instruments Corporation 3 69 GPIB VXI C User Manual Chapter 3 Local Command Set Response Program response 0 Console response Trigger sense enabling line lt line text gt protocol lt protocol text gt complete lt CRLF gt where the meaning of lt line text gt corresponds to the value of lt line gt as follows Value of lt line gt Value of lt line text gt 0 to7 TTL lt line gt 8 to9 ECL lt line gt 8 50 TCNTR 60 TICK 1 and the meaning of lt protocol text gt corresponds to the value of lt protocol gt as follows Value of lt protocol1 gt Value of lt protocol text gt 2 START 3 STOP 4 SYNC 5 SEMI SYNC 6 ASYN
111. f the VXI system VXI Interrupt Level to Handler Logical Address This is a table of logical addresses the Resource Manager can use during resource management of the VXI interrupt lines If an interrupter is hard configured not a VXI programmable interrupter place the logical address of the interrupt handler device in the corresponding level If an interrupt handler is hard configured not a VXI programmable handler place its logical address in the corresponding level to avoid conflicts with other programmable handlers and also to permit the Resource Manager to assign programmable interrupters to the correct levels If all interrupters and interrupt handlers are programmable you can keep the value of FFh for all entries in the table 4 6 ni com 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 You can use this field to avoid conflicts with VME devices that use A24 address space In addition 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 A24 bus masters to see addresses from 200000h to
112. format 3 4 RM information queries 3 14 TTL ECL trigger access commands 3 65 VXIbus interrupt handler configuration commands and queries 3 49 VXI defined common ASCII system commands 3 33 Word Serial communication commands and queries 3 92 local memory map figure B 7 logical address configuring 2 4 MANTIS custom ASIC accessing and controlling VXI triggers F 1 GPIO connections F 1 mapping specified trigger line to another 3 72 mapping trigger interrupt to GPIB SRQ 3 87 MapTrigTrig command 3 72 message based programming with VISA A 1 GPIB VXI C User Manual Index metal enclosure accessing switches and jumpers 2 3 National Instruments customer education G 1 professional services G 1 system integration services G 1 technical support G 1 worldwide offices G 1 NI 488 messages equivalent to VISA operations A 2 NI VISA configuration utility MAX A 4 using with GPIB VXI devices A 3 Non Slot 0 Message based device configuration front panel LED indications 2 22 operation summary 2 22 switch and jumper settings table 2 22 Non Slot 0 Resource Manager configuration operation summary 2 21 switch and jumper settings table 2 21 nonvolatile configuration A24 assign base 4 7 A32 assign base 4 7 BNO 4 7 code instrument block base 4 9 code instrument nonvolatile user configuration variables 4 9 code instrument number of RAM blocks 4 9 console 4 6 DC starting logical address 4 7 devic
113. frame typically consists of a board assembly and its associated mechanical parts front panel optional shields and so on A module contains everything required to occupy a slot in a mainframe A module can occupy one or more slots Most Significant Bit mode in which you can edit the contents of the nonvolatile EEPROM memory nonvolatile memory to read the contents Programmable Handler Position Independent to write a value a low level interactive debugger for use with the pSOS operating system It is commercially available from Software Components Group Inc VXI pROBE is an enhanced version of pROBE supplied on developmental versions of the GPIB VXI C has a terse data only format that is intended for a control program to read and parse a small multitasking operating system kernel used on the GPIB VXI C It is commercially available from Software Components Group Inc Glossary 4 ni com Query R RCI Register Based Device Resident CI RM Resource Manager SC SC Device Servant Static configuration device System configuration table National Instruments Corporation Glossary 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 a Servant only device that supports VXIbus configuration registers Register Based devices are typically controlled by Message Based devices via device
114. g function Query Syntax UMapTrigTrig lt srcTrig gt lt destTrig gt where lt srcTrig gt is the source line to unmap from a destination and the value of lt destTrig gt corresponds to the destination line mapped from the source Value Trigger Line 0 to7 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 40 Front panel In connector 1 41 Front panel Out connector 2 42 Front panel In unbuffered 43 Connection to EXTCLK input pin 44 to 49 Hardware dependent GPIOs 4 to 9 50 TIC counter pulse output TCNTR 51 TIC counter finished output GCNTR 60 TIC TICK1 tick timer output 61 TIC TICK2 tick timer output National Instruments Corporation GPIB VXI C User Manual Chapter 3 Local Command Set Response Program response 0 Console response Unmapping complete line lt line text source gt unmapped from line lt line text destination gt lt CRLF gt where the meaning of lt line text source gt and lt line text destination gt correspond to the value of lt srcTrig gt and lt destTrig gt Value of lt srcTrig gt Value of lt line text source gt or lt destTrig gt or lt line text destination gt Oto7 TTL lt line gt 8 to9 ECL lt line gt 8 40 to 49 GPIO lt line gt 40 50 TCNTR 51 GCNTR 60 TICK1 61 TICK2 Example Unmap route of TTL l
115. g the nonvolatile memory configuration utility as described in the Change Configuration Information section of Chapter 4 Nonvolatile Configuration You can also change the logical address by setting DIP switch SW1 By default all the switches are set to the Up position OxFF 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 position 1 is the MSB 8 is the LSB Up is logical 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 Table 2 2 Installed RAM Configuration Installed Memory Size Switch S6 Setting Switch S7 Setting 512 KB OFF OFF 1 MB OFF ON 2 MB ON OFF 4 MB ON ON GPIB VXI C User Manual 2 4 ni com Chapter 2 Configuration and Startup Procedures Table 2 3 shows the relationship between the amount of installed memory the local address range occupied by the memory and the range of VXI A24 addresses accessible by the GPIB VXI C as a bus master Table 2 3 GPIB VXI C CPU Local and A24 Memory Ranges Installed Memory Accessible VXI A24 Installed Local Address Range Address Range Memor
116. he NVconf query returns the contents of the onboard nonvolatile memory CONF reboots the GPIB VXI C and enters the nonvolatile configuration editor DIAG reboots the GPIB VXI C and enters diagnostic mode The OBRAM query can be used to determine the amount of GPIB VXI C installed RAM and the DPRAM query returns the amount of the installed RAM that is shared with VXI A24 space GPIB VXI C User Manual 3 6 ni com Chapter 3 Local Command Set CONF Purpose Reboot into nonvolatile configuration mode Command Syntax CONF Example Reboot into nonvolatile configuration mode CONF ConsoleEna Purpose Enable or disable the RS 232 port as the console Command Syntax ConsoleEna lt Boolean gt Action If lt Boolean gt is TRUE ConsoleEna sets the RS 232 port to be a local command set input If lt Boolean gt is FALSE ConsoleEna disables the RS 232 port connection to the local command set Notice that once the console has been disabled it must be re enabled from a command source other than the RS 232 port such as the GPIB port Examples Disable console ConsoleEna 0 Enable console ConsoleEna 1 National Instruments Corporation 3 7 GPIB VXI C User Manual Chapter 3 Local Command Set ConsMode Purpose Enable or disable the console data mode Command Syntax ConsMode lt Boolean gt Action If lt Boolean gt is TRUE ConsMode enables console format responses for the com
117. he query response the intermediate state of the device can be examined using the RespReg query after which the response can be read using the WSresp query GPIB VXI C User Manual 3 92 ni com Chapter 3 Local Command Set You can use the WSstr command to send device dependent 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 Prot Err query sends a Read Protocol Error Word Serial query to a device and reports the error response The RespReg query returns the value of a device s response register National Instruments Corporation 3 93 GPIB VXI C User Manual Chapter 3 Local Command Set ProtErr Purpose Send a Read Protocol Error Word Serial query to a Message Based device Query Syntax ProtErr lt log addr gt Action Read Protocol Error query is sent to a Message Based device Response is read and reported Response Program response lt hex value gt lt CRLF gt where lt hex value gt is the hexadecimal value of the Data Low register response Console response Read Protocol Error for Logical Address lt log addr gt returned 0x lt hex value gt lt description gt where lt description gt is text explaining the error response Example ProtErr 3 GPIB VXI C User Manual 3 94 ni com Chapter 3 Local Command Set RespReg Purpose Get the Response register
118. hed National Instruments Corporation 4 7 GPIB VXI C User Manual Chapter 4 Nonvolatile Configuration GPIB VXI C User Manual For FAILED Device The VXIbus specification requires Commanders to Sysfail Inhibit a Servant device that has failed asserted the SYSFAIL line and the Passed bit in its Status register The specification permits Commanders to also set the reset bit of a failed device This parameter specifies which method to use Servant Area This parameter specifies what Servant area value to return to the Resource 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 The choices are as follows e Default 0 for multiple secondary addressing 1 for multiple primary addressing e Always a particular GPIB address e No GPIB address GPIB Flags e MultPrimary Multiple primary addressing mode is set e MultSecond Multiple secondary addressing mode is set e Others These flags are for information purposes only do not modify GPIB Addresses to Avoid This is a 32 bit bit mask of GPIB addresses to avoid during address assignment for either multiple primary or multiple seco
119. ice 59 Device Device is already a servant 60 Device Device is not commander of servant 61 Device Register offset out of range 0 through 3Eh 62 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 range 103 CI Block s requested are used 104 CI Block s requested do not exist 105 CI Servant s requested do not exist 106 CI Servant s requested are not servants of the GPIB VXI C or another DCI 107 CI Commander requested does not exist 108 CI Servant s requested do not have the same commander 109 CI Requested zero blocks 110 CI Logical address referenced is not a DCI 111 CI DCI base address is out of range 112 CI DCI area new base address is not a multiple of 4 096 National Instruments Corporation E 3 GPIB VXI C User Manual Appendix E Error Codes Table E 1 Error Codes Continued Error Number Type Description 113 CI DCI area request exceeds available memory 114 CI Attempted to change DCI area while DCIs were installed 116 CI DCI was not found 117 CI Logical address referenced is not a DCI 120 CI Error encountered while spawning DCI process es 121 CI Error encountered while creating Asynch process exchange 122 CI No DCI initialization information need to do DCISetup query 123 CI Download timed out 125 CI Download overflowed requested blocks 126 CI Servant s requ
120. iggers received 33076 Trigger Trigger pulse stretch overrun too many triggers received National Instruments Corporation E 5 GPIB VXI C User Manual GPIB VXI C VXI Trigger Support This appendix contains an overview of the VXI triggering capabilities of the GPIB VXI C The GPIB VXI C contains a custom ASIC designed by National Instruments called the MANTIS The MANTIS gives direct access control to the VXI trigger lines as well as some unique hardware features such as a 16 bit counter timer a dual 5 bit tick timer and a 10 by10 crosspoint switch matrix It also includes some minimal signal conditioning such as signal inversion variable pulse stretching and synchronization with a clock source The MANTIS supports all VXI defined trigger protocols on the eight VXI TTL trigger lines and the two P2 connector 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 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 connections you can generate a square wave on any or all of the backplane trigger lines By using the dual 5 bit tick timers you can divide any of these frequencies down to a lower frequency You can also disconnect a GPIO from its external connection and use it a
121. iguration Set in nonvolatile configuration GPIB VXI C User Manual 2 14 ni com Chapter 2 Configuration and Startup Procedures Table 2 8 CLK10 Routing Options Switch S15 Switch S59 Function OFF OFF CLK10 sourced from onboard clock ON OFF CLK10 and EXT CLK connector sourced from onboard clock OFF ON CLK10 sourced from an external clock via the EXT CLK connector ON ON 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 Front Panel LED Indications for RM Operation The five front panel LEDs are SYSFAIL FAILED TEST ON LINE and ACCESS The GPIB VXI C uses the FAILED TEST and ON LINE LEDs to indicate the progress of its self initialization self test and RM functions The LED indications are shown in Table 2 9 A 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 are identical for Slot 0 Resource Manager and Non Slot 0 Resource Manager operation Table 2 9 Front Panel LED Indications for RM Operation Sequence FAILED TEST ON LINE State Point of Failure 1 OFF OFF OFF No power Failed before self test 2 ON OFF OFF In se
122. ill cause the first GPIB address to be replaced by the new GPIB address Attempting to release or change a GPIB address will result in a Delete I O Link error if any of the following conditions is true e The GPIB address does not exist e The GPIB address is addressed to talk or listen unable to delete e 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 Chapter 3 Local Command Set LaSaddr Purpose Get the GPIB address attached to a logical address Query Syntax LaSaddr lt logical address gt Response Program response lt GPIB address gt lt CRLF gt where lt GPIB address gt is the GPIB address attached to the logical address A value of 255 indicates that no GPIB address is attached to the logical address Console response Logical Address lt logical address gt is attached to GPIB lt type gt Address lt GPIB address gt lt CRLF gt for logical addresses with attached GPIB addresses or Logical Address lt logical address gt is NOT attached to a GPIB lt type gt Address lt CRLF gt for logical addresses without attached GPIB addresses Example Get the GPIB address attached to Logical Address 9 LaSaddr 9 National Instruments Corporation 3 45 GPIB VXI C User Manual Chapter 3 Local Command S
123. ine 4 to go out of the front panel as mapped by MapTrigTrig UMapTrigTrig 4 49 GPIB VXI C User Manual 3 90 ni com Chapter 3 Local Command Set WaitForTrig Purpose Wait for the specified trigger line to be sensed for the specified time EnaTrigSense must be called to sensitize the hardware to the particular trigger protocol to be sensed Query Syntax WaitForTrig lt line gt lt timeout gt where the value of lt 1line gt corresponds to the trigger line to wait for Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 50 TIC counter 60 TIC TICK tick timer Response Program response 0 Console response Trigger received line lt line text gt wait complete lt CRLF gt where the meaning of lt line text gt corresponds to the value of lt line gt as follows Value of lt line gt Value of lt line text gt 0 to7 TTL lt line gt 8 to9 ECL lt line gt 8 50 TCNTR 60 TICK1 Example Wait for TTL line 4 to be encountered WaitForTrig 4 10000 National Instruments Corporation 3 91 GPIB VXI C User Manual Chapter 3 Local Command Set Word Serial Communication Commands and Queries These Word Serial communication commands and queries are described in the following sections a ProtErr RespReg WScmd WScmd WSresp WSstr WSstr You can use these commands to directly gener
124. ing 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 steps as previously described in the Static Configuration Operation section DC devices are treated as SC devices from this point on 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 The outside controller can then create the DC Commander Servant hierarchy without having to dynamically reconfigure the system Use the GPIB VXI C local command DcGrantDev to create the DC hierarchy When the system is configured and ready to make a transition to the Normal Operation sub state send the GPIB VXI C local command DCBNOSend DCBNOSend sends the Identify Commander and Begin Normal Operation commands to Message Based devices as previously described in the Static Configuration Operation section Refer to the Dynamic Configuration Commands and Queries section of Chapter 3 Local Command Set for more information about dynamic configuration operation The GPIB VXI C then performs general configuration operations The GPIB VXI C creates GPIB address links for its immediate Message Based 2 18 ni com Chapter 2 Configuration and Startup Procedures
125. la0 gt lt clal gt lt cla2 gt lt cla3 gt lt cla4 gt lt cla254 gt lt CRLF gt where lt clan gt is either the Commander s logical address for Logical Address N or 0 for top level Commanders and unused logical addresses Notice that no value is returned for Logical Address 255 Console response Known Hierarchy is as follows lt CRLF gt Logical address lt lal gt has Servants lt sal 1 gt lt sal M gt lt comment gt lt CRLF gt Logical address lt la2 gt has Servants lt sa2 1 gt lt sa2 M gt lt comment gt lt CRLF gt e e Logical address lt laN gt has Servants lt saN 1 gt lt saN M gt lt comment gt lt CRLF gt where lt la X gt isa valid logical address with Servant addresses lt sa x 1 gt through lt sal M gt The lt comment gt field indicates any relevant information about the status and or capabilities of the device at Logical Address lt lax gt GPIB VXI C User Manual 3 18 ni com Chapter 3 Local Command Set Laddrs Purpose Get a list of the known logical addresses Query Syntax Laddrs Response Program response lt lal gt lt la2 gt lt laNn gt lt CRLF gt where lt la1 gt through lt law gt are the known logical addresses Console response Known logical addresses are lt lal gt lt la2 gt lt laN gt lt CRLF gt CI logical addresses are terminated with an asterisk in the console mode response NumLaddrs Purp
126. latile configuration mode 3 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 National Instruments Corporation 2 21 GPIB VXI C User Manual Chapter 2 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 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 22 OFF VXI BTO disabled Switch 23 OFF Bus arbiter and SYSCLK disabled CLK10 receiving from backplane Switch 24 OFF MODID pulled down Logical Address Refer to Chapter 4 Logical address is not equal to 0 Set in Nonvolatile Configuration nonvolatile configuration or by using DIP switch SW1 Non Slot 0 Refer to Chapter 4 Model code is set to the Non Slot 0 Model Code Nonvolatile Configuration value Set in nonvolatile configuration Servant Area Refer to Chapter 4 Set appropriate Servant area size Size Nonvolatile Configuration Set in nonvolatile configuration GPIB VXI C User Manual Non Slot 0 Message Based Device Operation At startup a GPIB VXI C
127. le 2 24 switch and jumper settings table 2 23 Slot 0 Resource Manager configuration assigning GPIB addresses 2 19 CLK10 routing options table 2 15 dynamic configuration operation 2 18 front panel LED indications 2 15 operation 2 15 Resource Manager operation summary 2 16 self test operation 2 16 static configuration operation 2 18 switch and jumper settings table 2 14 system configuration table 2 20 startup mode configuration 2 12 system startup message printing 2 14 68070 DMA channels B 1 73A 852 See CDS 852 CI 852 adapter CI See CDS 852 CI A A16 command 3 62 A16 query 3 62 A24 address range based on installed memory size table 2 5 A24 command 3 63 A24 query 3 64 A24MemMap command 3 15 GPIB VXI C User Manual Index A32MemMap command 3 16 absolute addressing A 3 accessing local commands 3 2 acknowledging TTL ECL or GPIB trigger 3 67 AckTrig command 3 67 address modifier signals for A16 and A24 accesses 2 11 switch settings figure 2 12 AllHandlers query 3 50 AssgnHndlr command 3 51 assigning control of Word Serial registers 3 13 assigning VXIbus interrupt level to GPIB VXI C interrupt handler 3 51 attaching detaching GPIB address to a logical address 3 44 Broadcast query 3 28 broadcasting dynamic commands 3 28 C cables ordering cables from National Instruments 1 1 caution about installing EPROM 2 9 avoiding electrostatic damage 1 2 building cable for R
128. le with the 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 The Aand B commands set the CI read mode for compatibility with the CDS instrument Some CDS command responses are in ASCII format while others are in binary format Refer to the appropriate CDS manual for the response format of a particular command 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 termination conditions can apply to reading data from the 73A 852 Depending upon the 73A 852 configuration and the operation being performed the 852 may terminate the transmission of data with an end of string EOS character or it may assert the END bit VMEbus data bit 8 The E T and t commands configure the CI termination conditions The EOS and END bit termination conditions are independent that is you can configure the CI to terminate a read from the 73A 852 on one condition both conditions or neither condition In addition you can limit the maximum size of binary mode reads with the S command Notice that with binary responses there can be no unique EOS character so you should use the END or transfer size conditions not EOS to terminate binary tran
129. lf initialization Failed in self test 3 ON ON OFF In self test National Instruments Corporation 2 15 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures Table 2 9 Front Panel LED Indications for RM Operation Continued Sequence FAILED TEST ON LINE State Point of Failure 4 OFF ON ON Performing RM 5 OFF OFF ON Online ON ON ON Failed Failed while in RM ON OFF ON Failed Failed while online OFF ON OFF In nonvolatile configuration or diagnostics mode 3 The SYSFAIL LED is lit whenever any device in the system is asserting the VXIbus SYSFAIL signal The ACCESS LED flashes whenever the GPIB VXI C is accessed from the GPIB or from the VXIbus It also indicates when its MODID is asserted Self Test Operation The self test sequence tests the basic functionality of many GPIB VXI C components including EPROM RAM IC bus RS 232 port DMA channels GPIB port interrupt logic timer and VXIbus registers MIGA You can execute full tests of the GPIB VXI C in diagnostics mode as described in Chapter 5 Diagnostic Tests RM Operation The RM waits until all devices have stopped driving the VXIbus SYSFAIL signal or until five seconds have elapsed after the VXIbus 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 sec
130. ls viOpen with the VXI device s logical address which is a more natural address National Instruments Corporation A 1 GPIB VXI C User Manual Appendix A Using the NI VISA Code Instrument because the device is VXI to get a handle to it The simplest and most common GPIB VXI resource string is GPIB VXI lt logical address gt INSTR Once you have a session to the VXI device the NI 488 and VISA calls to communicate with the device are very similar Register Based Access with VISA GPIB VXI C User Manual Because register accesses using the GPIB VXI involve sending requests to the controller itself using the local command set NI 488 programs would use ibdev with the GPIB VXI controller s primary and secondary 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 controller For programming the device the following NI 488 messages and VISA operations are roughly equivalent Table A 1 Register based Programming Messages and Operations NI 488 Message VISA Operation Laddrs viFindRsrc or DLAD RMentry viGetAttribute or DINF Cmdr viGetAttribute with VI_LATTR_CMDR_LA LaSaddr viGetAttribute with VI_ATTR_GPIB_SECONDARY_ADDR Primary viGetAttribute with VI_ATTR_GPIB_PRIMARY_ADD
131. lt la gt did not recognize the command 6 Multiple query error 10 Read Protocol error not supported 13 Read Ready RR violation 14 Write Ready WR violation National Instruments Corporation 3 29 GPIB VXI C User Manual Chapter 3 Local Command Set None of the other bits has significance in this context lt ws error gt is a string explaining the Word Serial error as shown in the previous table 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 Chapter 3 Local Command Set GrantDev Purpose Grant a Servant to a Commander Query Syntax GrantDev lt Commander s logical address gt lt Servant s logical address gt Action Grants the device at lt Servant s logical address gt to device at lt Commander s logical address gt The GPIB VXI C must own the device at lt Servant s logical address gt 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 followed by the Abort Normal Operation query should have been broadcast with the Broadcast query Response Program response 0 lt CRLF gt indicates that the command was successful Console response Logical Address lt Commander s logical address gt granted device at Logical Address lt Servant s logical address gt Example Grant Device 16 t
132. m to dev even addresses 239 Poll test burst words mem to dev from even addresses 240 Poll test cycle steal words mem to dev even addresses 241 Poll test burst bytes mem to dev from odd addresses 242 Poll test cycle steal bytes mem to dev odd addresses 243 Poll test burst bytes dev to mem from even addresses 244 Poll test burst words dev to mem from even addresses 245 DMA interrupt test 246 Minimum functionality test 247 Maximum transfer test 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 Test Number Test Description 248 Test floating point coprocessor GPIB VXI C User Manual 5 16 Chapter 5 Diagnostic Tests Group 8 RAM Exhaustive This exhaustive RAM test checks the entire onboard RAM and the address and data paths Table 5 10 gives the test numbers and names of the exhaustive RAM tests Table 5 10 RAM Exhaustive Tests Test Number Test Description 249 Data path test exhaustive 250 Address path and cell test exhaustive Group 9 Interrupts This group tests the GPIB and MIGA local interrupts Table 5 11 gives the test numbers and names of the Inte
133. mal Operation substate by using the Broadcast query to broadcast the Identify Commander and Begin Normal Operation Word Serial commands National Instruments Corporation 3 27 GPIB VXI C User Manual Chapter 3 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 lt Boolean gt lt ws cmd gt If lt Boolean gt is 1 the GPIB VXI C broadcasts lt ws cmd gt to all top level Commanders If lt Boolean gt is 0 it broadcasts lt ws cmd gt to its Message Based Servants Notice that the 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 device in response to ANO or ENO lt ws cmd gt is amnemonic as follows lt ws cmd gt Word Serial Command Name Type ANO Abort Normal Operation Query BNO Begin Normal Operation Query CLR Clear Command ENO End Normal Operation Query IDN Identify Commander Command Response Program response lt CRLF gt if the command was successful or lt la gt lt cmd val gt lt ws response gt lt ws error code gt if the command failed Console response Done broadcasting Word Serial command lt Word Serial command name
134. mand source issuing the command If lt Boolean gt is FALSE ConsMode disables 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 console response mode from the GPIB port does not affect the response mode on the serial port 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 3 8 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 lt A24 A32 starting address gt lt shared RAM size gt lt CRLF gt Console response This GPIB VXI has lt shared RAM size gt K bytes dual ported to A24 A32 Address lt A24 A32 hex starting address gt lt CRLF gt where lt A24 A32 starting address gt is the shared RAM base address in decimal integer format lt shared RAM size gt isin KB lt A24 A32 hex starting address gt is in C language hexadecimal format National Instruments Corporation 3 9 GPIB VXI C User Manual Chapter 3 Local Command Set NVconf Purpose Display the contents of the nonvolatile NV configuration parameter m
135. message printing 2 14 T technical 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 National Instruments Corporation Index TrigAsstConf command 3 79 TrigCntrConf command 3 81 TrigExtConf command 3 83 trigger input connector D 4 trigger output connector D 5 triggers controlling with GPIB V XI mainframe backplane resource A 3 error table E 4 TrigTickConf command 3 85 TrigToREQT command 3 87 troubleshooting resources G 1 TTL ECL trigger access commands acceptor trigger commands 3 65 AckTrig 3 67 DisTrigSense 3 68 EnaTrigSense 3 69 GetTrigHndlr 3 71 map trigger commands 3 66 MapTrigTrig 3 72 SetTrigHndlr 3 74 source trigger commands 3 65 SrcTrig 3 76 TrigAsstConf 3 79 TrigCntrConf 3 81 TrigExtConf 3 83 trigger configuration commands 3 66 TrigTickConf 3 85 Trig ToREQT 3 87 UMapTrigTrig 3 89 WaitForTrigTrig 3 91 U UMapTrigTrig command 3 89 unmapping trigger component from MapTrigTrig 3 89 unpacking your kit 1 2 GPIB VXI C User Manual Index V verifying installed RAM 2 4 viAssertTrigger A 2 viFindRsrc A 2 viGetAttribute A 2 viln16 A 2 viOpen A 2 viOut16 A 2 VISA controlling GPIB VXI C systems establishing a session to VXI device A 2 message based programming A 1 operations viAssertTrigger A 2 viOpen A 2 operations equivalent to NI 488 messages
136. moving the module from its plastic bag verify that the pieces contained in the package you received match the kit parts list Contact National Instruments if there are missing components Now remove the module from the bag and inspect the module for loose components or any other sign of damage Notify National Instruments if the module appears damaged in any way Do not install a damaged module into your VXIbus mainframe VXIbus Characteristics The GPIB VXI C has the following VXIbus capabilities e Fully compatible with VXIbus System Specification e VXIbus Resource Manager RM defeatable e VxXIbus Slot 0 support defeatable e VXIbus Message Based Commander and Message Based Servant e VXIbus master A16 A24 D16 DO8 EO e VXIbus slave A16 A24 A32 D16 D08 EO e Upto 4 MB of dual ported shared memory e Three programmable VXIbus interrupt handlers e TEEE 488 1 and IEEE 488 2 compatible multiple primary or multiple secondary 488 VXIbus translator GPIB Characteristics The GPIB VXI C has the following GPIB characteristics e Communication with VXIbus Message Based devices VXI logical addresses are mapped to GPIB addresses Automatically configured at startup Programmable GPIB VXI C User Manual 1 2 ni com Chapter 1 General Description e Interface TNT4882C ASIC coupled with DMA Full transparent support of individual status bytes for each GPIB address Buffered operation decouples G
137. n gt 0 to7 TTL lt line gt 8 to9 ECL lt line gt 8 40 to 49 GPIO lt line gt 40 50 TCNTR 51 GCNTR 60 TICK1 61 TICK2 Example Map TTL line 4 to go out of the front panel with no signal conditioning MapTrigTrig 4 41 0 National Instruments Corporation 3 73 GPIB VXI C User Manual Chapter 3 Local Command Set SetTrigHndlr Purpose Replace the current TTL ECL trigger counter or tick timer interrupt handler with a specified trigger source with a specified function Query Syntax SetTrigHndlr lt lines gt lt function gt where lt lines gt is a bit vector of trigger lines 1 set 0 do not set where the value corresponds to the trigger line s to set Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 14 TIC counter 15 TIC TICK timers and lt function gt is a pointer to the new trigger interrupt handler where the value is defined as follows Value Interrupt Handler 0 Specify DefaultTrigHandler 1 Specify DefaultTrigHandler2 Other User installed trigger interrupt handler Response Program response 0 Console response Trigger handler s installed lines lt lines text gt DefaultTrigHandler lt CRLF gt where the meaning of lt lines text gt x y z where x y and z are bits that are set in lt lines gt GPIB VXI C User Manual 3 74 ni com Chapter 3 Local Command
138. nal Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition The reader should consult National Instruments if errors are suspected In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it EXCEPT AS SPECIFIED HEREIN NATIONAL INSTRUMENTS MAKES NO WARRANTIES EXPRESS OR IMPLIED AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein does not cover damages defects malfunctions or service failures caused by owner s failure to follow the National Instruments installation operation or maintenance instruction
139. nd USTS National Instruments Corporation 5 13 GPIB VXI C User Manual Chapter 5 Diagnostic Tests GPIB VXI C User Manual Table 5 7 TIC Tests Continued Test Number Test Description 191 Interrupt on Trig8 by ASTS and USTS 192 Interrupt on Trig9 by ASTS and USTS 193 Interrupt on counter count down on CLK10 194 Interrupt on counter count down on EXTCLK 195 Interrupt AOVER UOVER and PSOVER on Trig0 196 Interrupt AOVER UOVER and PSOVER on Trig1 197 Interrupt AOVER UOVER and PSOVER on Trig2 198 Interrupt AOVER UOVER and PSOVER on Trig3 199 Interrupt AOVER UOVER and PSOVER on Trig4 200 Interrupt AOVER UOVER and PSOVER on Trig5 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 from scalar 206 Software Semi Sync accept on TrigO 207 Software Semi Sync accept on Trig 208 Software Semi Sync accept on Trig2 209 Software Semi Sync accept on Trig3 210 Software Semi Sync accept on Trig4 211 Software Semi Sync accept on Trig5 212 Software Semi Sync accept on Trig6 213 Software Semi Sync accept on Trig7 214 Software Semi Sync accept on Trig8 215 Software Semi Sync accept on Trig9 216 Hardware Semi Sync and Automatic ACK on Trig0 5 14 ni com Chapter 5 Diagnostic Tests
140. ndary addressing modes 4 8 ni com Chapter 4 Nonvolatile Configuration Code Instrument Block Base This parameter specifies the local GPIB V XI C address base for Static Code Instruments 3 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 Resident Code Instrument Locations These parameters specify the base addresses of EPROMed Code Instruments These Code Instruments are automatically 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 Change Configuration Information The item Change Configuration Information displays the GPIB VXI C Nonvolatile Configuration Changer as shown GPIB VXI Nonvolatile Configuration Changer C 1995 National Instruments Local Register Configuration pSOS Configuration VXI Interrupt Handler Logical Address Resource Manager Configuration Servant Area and DC Configuration FAILED Device Handling Mode GPIB Configuration Default CI Configuration Resident CI Base Locations CI User Configuration Variables Editor OUVAIDUORWNHHEO izal O H PI Eor pr ia Fr AoT ct ET ct ct ct Choice 0 9 Q National Instruments Corporation 4 9 GPIB VXI C User
141. ndicated 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 WAL Action None GPIB VXI C User Manual 3 60 ni com Chapter 3 Local Command Set VXIbus Access Commands and Queries These VXIbus access commands and queries are described in the following sections s A16 g A16 7 A24 s A24 s SYSRESET 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 Ai Note If your application requires block moving or higher speed accesses to or from the VXIbus address spaces refer to Appendix A Using the NI VISA Code Instrument The SYSRESET command can be used to remotely reset the system National Instruments Corporation 3 61 GPIB VXI C User Manual Chapter 3 Local Command Set A16 Purpose Write a 16 bit value into VXI A16 space Command Syntax A16 lt A16 address gt lt word value gt Action Write lt word value gt to lt A16 address gt Example Write A502h to VXI A16 address 4305h A16 h4305 hA502 A16 Purpose Read word value from VXI A16 address space Query Syntax A16 lt A16 address gt Response Program response lt word value gt lt
142. ns parameters are enclosed in angle brackets lt gt and optional parameters are also enclosed in square brackets Do not enter the brackets as part of the command Multiple commands may be concatenated in a single command line if they are separated with semicolons for example OBRAM DPRAM lt CR gt Command Line Termination The serial port command line termination is a carriage return shown in the subsequent function descriptions as lt CR gt ASCII ODh If the command contains a trailing linefeed shown in the subsequent function descriptions as lt LF gt 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 Command and Query Responses The local commands and queries have two response formats program mode and console mode Program mode responses have a terse data only format that is intended for a control program to read and parse Console responses are returned in the form of readable sentences which are better suited for interactive command entry You can enable or disable each mode independently except that one response mode must be enabled at all times If both modes are simultaneously enabled the program response is returned first followed by the console response The local commands
143. nsfer 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 The DMAmove CI reports current status and errors via its status byte and the REQT signal GPIB SRQ line The following is a list of the status bytes returned by the DMAmove CI and their corresponding meanings National Instruments Corporation B 7 GPIB VXI C User Manual Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments Status Value Meaning 00h Idle no operation pending 80h Operation underway 41h RSV pending DMA timing error 42h RSV pending Bus Error at source 44h RSV pending Bus Error at destination 48h RSV pending Unknown error 50h RSV pending Error in parameter sent In addition if Debug mode is specified when the DMAmove CI is booted diagnostic messages are printed to the serial port Every access to the DMAmove CI causes messages to be printed 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 message printed on the serial port National Instruments CDS 73A 852 Code Instrument Adapter Running The following sections describe the
144. nt max 5 0 VDC TBD TBD Not Available 12 0 VDC TBD TBD Not Available 12 0 VDC TBD TBD Not Available 5 2 VDC TBD TBD Not Available 2 0 VDC TBD TBD Not Available Cooling Requirements Power dissipation MaXx cseeseeseeee TBD Operating Environment Temperature ioiii eesi 0 to 55 C Relative humidity seeseeeseeeeeeeeeeeeeesee 0 to 95 noncondensing Storage Environment PEMpPEratures aipee aana pea 40 to 125 C Relative humidity eee eee 0 to 100 noncondensing EMI 1 Gaertn rere EE Class A verified Functionality IEEE 488 Capability Code Description SH1 Source Handshake AH1 Acceptor Handshake T5 TES Talker Extended Talker GPIB VXI C User Manual C 2 ni com Appendix C Specifications Capability Code Description L3 LE3 Listener Extended Listener SR1 Service Request DC1 Device Clear DT1 Device Trigger RLO Remote Local PPO Parallel Poll VXIbus Master Slave e A16 A24 Addressing e A32 Addressing slave only e D08 EO D16 Data Paths e Read Modify Write VXIbus VXIbus System Specification Compatible Multimainframe Resource Manager defeatable Slot 0 Support defeatable Message Based Commander and Servant Dynamically Configurable Programmable Handler any three of seven levels Trigger Source Acceptor SYNC SEMI SYNC ASYNC STST protocols External Trigger I O Support External CLK10 I O Support National Instruments Corpor
145. nter Maximum Number of Processes default 0x20 GPIB VXI C User Manual B 2 ni com Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments The following formula calculates the maximum number of processes Number of processes 10h number of GPIB address links 2 number of CIs If fewer than six CIs are installed and no other GPIB address links exist the default value of 32 0x20 is adequate Increasing the number of processes affects the throughput of the GPIB VXI C Enter the number of processes in hexadecimal The next prompt is then displayed Enter Maximum Number of Exchanges default 0x20 The following formula calculates the maximum number of exchanges Number of exchanges 10h number of CIs The default value of 32 0x20 is adequate even if all 12 CIs are installed Enter lt CR gt to select the default value The last prompt appears 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 installed the default value of 384 180h is adequate Increasing the number of message buffers affects the throughput of the GPIB VXI C Enter the number of message buffers in hexadecimal When the edit menu reappears enter 8 to edit the resident CI base locations For the DMAmove Code Instrument only one CI should be created Configure a single CI
146. o Commander at Logical Address 8 Grantdev 8 16 National Instruments Corporation 3 31 GPIB VXI C User Manual Chapter 3 Local Command Set RelSrvnt Purpose Recover a Servant from a Commander Query Syntax RelSrvnt lt Commander s logical address gt lt Servant s logical address gt Action Commands device at lt Commander s logical address gt to release ownership of the device at lt Servant s logical address gt The GPIB VXI C assumes ownership of the device Response Program response 65534 lt CRLF gt if the Commander released the Servant Any other response indicates that an error occurred Console response Logical Address lt Commander s logical address gt released device at Logical Address lt Servant s logical address gt Example Recover Servant at Logical Address 16 from Commander at Logical Address 8 Relsrvnt 8 16 GPIB VXI C User Manual 3 32 ni com Chapter 3 Local Command Set VXI Defined Common ASCII System Commands These VXI defined Common ASCII System Commands and Queries are described in the following sections DCON DINF DLAD DNUM DRES RREG WREG You can use these commands and queries to retrieve device 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 addresses for devices in the system Th
147. ocated from this region The first 64 KB 0 to FFFFh of any size onboard RAM configuration are reserved for use by National Instruments You can allocate the rest for Region 1 Code Instruments or a National Instruments Corporation 4 5 GPIB VXI C User Manual Chapter 4 Nonvolatile Configuration GPIB VXI C User Manual device dependent use Region 1 always starts at local address 10000h The minimum size is 60000h The maximum size is the amount of RAM minus 10000h Number of pSOS Processes You can use this parameter to configure the maximum allowable number of pSOS processes The GPIB VXI C requires a minimum of 16 processes The factory setting is 32 Number of pSOS Message Exchanges You can use this parameter to configure the maximum allowable number of pSOS message exchanges The GPIB VXI C requires a minimum of 16 message exchanges The factory setting is 32 Number of pSOS Message Buffers You can use this parameter to configure the maximum allowable number of pSOS message buffers 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 ConsoleEna to change the setting at runtime Resource Manager Wait Period You can use this parameter to specify how many seconds the Resource Manager waits for devices to boot before starting setup o
148. ocols on the GPIB VXI C The acceptor trigger commands are EnaTrigSense DisTrigSense SetTrigHndlr and Get TrigHndlr National Instruments Corporation 3 65 GPIB VXI C User Manual Chapter 3 Local Command Set e Map trigger commands are configuration commands for routing and signal conditioning You can use the MapTrigTrig and UMapTrigTrig commands to configure the GPIB VXI C hardware to route specified source trigger locations to destination trigger locations You can use these commands as a cross point switch signal conditioning configurator e 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 TrigExtConf TrigCntrConf TrigTickConf and TrigToREQT TrigToREOQT is a special function for the GPIB VXI C to map trigger interrupt sources to SRQ on the GPIB so that VXI trigger protocols can be completely controlled from an external GPIB controller GPIB VXI C User Manual 3 66 ni com Chapter 3 Local Command Set AckTrig Purpose Acknowledge the specified TTL ECL or external GPIO trigger Query Syntax AckTrig lt line gt where the value of lt line gt corresponds to the trigger line to acknowledge Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0
149. of the multiple calls required to send the command and data blocks and then poll waiting for the operation to complete Using VISA to move blocks of data also means that you no longer need to load the DMAmove code instrument as NI VISA automatically downloads a separate code instrument the NI VISA CI to handle these and other operations NI VISA is the recommended way to do DMA with the GPIB VXI Additional Programming Issues For advanced users the GPIB V XI Mainframe Backplane resource encapsulates the operations and properties of each mainframe or chassis in a VXIbus system This resource type lets a controller query and manipulate specific lines on a specific mainframe in a given VXI system The form of the resource string for this class is GPIB VXI lt system gt BACKPLANE Services in this resource class allow the user to map unmap and assert hardware triggers and also to assert various utility signals Refer to the NI VISA User Manual and the NI VISA Programmer Reference Manual for more information about using NI VISA and the subset of NI VISA supported on the GPIB VXI National Instruments Corporation A 3 GPIB VXI C User Manual Appendix A Using the NI VISA Code Instrument 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 v
150. onds before RM operations begin GPIB VXI C User Manual The RM then scans Logical Addresses 1 through 254 for static configuration devices SC devices For each SC device found it reads the device class and manufacturer s ID code from the ID Register and the model code from the Device Type Register If the device is an extended device the RM reads its Subclass Register The RM then performs slot associations for each static configuration device by reading its Status Register while asserting each MODID line 2 16 ni com Chapter 2 Configuration and Startup Procedures The RM then looks for dynamic configuration devices DC devices at Logical Address 255 by asserting each MODID line and reading the device s ID Register DC devices initially have a logical address of 255 The RM subsequently assigns each DC device a different logical address For each DC device found it not only reads the device s configuration registers as with SC devices but also assigns each device the next unused logical address by writing the appropriate value to the device s Logical Address Register Using the nonvolatile configuration mode you can set the starting logical address for the RM to begin assigning DC devices Refer to Chapter 4 Nonvolatile Configuration for more information on nonvolatile configuration If any device has not passed its self test the RM forces that device offline by setting the Sysfail Inhibit and Reset bits in that device s
151. operated FCC Class B products display either a FCC ID code starting with the letters EXN Trade Name Model Number or the FCC Class B compliance mark that appears as shown here on the right FE Tested to Comply with FCC Standards Consult the FCC Web site at http www cc gov for more information FCC DOC Warnings This equipment generates and uses radio frequency energy and if not installed and used in strict accordance with the instructions in this manual and the CE Mark Declaration of Conformity may cause interference to radio and television reception Classification requirements are the same for the Federal Communications Commission FCC and the Canadian Department of Communications DOC FOR HOME OR OFFICE USE Changes or modifications not expressly approved by National Instruments 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 Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential are
152. ord Serial query to a Message Based device Query Syntax WScmd lt log addr gt lt WS cmd gt Action Sends the Word Serial query lt wS cmd gt to the device at lt log addr gt Reads and returns the device s response Response Program response lt hex value gt lt CRLF gt where lt hex value gt is the hexadecimal value of the Data Low register response Console response Logical Address lt log addr gt Word Serial Query Oxceff returned Ox lt hex value gt lt CRLF gt Example Write the Read Servant Area Word Serial query CEFFh to a device at Logical Address 4 WScmd 4 hCEFF National Instruments Corporation 3 97 GPIB VXI C User Manual Chapter 3 Local Command Set WSresp Purpose Read a 16 bit Word Serial response to a previously sent query Query Syntax WSresp lt log addr gt Action Reads and returns the response of the device at lt log addr gt Response Program response lt hex value gt lt CRLF gt where lt hex value gt is the hexadecimal value of the Data Low register response Console response Logical Address lt log addr gt returned response 0x lt hex value gt lt CRLF gt 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 Chapter 3 Local Command Set WSstr Purpose Send a device dependent command string to a Message Based device Command Syntax WSstr lt log addr gt lt s
153. ose Get the number of known logical addresses Query Syntax NumLaddrs Response Program response lt num las gt lt CRLF gt where lt num las gt is the number of known logical addresses Console response There are lt num las gt known Logical Addresses lt CRLF gt National Instruments Corporation 3 19 GPIB VXI C User Manual Chapter 3 Local Command Set RmeEntry Purpose Return RM information about a device or all devices RmEntry does not return the Servant list Query Syntax RmEntry lt logical address gt If lt logical address gt is omitted RnEntry returns the RM information for all devices Response Program response lt la gt lt cla gt lt sa gt lt slot gt lt devclass gt lt subclass gt lt manID gt lt modelcode gt lt memspace gt lt membase gt lt memsize gt lt state gt lt line status gt lt CRLF gt Console response Resource manager entry for Logical Address lt logical address gt lt CRLF gt lt CRLF gt Commander s Logical Address lt cla gt lt CRLF gt GPIB Secondary Address lt addr gt lt CRLF gt Slot lt slot gt lt CRLF gt Device class lt devclass gt class lt CRLF gt Extended Sub Class lt subclass gt lt CRLF gt Manufacturer s ID lt manID gt manufacturer s name lt CRLF gt Model code lt modelcode gt lt CRLF gt A16 A24 A32 Memory space lt memspace gt memory space lt CRLF gt A24 A32 Memory Base lt membas
154. otes a caution which advises you of precautions to take to avoid injury data loss or a system crash Italic text denotes variables emphasis a cross reference an introduction to a key concept or Word Serial commands and queries This font also denotes text that is a placeholder for a word or value that you must supply Text in this font denotes text or characters that you should enter from 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 functions operations variables filenames and extensions and code excerpts Italic text in this font denotes text that is a placeholder for a word or value that you must supply Bold text in this font denotes the messages and responses that the computer automatically prints to the screen This font also emphasizes lines of code that are different from the other examples Angle brackets enclosing a term in monospace denote a parameter Numbers in this manual are base 10 unless noted as follows e Binary numbers are indicated by a b suffix for example 11010101b e Octal numbers are indicated by an o suffix for example 3250 e Hexadecimal numbers are indicated by an h suffix for example D5h e ASCII character and string values are indicated by double quotation marks for example This is a string National Instruments Cor
155. pROBE debugger This mode is available only with the GPIB VXI C development firmware option the startup mode for normal operation in a VXI system watts the simplest form of communication required by Message Based devices It utilizes the A16 communication registers to transfer data using a simple polling handshake method the rules and regulations involved in performing Word Serial communication Glossary 6 ni com Index Symbols A B 10 B B 10 D B 11 d B 11 NE B 11 NL B 12 S B 13 NT B 13 l t B 14 CLS command 3 55 ESE command 3 55 ESE query 3 56 ESR query 3 56 IDN query 3 56 OPC command 3 57 OPC query 3 57 RST command 3 58 SRE command 3 58 SRE query 3 59 STB query 3 59 TRG command 3 59 TST query 3 60 W AI command 3 60 Numerics 488 V XI runtime system operation jumpers and switches Non Slot 0 Message based device 2 21 Non Slot 0 Resource Manager 2 20 Slot 0 Message based device 2 23 Slot 0 Resource Manager 2 14 system startup message printing 2 14 Non Slot 0 Message based device configuration front panel LED indications 2 22 National Instruments Corporation Index 1 operation summary 2 22 switch and jumper 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 routing options tab
156. pecify the state of the VXIbus Address Modifiers during a VXI master access During 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 AMS 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 National Instruments Corporation 2 11 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures Switches S3 S4 and S5 control the AMO AM1 and AM2 signals Figure 2 7 shows the valid settings of 3 S4 and S5 3 3 Q O S4 S4 O S5 S5 a Supervisor A16 Supervisor A24 Data b Supervisor A16 Factory Default Setting Supervisor A24 Program s3 S4 S5 c User A16 User A24 Data d User A16 User A24 Program Figure 2 7 Address Modifier Signals Switch Settings GPIB VXI C Startup Mode Configuration GPIB VXI C User Manual Startup mode switches S19 and S20 control the GPIB VXI C operation mode at system startup They select one of three modes as shown in Figure 2 8 The three possible modes of startup are 488 VXI runtime system mode nonvolatile configuration mode and diagnostics mode e 488 VXI runtime system mode is the startup mode for normal operation in a VXI system The GPIB VXI C is configured at the fac
157. plane 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 Configuration Information section of Chapter 4 Nonvolatile Configuration Setting the VXlbus Requester Level 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 2 6 ni com Chapter 2 Configuration and Startup Procedures w1 a Level 3 Requester Factory Configuration w1 b Level 2 Requester w1 c Level 1 Requester TEE d Level 0 Requester ML Hy Bp Figure 2 2 VXlbus 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 as described in Chapter 4 Nonvolatile Configuration National Instruments Corporation 2 7 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures External Input Termination Switches 12 and 16 enable a 50 ohm termination to ground for the external trigger and external clock inputs respectively The GPIB VXI C is factory configured wi
158. poration xiij GPIB VXI C User Manual About This Manual In this manual the symbol lt CR gt is used to indicate the ASCII carriage return character The symbol lt LF gt is used to indicate the ASCII linefeed character The symbol lt CRLF gt is used to indicate a carriage return followed by a linefeed Terminology specific to a chapter or section is defined at its first occurrence Related Documentation The following documents contain information that you might find helpful as you read this manual e IEEE Standard Codes Formats Protocols and Common Commands ANSI IEEE Standard 488 2 1987 e IEEE Standard Digital Interface for Programmable Instrumentation ANSI IEEE Standard 488 1 1987 e IEEE Standard for a Versatile Backplane Bus VMEbus ANSI IEEE Standard 1014 1987 e VXIbus Mainframe Extender Specification V X1 6 Rev 1 0 VXIbus Consortium e VXIbus System Specification VXI 1 Rev 1 3 VXIbus Consortium GPIB VXI C User Manual xiv ni com General Description Overview 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 The GPIB VXI C is a C sized VXIbus module that links the industry standard IEEE 488 GPIB bus and the VXIbus The GPIB VXI C performs transparent conversion of the GPIB signals and protocols to V
159. powered down Write Back Save Changes Quit Configuration GPIB VXI C User Manual The item Write Back Save Changes writes the modified copy of the NV memory back to the EEPROM The write back procedure takes five to 10 seconds The item Quit Configuration prompts you to select a different startup configuration 4 10 ni com Diagnostic Tests This chapter contains information for executing the GPIB VXI C diagnostic self tests The diagnostics test each GPIB VXI C subcircuit and are useful in detecting and isolating problems You can enter diagnostics mode through either of the following methods e Set the startup mode switches to the diagnostics mode as described in the GPIB VXI C Startup Mode Configuration section of Chapter 2 For this mode set switch S19 to the ON position and set switch S20 to the OFF position Restart the system e 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 232 port Configuration for Diagnostic Testing The diagnostic tests require the GPIB VXI C to be disconnected from all other GPIB devices to prevent interference with the GPIB tests Diagnostic Test Structure A total of 263 diagnostic routines or tests are organized in groups as shown in 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
160. pter 5 Diagnostic Tests Group 4 GPIB GPIB VXI C User Manual This group tests the TNT4882 interface IC Table 5 6 gives the test numbers and names of the GPIB tests Table 5 6 GPIB Tests Test Number Test Description 45 INIT 46 Presence test using ADSR 47 Check SPMR and SPSR 48 Check address register bits 49 Check can be listener 50 Check can be talker 51 Check can listen to all 32 listen addresses 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 as external listener 57 Check can talk to all 960 external addresses 58 Check can be unaddressed as external talker 59 Check can recognize DI and HLDA bits 60 Check can recognize ERR 61 Check can recognize DCL command 62 Check can recognize SDC 63 Check can set END bit on EOI 64 Check can set EOI bit on EOI 65 Check can set END on 8 bit EOS 66 Check can set END on 7 bit EOS 67 Check can recognize GET command 5 8 ni com Chapter 5 Diagnostic Tests Table 5 6 GPIB Tests Continued Test Number Test Description 68 Check set APT on unrecognized command 69 Check can recognize undefined command 70 Check can set REM REMC LOK and LOKC bits 71 Check can clear REM and LO
161. r 5 Diagnostic Tests ENTER TEST NUMBERS 15 30 31 40 80 99 all Hre tq toe quart When you have completed all the diagnostic tests select q 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 Table 5 3 gives the test numbers and names of the RAM tests Table 5 3 RAM Tests Test Number Test Description 1 Data path test Self test cell test not exhaustive Cell test BR wl we Read and Modify Write test Group 2 68070 CPU This group tests the 68070 I7C interface UART interface and timers Tests 5 through 7 test the 68070 I C interface tests 8 through 18 test the UART interface and tests 19 through 21 test the timers Table 5 4 gives the test numbers and names of the 68070 CPU tests Table 5 4 68070 CPU Tests Test Number Test Description PC interface test maximum clock frequency C interface test maximum clock frequency IC interface test interrupt trigger National Instruments Corporation 5 5 GPIB VXI C User Manual Chapter 5 Diagnostic Tests Table 5 4 68070 CPU Tests Continued Test Number Test Description 8 Test baud rate 75 9 Test baud rate 150 10 Test baud rate 30
162. r sequence 3 59 external CLK D 4 external clock input termination settings figure 2 8 external trigger input termination settings figure 2 8 National Instruments Corporation Index 5 Index F factory configuration settings parts locator diagram 2 3 summary 2 2 frequently asked questions G 1 front panel connectors 1 5 LEDs 1 5 reset button 1 5 front panel LED indications Message based devices 2 22 Resource Manager operation 2 15 G general configuration commands and queries CONF 3 7 ConsoleEna 3 7 ConsoleMode 3 8 DIAG 3 8 DPram 3 9 NVconf 3 10 OBram 3 11 ProgMode 3 12 WordSerEna 3 13 generating operation complete message 3 57 getting A24 space allocation 3 15 getting A24 A32 starting address 3 9 getting A32 space allocation 3 16 getting address of current trigger component for specified trigger source 3 71 getting amount of installed RAM 3 11 getting Commander s logical address 3 17 getting contents of ESE register 3 56 getting contents of SRE register 3 59 getting contents of Status Byte 3 59 getting current self test status 3 23 getting device manufacturer mode serial number and firmware level 3 56 GPIB VXI C User Manual Index getting GPIB address attached to a logical address 3 45 getting GPIB primary address 3 46 getting known system hierarchy table 3 18 getting level assigned to GPIB VXI C interrupt handler 3 52 getting list of GPIB addre
163. ral configuration dc Dynamic configuration rc Dynamic reconfiguration rm Resource Manager cc Common commands ci sa ih ba ws tr Code Instruments GPIB address configuration Interrupt handler configuration VXIbus access Word Serial communication TTL trigger access The default type lists the categories available Response The local command set is displayed in the following format GPIB VXI Local Command Set lt CRLF gt Command Query Format lt Command Syntax gt lt Command Syntax gt lt Command Syntax gt e e e Example Description lt CRLF gt lt Command description gt lt CRLF gt lt Command description gt lt CRLF gt lt Command description gt lt CRLF gt e e e List syntax and descriptions of general configuration and GPIB address commands Help gc sa National Instruments Corporation 3 5 GPIB VXI C User Manual Chapter 3 Local Command Set General Configuration Commands and Queries These general configuration commands and queries are described in the following sections d CONF Console nna ConsMode s DIAG DPRAM NVconf s OBRAM ProgMode Wwordseri Ena The ConsMode and ProgMode commands enable and disable the console and program response modes for the port originating the command The Console Ena and WordSer Ena commands control access to the local command set from the RS 232 and VXI Word Serial ports T
164. ration operation 2 18 front panel LED indications 2 15 operation 2 15 Resource Manager operation summary 2 16 self test operation 2 16 static configuration operation 2 18 switch and jumper settings table 2 14 system configuration table 2 20 soft resetting a device 3 40 software drivers G 1 sourcing specified protocol on trigger line 3 76 specifications cooling requirements C 2 CPU C 1 coprocessor C 1 microprocessor C 1 EMI C 2 functionality TEEE 488 capability codes C 2 VXIbus C 3 VXIbus master slave C 3 operating environment C 2 physical C 1 front panel connectors C 1 front panel indicators C 1 local bus keying C 1 reset pushbutton C 1 slot requirements C 1 power requirements C 2 storage environment C 2 SrceTrig command 3 76 ni com Srvnts query 3 22 starting counter or tick timer for specified protocol 3 69 startup mode 488 VXI runtime system mode 2 12 diagnostics mode 2 12 nonvolatile configuration mode 2 12 switch settings figure 2 13 static configuration devices 2 16 StatusState query 3 23 support technical G 1 switches and jumpers locating figure 2 3 syntax error table E 1 SYSFAIL signal monitoring status 2 10 SYSRESET command 3 64 system configuration cables 2 1 driver software 2 1 host computer 2 1 mainframe 2 1 serial port settings 2 1 terminal emulator optional 2 1 system configuration table 2 20 system integration services G 1 system startup
165. ries ProtErr 3 94 RespReg 3 95 WScmd 3 96 WScmd 3 97 WSresp 3 98 WSstr 3 99 WSstr 3 100 National Instruments Corporation Index 13 Index WordSerEna command 3 13 worldwide technical support G 1 WREG command 3 42 writing 16 bit value to VXI A16 space 3 62 writing 16 bit value to VXI A24 space 3 63 writing 16 bit VXI register 3 42 WScmd command 3 96 WScmd query 3 97 WSresp query 3 98 WSstr command 3 99 WSstr query 3 100 GPIB VXI C User Manual
166. rrupt tests Table 5 11 Interrupt Tests Test Number Test Description 251 Verify interrupt on INT2N using SYSFAIL 252 Verify SYSFAIL disable interrupt 253 Verify interrupt on INTIN using done int Group 10 Miscellaneous Tests This group tests the EPROM EEPROM Sanity Timer LEDs MODID register Local Bus timeouts and VXI bus timeout Table 5 12 gives the test numbers and names of the Miscellaneous tests Table 5 12 Miscellaneous Tests Test Number Test Description 254 LED test SYSFAIL and FAILED LED 255 LED test ACCESS LED 256 LED test TEST LED 257 LED test ONLINE LED 258 Switch test Startup switches S10 S11 and 12 259 Local BTO test Test local bus timeout unit National Instruments Corporation 5 17 GPIB VXI C User Manual Chapter 5 Diagnostic Tests GPIB VXI C User Manual Table 5 12 Miscellaneous Tests Continued Test Number Test Description 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 5 18 ni com Using the NI VISA Code Instrument This appendix formerly contained an overview of the functions applications and implementations of software modules known as Code Instruments CIs and presented comparisons and illustrations of GPIB VXI C operation with and without CIs Much of this functionality ha
167. runtime capabilities of the CDS 852 Adapter Code Instrument Logical Address and A24 Address Assignment 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 installed the CI at location 1 is assigned Logical Address 80 and the CI at location 3 is assigned Logical Address 81 The default offset where the CI expects to find its 73A 852 registers in VXI VME A24 space is related to the CI s logical address as follows 73A 852 A24 offset CI logical address 10000h For example a CI at Logical Address 80h expects by default to find its 73A 852 registers at offset 800000h The CI s A24 offset can be changed with the CI command L The 73A 852 has rotary switches for changing its A24 register locations GPIB VXI C User Manual B 8 ni com Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments 852 Adapter Cl Commands The 852 adapter CI commands are interpreted by the CI itself and do not directly affect the 852 module If the adapter CI receives a word serial buffer that does not begin with the character sequence it assumes that the buffer is for the 73A 852 and writes the buffer to the appropriate A24 register location The CI command formats were designed to minimize the possibility of conflict with the command sets of the various plug in instruments that are compatib
168. s owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable control Copyright Under the copyright laws this publication may not be reproduced or transmitted in any form electronic or mechanical including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation Trademarks MANTIS MIGA National Instruments NI NI 488 ni com NI VISA TIC and TNT4882 are trademarks of National Instruments Corporation Product and company names mentioned herein are trademarks or trade names of their respective companies Patents For patents covering National Instruments products refer to the appropriate location Help Patents in your software the patents txt file on your CD or ni com patents WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS 1 NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 IN ANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY A
169. s a crosspoint switch location In this mode you can use any single trigger line as the internal source for the GPIO and any or all of the remaining trigger lines as the destination Refer to the TTL ECL Trigger Access Commands section of Chapter 3 Local Command Set for information on programming the MANTIS National Instruments Corporation F 1 GPIB VXI C User Manual Appendix F GPIB VXI C User Manual GPIB VXI C VXI Trigger Support TIC not connected GPIO9 not connected GPIO8 13 975 kHz j_ GPIO7 4 9152 MHz _ GPIO6 Ti1 GPIO5 T2 GPIO4 GPIO3 TRIG IN direct GPIO2 TRIG OUT __ GPIO1 TRIG IN buffer GPIOO gt gt EXTCLK Backplane CLK10 gt CLK10 Notes 1 refers to inverted signals 2 T1 and T2 are timers from the 68070 processor which are presently inaccessible to users Figure F 1 GPIB VXI C GPIO Connections F 2 ni com Technical Support and Professional Services Visit the following sections of the National Instruments Web site at ni com for technical support and professional services e 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 ni com support These resources are available for most products at no cost to registered user
170. s and include software drivers and updates a KnowledgeBase product manuals step by step troubleshooting wizards hardware schematics and conformity documentation example code tutorials and application notes instrument drivers discussion forums a measurement glossary and so on 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 by phone discussion forum or email e Training Visitni com custed for self paced tutorials videos and interactive CDs You also can register for instructor led hands on courses at locations around the world e System Integration If you have time constraints limited in house technical resources or other project challenges NI Alliance Program members can help To learn more call your local NI office or visit ni com alliance If you searched ni com and could not find the answers you need contact your local office or NI corporate headquarters Phone numbers for our worldwide offices are listed at the front of this manual You also can visit the Worldwide Offices section of ni com niglobal to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events National Instruments Corporation G 1 GPIB VXI C User Manual Glossary
171. s been included with the 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 An external controller can communicate directly with the CI via a GPIB secondary address The NI VISA CI provides an optimized implementation of the VISA instrument control standard 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 controlling a GPIB VXI C system All new GPIB VXI C applications should use the NI VISA API Introduction to Programming GPIB VXI Devices in VISA The GPIB VXI makes VXI message based devices appear as if they are GPIB devices with secondary addresses This provides an easy transition into VXI for customers with existing GPIB systems because they can use the same NI 488 API to control both types of instruments However this is problematic for VXI register based devices because their addresses are not mapped directly into the GPIB system Message Based Access with VISA For message based programming an NI 488 program would typically call ibdev with the VXI device s primary and secondary GPIB addresses to get a handle to the specific device In VISA a program cal
172. s reserved Important Information Warranty The GPIB VXI C is warranted against defects in materials and workmanship for a period of one year from the date of shipment as evidenced by receipts or other documentation National Instruments will at its option repair or replace equipment that proves to be defective during the warranty period This warranty includes parts and labor The media on which you receive National Instruments software are warranted not to fail to execute programming instructions due to defects in materials and workmanship for a period of 90 days from date of shipment as evidenced by receipts or other documentation National Instruments will at its option repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period National Instruments does not warrant that the operation of the software shall be uninterrupted or error free A Return Material Authorization RMA number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this document is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist Natio
173. ser Manual Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments GPIB VXI C local command set command ECIboot This section explains how to use the nonvolatile configuration editor to permanently install an EPROMed Code Instrument Enter the nonvolatile configuration mode as described in Chapter 4 Nonvolatile Configuration The following menu is displayed GPIB VXI Nonvolatile Configuration Main Menu C 1995 National Instruments 1 Read In Nonvolatile Configuration 2 Print Configuration Information 3 Change Configuration Information 4 Set Configuration to Factory Settings 5 Write Back Save 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 Edit Local Register Configuration Edit pSOS Configuration Edit VXI Interrupt Handler Logical Address Edit Resource Manager Configuration Edit Servant Area and DC Configuration Edit FAILED Device Handling Mode Edit GPIB Configuration Edit Default CI Configuration Edit Resident CI Base Locations Edit CI User Configuration Variables Quit Editor OwuU ANA UBWNEHF OO Choice 0 9 Q Enter 1 to edit pSOS configuration The following prompt then appears Enter Dynamic RAM Region 1 Size default 0x70000 Enter lt CR gt to keep the present value and continue to the next entry E
174. sfers The default read mode is ASCII The default read termination condition is the EOS character lt LF gt OAh with the END bit set The Q command returns information about the CI settings always to the serial port The Dand d commands control the printing of runtime debug information to the terminal connected to the serial port National Instruments Corporation B 9 GPIB VXI C User Manual Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments A Purpose Set the adapter CI read mode to ASCII for compatibility with the CDS instrument response Command Syntax IIA or Ila Action 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 IIB or tb Action Sets the adapter CI read mode to binary Read size is limited to 512 bytes or as configured by the s command GPIB VXI C User Manual B 10 ni com Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments ND Purpose Enable debug message printing to the serial port Command Syntax IID Action Enables debug message printing to the serial port Id Purpose Disable debug message printing to the serial port Command Syntax Lid Action Disables debug message printing to the serial port IE Purpose Configure CI read termination on an EOS character Command Syntax E lt hex n
175. sns select a a a siuatevesaceaitees 3 69 GetTrig inde tecci casei oa A Eae ected cia feds Qeeecs Maes eA eed eds 3 71 Maple Tri Tihonin saa tectczesveece aasar daz sesheta ses aS EEE sed asa Sia aiiis 3 72 SOU LTV OAM ien Hen th ashes sess betivscgeeh Ai scieviceeies sande deasseegee NEA E 3 74 SLOW TID soetoeds secs yetdees E a a a E eb thecsateiaer EA E S 3 76 Trig AsstConf siiin inea a a R a a pe e teeta e aii 3 79 Wiis Contr Cont inya aaa Sees p a arae aas a iT 3 81 TEISEXtC OnE ieaiaia eeraa E E E E E i 3 83 Tag TICK COME s iiare inaia e a e E E A RA 3 85 THe TOREOT Tiia te e e aa E NEE E a A EE e ite 3 87 UMap Tis TE a eaea aaeain aa aa e a a a a iE aaas 3 89 WaitFor Tig oesie E a E TA ies EEEE E E E AR 3 91 Word Serial Communication Commands and Queries c ccccsssceeeseceeeseeeeseeesteeees 3 92 ProtEr Z sienai eN a Ear RAE A ERAEN EEE EE EE A RN EA 3 94 RespRegT nunon i aan E N adi E E RR 3 95 WSemd iaoa ea a EN E E E N 3 96 WSC Pesio a n a a E a a TES 3 97 WSTESP ao Snead a aeo a RTA EE ths Meh E E E AAA A A eed 3 98 WSSU e EET T E jas scpdeds Sebdensdeapancegedin ns 3 99 WSS SUE 2 nad etitiexiediies ee het soa a E T A ER etl ah inte iG late E 3 100 Chapter 4 Nonvolatile Configuration The GPIB VXI C Nonvolatile Configuration Main Menu eee eeeeeeeeeeseeeeeeees 4 2 Read in Nonvolatile Configuration cece cseeseeseesseeeeeseeaeenseeasenseeeeaes 4 2 Print Configuration Information 00 0 eee eeceeseeeeeseeeseeeeeseeseeese
176. sses in use 3 48 getting list of known logical addresses 3 19 3 38 getting list of Servants 3 22 getting logical address that GPIB address is attached to 3 47 getting number of assignable GPIB VXI C interrupt handlers 3 53 getting number of known logical addresses 3 19 3 39 getting Response register contents of message based device 3 95 getting size of VXI shared RAM 3 9 getting VXIbus interrupt level assigned to GPIB VXI C interrupt handlers 3 50 GetTrigHndlr command 3 71 GPIB address configuration commands and queries LaSaddr 3 44 LaSaddr 3 45 Primary 3 46 SaddrLa 3 47 Saddrs 3 48 SaDisCon 3 48 GPIB characteristics 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 messages and operations table A 2 GPIB VXI C User Manual GPIB VXI C connectors D 1 error codes E 1 factory configuration settings 2 2 kit contents 1 1 local memory map figure B 7 overview 1 1 parts locator diagram figure 2 3 resetting 2 6 specifications C 1 system configuration 2 1 triggering capabilities F 1 GPIB VXI C Nonvolatile Configuration Main Menu Change Configuration Information 4 9 Print Configuration Information 4 3 Quit Configuration 4 10 Read in Nonvolatile Configuration 4 2 Set Configuration to Factory Settings 4 10 Write Back Save Changes
177. th 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 Figure 2 4 shows the settings required to enable or disable the termination on the external clock 12 12 a External Trigger Input Unterminated b External Trigger Input Terminated Factory Configuration Figure 2 3 External Trigger Input Termination oO ad ip N a External Clock Input Unterminated b External Clock Input Terminated Factory Configuration Figure 2 4 External Clock Input Termination GPIB VXI C User Manual 2 8 ni com Chapter 2 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 The EPROM expansion sockets accommodate combinations of 2764 27128 27256 27512 and 27010 EPROMs Table 2 5 lists the possible EPROM memory configurations Bank 2 has a base address of E80000h and Bank 3 starts at ECO000h The maximum EPROM expansion memory size is 512 KB Table 2 5 Expansion EPROM Configurations EPROM BANK 2 BANK 3 End Size U47 U55 U53 U59 S11 S14 S10 S13 Address 16 KB 2764 None
178. tile configuration Servant Area Size Refer to Chapter 4 Set appropriate Servant area size Set in Nonvolatile Configuration nonvolatile configuration GPIB VXI C User Manual Table 2 15 CLK10 Routing Options Switch S9 Switch S15 Function OFF OFF CLK10 sourced from onboard clock OFF ON CLK10 and EXT CLK connector sourced from onboard clock ON OFF CLK10 sourced from an external clock via the EXT CLK connector ON ON Invalid Do not use this setting Slot 0 Message Based Device Operation At startup a GPIB VXI C configured as a Slot 0 Message Based device performs its self tests It then waits until it receives its Device Grant if any 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 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 2 24 Local Command Set This chapter contains descriptions of the GPIB VXI C local command set The descriptions of the commands and queries include syntax format and error handling information as well as examples of the use of the commands and queries The local command set supports the following typ
179. to 1 40 to 49 External source destination GPIO 0 to 9 Response Program response 0 Console response Trigger acknowledged line lt line text gt lt CRLF gt where the meaning of lt line text gt corresponds to the value of lt line gt as follows Value of lt line gt Value of lt line text gt 0 to7 TTL lt line gt 8 to9 ECL lt line gt 8 40 to 49 GPIO lt line gt 40 Example Acknowledge a trigger interrupt for TTL line 4 AckTrig 4 National Instruments Corporation 3 67 GPIB VXI C User Manual Chapter 3 Local Command Set DisTrigSense Purpose Disable the enabled by 1 Query Syntax sensing of the specified TTL ECL trigger line counter or tick timer that was EnaTrigSense DisTrigSense lt line gt where the value of lt line gt corresponds to the trigger line on which to disable sensing Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 50 TIC counter 60 TIC TICK timers Response Program response 0 Console response Trigger sense disabling line lt line text gt complete lt CRLF gt where the meaning of lt line text gt corresponds to the value of lt line gt as follows Value of lt line gt Value of lt line text gt Oto7 TTL lt line gt 8 to9 ECL lt line gt 8 50 TCNTR 60 TICK 1 Example Disable sensing o
180. to configure the GPIB VXI C for Slot 0 Message Based operation Refer to Table 2 14 1 Enable the VXIbus Slot 0 functions 2 Set the model code of the GPIB VXI C to be configured for Slot 0 operation using the nonvolatile configuration mode 3 Set the logical address to a non zero value with an appropriate Servant area size 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 Table 2 14 Slot 0 Message Based Device Operation Switch and Jumper Settings Jumper Switch Position Function Switches S9 Refer to Table 2 15 CLK10 routing options and S15 Switch 22 ON VXI BTO enabled National Instruments Corporation 2 23 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures Table 2 14 Slot 0 Message Based Device Operation Switch and Jumper Settings Continued Jumper Switch Position Function Switch 23 ON Bus arbiter and SYSCLK enabled CLK10 sourcing backplane Switch 24 ON MODID pulled up Logical Address Refer to Chapter 4 Logical address is not equal to 0 Set in Nonvolatile Configuration nonvolatile configuration or by using DIP switch SW1 Slot 0 Model Refer to Chapter 4 Model code is set to the Slot 0 value Set in Code Nonvolatile Configuration nonvola
181. tory to start up in this mode The remainder of this chapter contains a description of operation in this mode e In nonvolatile configuration mode you can edit the contents of the nonvolatile configuration parameter memory Refer to Chapter 4 Nonvolatile Configuration for more information on the nonvolatile configuration mode of the GPIB VXI C e Indiagnostics mode you can perform extensive offline diagnostic tests on the GPIB VXI C Refer to Chapter 5 Diagnostic Tests for a description of the GPIB VXI C self tests 2 12 ni com Chapter 2 Configuration and Startup Procedures O LOI S20 O S20 S19 S19 a 488 VXI Runtime System Mode b Nonvolatile Configuration Mode Factory Configuration S20 O S19 c Diagnosis Mode Figure 2 8 Startup Mode Switch Settings 488 VXI Runtime System Operation The GPIB VXI C is factory configured as a Slot 0 Resource Manager The Slot 0 and Resource Manager RM functions can be independently defeated resulting in four modes of operation e Slot 0 Resource Manager factory configuration e Non Slot 0 Resource Manager e Non Slot 0 Message Based device non Resource Manager e Slot 0 Message Based device non Resource Manager This section describes the GPIB VXI C configuration procedures and startup behavior for each mode of operation UN Caution Never install a GPIB VXI C configured for Non Slot 0 operation in Slot 0 or a GPIB VXI
182. tring gt where lt string gt is an ASCII character sequence enclosed by double quotation marks The following sequences of characters within the lt string gt parameter are special cases and will be interpreted as follows n linefeed LF r carriage return CR backslash xHH any binary 8 bit value where HH is the ASCII hexadecimal representation of that value Action Writes the string lt string gt to the device at lt log addr gt as a series of Byte Available commands Example Write the string start to a device at Logical Address 8 WSstr 8 start National Instruments Corporation 3 99 GPIB VXI C User Manual Chapter 3 Local Command Set WSstr Purpose Read a device dependent response string from a Message Based device Query Syntax WSstr lt log addr gt lt max cnt gt Action Reads and returns a string up to a maximum character count of lt max cnt gt using a series of Byte Request commands Response Program response lt resp string gt where lt resp string gt is the response string returned by the device Console response Logical Address lt log addr gt read lt bytes gt lt hex bytes gt through Word Serial lt CRLF gt lt CRLF gt lt resp string gt where lt bytes gt and lt hex bytes gt are the number of bytes in lt resp string gt in decimal and hexadecimal respectively Example Read a device dependent response up to 20 characters long from a device at Logi
183. turning status 3 60 phone technical support G 1 physical specifications C 1 placing ASCII 1 in output queue when operations completed 3 57 Primary query 3 46 professional services G 1 ProgMode command 3 12 programming absolute addressing A 3 adding GPIB VXI C to system A 4 asserting utility signals A 3 controlling triggers A 3 GPIB VXI devices A 1 message based A 1 register based A 2 programming examples G 1 ProtErr query 3 94 pSOS configuration B 2 National Instruments Corporation Index Q query responses 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 register 3 41 reading and clearing Event Status register 3 56 reading device dependent response string from message based device 3 100 reading word value from VXI A16 address space 3 62 reading word value from VXI A24 address space 3 64 rebooting into diagnostics mode 3 8 rebooting into nonvolatile configuration mode 3 7 register based programming with VISA A 2 related documentation xiv releasing Servant from Commander 3 32 RelSrvnt query 3 32 replacing current trigger line with specified trigger source and action 3 74 resetting system remotely 3 64 resident code instruments B 4 Resource Manager operation 2 16 RespReg query 3 95 returning device to known initial state
184. uilt on top of the function DMAmove As such the DMAmove CI has all of the capabilities of the DMAmove function plus a few extra device interface type features The following is the C language prototype for the DMAmove function DMAmove Source dest count mode uint32 source Local address to transfer from uint32 dest Local address to transfer to uint32 count Number of bytes to transfer National Instruments Corporation B 5 GPIB VXI C User Manual Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments uint32 mode Bit vector for mode of transfer Bit 0 Transfer direction 0 Source to destination 1 Destination to source Bit 1 Destination size 0 16 bit 1 8 bit Bit 2 Operand size 0 16 bit 1 8 bit Bit 3 DMA transfer mode 0 Cycle steal 1 Burst Bit 4 Source address increment 0 Increment source address by operand size 1 Do not increment source address Bit 5 Destination address increment 0 Increment destination address by destination size 1 Do not increment destination address The interface for the DMAmove CI is almost identical To control the DMAmove CI simply send 16 binary bytes of information over the GPIB with EOI 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 specifies to take data from the GPIB as input and the value of zero 0 in th
185. umber gt or l e lt hex number gt lt hex number gt is the ASCII value corresponding to the desired EOS character for example 0Ah for lt LF National Instruments Corporation B 11 GPIB VXI C User Manual Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments Action Enables read termination on an EOS with a value of lt hex number gt If lt hex number gt is greater than FFh the EOS termination condition is disabled Examples Set the EOS character to lt CR gt IIE OD Disable EOS read termination E 100 ML Purpose Set the A24 base address where the adapter CI expects to find the 852 adapter Command Syntax LIL lt val gt or 1 lt val gt lt val gt is a hex value equal to the upper 8 bits of the target adapter s A24 address Action The adapter CI expects to find the target 852 adapter at offset lt val gt 10000h The default initial value of lt val gt is the adapter DCI s logical address Example Set the adapter CI to operate with a 852 adapter at A24 base address 830000h IIL 83 GPIB VXI C User Manual B 12 ni com Appendix B Using the DMAmove and CDS 852 Adapter Code Instruments NS Purpose Set the maximum size of a binary read Command Syntax IIS lt size gt or s lt size gt lt size gt is a decimal value Action Sets the maximum binary read size to lt size gt bytes The default value of the read size is 512 bytes IT
186. x D Connectors for more information As shown in Figure 2 6 and Table 2 6 switch S17 determines the relationship between the SYSFAIL signal and the serial 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 and 6 will present an electrical open circuit In contrast if the backplane is unpowered or 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 In contrast if the backplane is unpowered or SYSFAIL is asserted pins 1 and 6 will present an electrical open circuit 2 10 ni com Chapter 2 Configuration and Startup Procedures S17 a DFl in Normally Open Mode Factory Configuration b DFI in Normally Closed Mode Figure 2 6 Discrete Fault Indicator Configuration Table 2 6 Discrete Fault Indicator Options Switch S17 Power SYSFAIL Pins 1 and 6 OFF OFF N A Short Circuit Figure 2 6a ON Asserted Short Circuit ON Unasserted Open Circuit ON OFF N A Open Circuit Figure 2 6b ON Asserted Open Circuit ON Unasserted Short Circuit Address Modifier Configuration By setting onboard switches you can have the GPIB VXI C s
187. xiii Related Documentation 3 s c2ccesccsec stands scscseusciea inr a Ek xiv Chapter 1 General Description OV ELVIS W a aiee r i ae aE SE bp EEEE E E E E RENA AEA codes A Ei 1 1 What Your Kit Should Contain 20 0 eee ceeeeeseesseesecssecseceseeseessecsecesecsesesesseseaeenees 1 1 Optional EquipMent isco 4 esse eh eis Ass au weenie Manian Walaa des 1 1 Unpacking ss stoic tesssstectacas aa E E E E A R R 1 2 VXIbus Characteristics miisi aianei e RE e i Ra 1 2 GPIB CharacteristiC Sisaro e a aaner oa narioa ESERE Rupe ra ra apes EErEE saoe aaa 1 2 Local Command Set Overview ceeeceesesceseceeceesseceseeseeesecseesseeaeceeeeaeseeeeaesneeeaeenaes 1 3 Code Instruments ionisoi aia ai a ash E E E E R ER 1 4 Front Panel Feat resosso nnie oeeie R R R ama dena i aie 1 5 Chapter 2 Configuration and Startup Procedures System Configura om en aar a haces E E AE R a ha aS 2 1 GPIB VXIVC Confisurtation nhen eor ue e EERE AET ARE HETE ER 2 2 Setting the Logical Address GPIB Primary Address and Servant Area Size eiren preien ae i E e AE RESETE RRR S 2 4 Verifying the Installed RAM SiZe s seseeesseeeseeseerssreresrsrrersresrrsrsresrsresreseseee 2 4 Setting the Shared Memory Size wo eee eeeseeseeseceeeeseeeeesaeceeeeseseeeeaeeseees 2 5 Setting the Reset Operation eee ees a E E EA 2 6 Setting the VXIbus Requester Level oe eee eeeceseeseeeseseeeeeeeaeeeeeeseeeees 2 6 Setting the VXI Interrupt Handler Levels 00 eee eee eee eeeeeeeeeeteeeeeees 2 7
188. y Size Start End Start End 512 KB 000000h O7FFFFh 080000h E7FFFFh 1 MB 000000h OFFFFFh 100000h E7FFFFh 2 MB 000000h 1 FFFFFh 200000h E7FFFFh 4 MB 000000h 3FFFFFh 400000h E7FFFFh Setting the Shared Memory Size You can set the amount of memory that is shared with the VXIbus by altering the settings of switches S1 and S2 Table 2 4 gives the S1 and S2 switch settings for sharing various portions of RAM with the VXIbus for each possible installed memory configuration Table 2 4 Shared Memory Switch Settings Amount of Installed Memory Shared with VXIbus Configured S1 ON S1 OFF S1 ON S1 OF Memory Size S2 ON S2 ON S2 OFF S2 OFF 512 KB 512 KB 256 KB 128 KB none 1 MB 1 MB 512 KB 256 KB none 2 MB 2 MB 1 KB 512 KB none 4 MB 4 MB 2 MB 1 MB none 3 Note The RAM shared with the VXIbus 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 configures the Offset Register at startup National Instruments Corporation 2 5 GPIB VXI C User Manual Chapter 2 Configuration and Startup Procedures Setting the Reset Operation The GPIB VXI C has three configurable reset parameters They can be enabled or disabled and are as follows e Pushbutton resets backplane asserts SYSRESET signal e Pushbutton resets GPIB VXI C asserts local reset signal e Back
189. y in the range 0 to 7 Action If lt level gt is in the range 1 to 7 VXIbus Interrupt Line lt level gt is assigned to Interrupt Handler lt handler gt If lt level gt is 0 the current VXIbus interrupt line held by Interrupt Handler lt handler gt is released Examples Assign the Interrupt Level 6 to the GPIB VXI C Interrupt Handler 2 AssgnHndlr 2 6 Release the interrupt level currently held by the GPIB VXI C Interrupt Handler 1 AssgnHndlr 1 0 National Instruments Corporation 3 51 GPIB VXI C User Manual Chapter 3 Local Command Set HandlerLine Purpose Get the level assigned to a GPIB VXI C interrupt handler Query Syntax HandlerLine lt handler gt Response Program response lt level gt lt CRLF gt Console response VXI interrupt Handler lt handler gt assigned to interrupt level lt level gt lt CRLF gt lt level gt is the interrupt level assigned to handler lt handler gt If lt level1 gt equals 0 Interrupt Handler lt handler gt is not assigned an interrupt level Example Get the interrupt level assigned to Interrupt Handler 3 HandlerLine 3 GPIB VXI C User Manual 3 52 ni com Chapter 3 Local Command Set RdHandlers Purpose Get the number of assignable GPIB VXI C interrupt handlers Query Syntax RdHandlers Response Program response 3 lt CRLF gt Console response This GPIB VXI has 3 configurable VXI interrupt handlers lt CRLF gt Example Get the
190. yntax RREG lt logical address gt lt reg offset gt where lt logical address gt is the device to read from and lt reg offset gt is the number of bytes to offset from the base of the VXI registers for that device Response Program response lt hex word value gt lt CRLF gt Console response Value 0x lt hex word value gt lt word value gt read from Logical Address lt logical address gt Register offset 0x lt reg offset gt lt CRLF gt Example Read Device Type register from Logical Address 12 RREG 12 2 National Instruments Corporation 3 41 GPIB VXI C User Manual Chapter 3 Local Command Set WREG Purpose Write a 16 bit VXI register on a particular device Query Syntax WREG lt logical address gt lt reg offset gt lt value gt where lt logical address gt is the device to write lt reg offset gt is the register offset to write to and lt value gt is the 16 bit value to write Action Write lt value gt to lt logical address gt register offset lt reg offset gt 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 Chapter 3 Local Command Set GPIB Address Configuration Commands and Queries 3 These GPIB address configuration commands are described in the following sections LaSaddr LasSaddr Primary SaddrLa Saddrs SaDisCon These commands and
191. yntax TrigCntrConf lt mode gt lt source gt lt count gt where lt mode gt specifies the configuration mode Value Mode 0 Initialize the counter 2 Reload the counter leaving enabled 3 Disable abort any count in progress lt source gt specifies the trigger line to configure as input to counter Value Trigger Line 0 to7 TTL trigger lines 0 to 7 8 to 9 ECL trigger lines 0 to 1 70 CLK10 71 EXTCLK and lt count gt specifies the number of input pulses to count before terminating National Instruments Corporation GPIB VXI C User Manual Chapter 3 Local Command Set Response Program response 0 Console response CNTR configured mode lt mode text gt source lt source text gt count lt count gt lt CRLF gt where the meaning of lt mode text gt corresponds to the value of lt mode gt Value of lt mode gt Value of lt mode text gt 0 INIT 2 RELOAD 3 DISABLE and the meaning of lt source text gt corresponds to the value of lt source gt Value of lt source gt Value of lt source text gt 0 to7 TTL lt line gt 8 to9 ECL lt line gt 8 70 CLK10 71 EXTCLK Example Configure the counter count 25 assertions on TTL trigger line 5 the lt protocol gt parameter when calling EnaTrigSense will determine whether the counter accepts SYNC or SEMI SYNC assertions TrigCntrConf

Download Pdf Manuals

image

Related Search

Related Contents

notice d`utilisation  Sony Pro Displays Brochure  VSD Series Drives User Manual - Johnson Controls  ALOKA Holding Europe AG Steinhauserstrasse 74 CH  Electrolux F36WC User's Manual  ルルド マッサージクッション N AX-HL148N  取扱説明書  inotec  AquAsnAp pLus Remote Controller 33AW-RC1  CoolMatic CRP-40 - Waeco Fridges UK  

Copyright © All rights reserved.
Failed to retrieve file