Manuale d’uso / di manutenzione del prodotto VME-PCI8022 del fabbricante National Instruments
Vai alla pagina of 154
Getting Started with Your VXI/VME-PCI8022 and the NI-VXI ™ Software for Solaris VXI/VME-PCI8022 f or Solaris June 1997 Edition Part Number 321413A-01 © Copyright 1997 National Instrument s Corporation.
s u pp o rt @ n a ti n st . com E-mail: i n fo @ na t i n st . com FTP Site : f tp . n a ti n st . com Web Address: h tt p :/ / w w w. n at i ns t .c o m B B S United States: ( 51 2 ) 79 4 -5 4 22 B B.
Important Information Warranty The National Instruments MXIbus boards and accessor ies are warranted against defects in materials and wor kmanship for a period of one year from the date of shipm ent, as evidenced by receipt s or other documentat ion.
FCC/DOC Radio Frequency Interference Class A Compliance This equip ment generates and uses radio frequency en ergy and, if not installed and u sed in strict accordance with the instructions in this manu al, may cause interference t o radio and television reception.
© National Instru ments Corpor ation v VXI/VME-PCI 8022 for Solaris Table of Cont ents About This M anual Organization o f T his M anua l .. . ..... . .... . ..... . ..... . .... . ..... . ..... . .... . ..... . .... . ..... . ..... . .... . ..... . .
T able of Cont ents VXI/VME-PCI 8022 for Solaris vi © Natio nal In strume nts C orporati on Chapter 3 VXI-MXI-2 Configurati on and Installati on Configur e the VXI-MXI-2 ................ ............................ ................. ................
T able of Cont ents © National Instru ments Corpor ation vii VXI/VME-PCI 8022 for Solaris Chapter 6 NI-VXI Configurat ion Util ity Running the VXIedit Configuration Utility ............... ................. ................. ................. 6-1 PCI-MXI-2 Co nfiguration Editor .
T able of Cont ents VXI/VME-PCI8022 for Solaris viii © Natio nal In strume nts C orporati on A16 and A24 /A32 Write Posting ......... ................. ................ ................. ........ 6-21 Interlocked Mod e ................ ..............
T able of Cont ents © National Instru ments Corpor ation ix VXI/VME-PCI8022 fo r Solaris Appendix A Specific ation s Appendix B NI-VXI Soft ware Overview Appendix C EEPROM Co nfiguratio n Appendix D Common Qu estions Appendix E Customer Communication Glossary Index Figures Figure 2-1.
T able of Cont ents VXI/VME-PCI 8022 for Solaris x © Natio nal In strume nts C orporati on Figure 4-1. VME-MXI-2 Parts Locator Diagram ................ ................. ................. .. 4-2 Figure 4-2. Base Address Selection ......... ..........
© Nati onal Instru ments Co rporation xi VX I/ V M E- P C I 80 2 2 f o r S ol a r is About This Manual This manual co ntains instruction s for installing and configurin g the National Ins trumen ts VX I-P CI8022 or V ME-PC I80 22 Serie s inter face kit for Solaris.
About This Ma nual VXI/VME-PCI802 2 for Solaris xi i © Natio nal In strume nts C orporati on This c ha pter a pp lies o nly if y ou ord ered the VME -PCI 802 2 interfac e kit. • Chapter 5, NI-V XI So ftware Inst allation , contains the instruc tions to install the NI-VXI software.
About This Ma nual © Nati onal Instru ments Co rporation xiii VX I/ V M E- P C I 80 2 2 f o r S ol a r is Conventions Used in This Manual The following conventions are used in this manual: bold Bold text den ote s para meter na mes, menu s, menu ite ms, or dialog box buttons or o ptions.
About This Ma nual VXI/VME-PCI802 2 for Solaris x i v © Natio nal In strume nts C orporati on How to Use This Documentation Set Begin by readin g this getting started manu al to guide you through the installation and co nfigura tion of the har dware and softw are.
About This Ma nual © Nati onal Instru ments Co rporation xv VX I/ V M E- P C I 80 2 2 f o r S ol a r is NI-VXI func tions. Study the d escriptions of e a ch function given in the NI-VXI Pr ogrammer Reference Manu al to fully understand the purpose and s yntax o f eac h func tion.
© Nati onal Instru ments Co rporation 1-1 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Chapter 1 Introduction and Quick Start This chapter desc ribes the VXI/VM E-PCI8022 interface kits, lists what you need to get starte d, introduc es the conc epts of MXI- 2, and include s a brief desc ription of the hardware and software .
Chapter 1 Int roduc tion and Quick Sta rt VXI/VME-PCI802 2 for Solaris 1 -2 © Natio nal In strume nts C orporati on How to Use This Manual VXI VME Gather What Y ou Need to Get Started Chapter 2 Chapt.
Chapter 1 Intro duction a nd Quic k St art © Nati onal Instru ments Co rporation 1-3 VX I/ V M E- P C I 80 2 2 f o r S ol a r is VXI/VME-PCI8022 Kit Overview The VXI/VME-PCI8022 interfa ce kits link .
Chapter 1 Int roduc tion and Quick Sta rt VXI/VME-PCI802 2 for Solaris 1 -4 © Natio nal In strume nts C orporati on products using a single cable. Thus, MXI- 2 lets CPU interface boar ds such as the PCI-MX I-2 perfor m as though they were plugged dire ctly into the VXI/VME backplane.
Chapter 1 Intro duction a nd Quic k St art © Nati onal Instru ments Co rporation 1-5 VX I/ V M E- P C I 80 2 2 f o r S ol a r is The V ME-M XI- 2 m odule is a sing le- slot, doub le-he ight V MEb us device with optional VM Ebus System Con troller functions.
Chapter 1 Int roduc tion and Quick Sta rt VXI/VME-PCI802 2 for Solaris 1 -6 © Natio nal In strume nts C orporati on Optional Software Your VXI/VME -PCI8022 kit includes th e NI-VXI bu s interface software.
Chapter 1 Intro duction a nd Quic k St art © Nati onal Instru ments Co rporation 1-7 VX I/ V M E- P C I 80 2 2 f o r S ol a r is • You will be using the NI-VXI software for initialization, configura tion, and devic e interaction. • You will use the default hardware and software settings.
Chapter 1 Int roduc tion and Quick Sta rt VXI/VME-PCI802 2 for Solaris 1 -8 © Natio nal In strume nts C orporati on chass is ar e not confi gure d as sys tem con trol ler. H avin g mor e than one device configured a s system controller will damage the VXI/VME system.
Chapter 1 Intro duction a nd Quic k St art © Nati onal Instru ments Co rporation 1-9 VX I/ V M E- P C I 80 2 2 f o r S ol a r is 4. Type the following command to remove the install script: rm INSTALL The NI-V XI dr iver fo r Solari s 2. x is added to the driver list automatically during installation.
Chapter 1 Int roduc tion and Quick Sta rt VXI/VME-PCI802 2 for Solaris 1- 10 © Natio nal In strume nts C orporati on This help file shows yo u the syntax for this command, which reads V XI device co nfiguratio n registers.
Chapter 1 Intro duction a nd Quic k St art © Nati onal Instru ments Co rporation 1-11 VX I/ V M E- P C I 80 2 2 f o r S ol a r is PCI-MXI- 2 Th is s ectio n summa rize s the h ardw are an d softw are de fault settin gs for the PCI -MX I-2. Tabl e 1-1.
Chapter 1 Int roduc tion and Quick Sta rt VXI/VME-PCI802 2 for Solaris 1- 12 © Natio nal In strume nts C orporati on Resource Manager Delay 5 s Map Upper/Lower Halves to Same Address Disab led Tabl e 1-3.
Chapter 1 Intro duction a nd Quic k St art © Nati onal Instru ments Co rporation 1-13 VX I/ V M E- P C I 80 2 2 f o r S ol a r is VXI/VME-MX I-2 This s ectio n summa rize s the h ardw are an d softw are de fault setti ngs for the VXI -MXI-2 a nd VME -MXI-2.
Chapter 1 Int roduc tion and Quick Sta rt VXI/VME-PCI802 2 for Solaris 1- 14 © Natio nal In strume nts C orporati on Conf igur a tion EE PRO M (U35 switc hes 3 and 4 ) User-modifiable; factory s ettings protected: both swit ches set t o NO.
Chapter 1 Intro duction a nd Quic k St art © Nati onal Instru ments Co rporation 1-15 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Requested Memory 16 KB * A16 Write Posting Dis abl ed A24/ A32 Wr ite.
© Nati onal Instru ments Co rporation 2-1 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Chapter 2 PCI-MXI-2 Configuration and Installation This ch apter co ntains t he instruc tions to c onfigure and install the PCI-MXI -2 module. Caution: Electr osta ti c d is ch arg e c an d ama ge se ver a l co mp onen ts on yo ur PCI-MXI-2 m odule.
Chapter 2 P CI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 2 -2 © Natio nal In strume nts C orporati on Figur e 2-1. PCI-MXI-2 Parts Locator Diagram 1U 1 7 2 DRAM 2 1.
Chapter 2 PCI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 2-3 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Configuration E EPROM The PC I-MXI-2 h as an onbo ard E EPROM, which store s defau lt register value s that ar e loaded at po wer-on.
Chapter 2 P CI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 2 -4 © Natio nal In strume nts C orporati on Install the PCI-MXI-2 This section contains general installati on instructions for the PCI-MXI -2. Consult your c omputer use r manual or te chnical ref erence manual for spec ific instru ctions a nd warnings.
Chapter 2 PCI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 2-5 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Figure 2-2 shows how to install the PCI-MXI-2.
© Nati onal Instru ments Co rporation 3-1 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Chapter 3 VXI-MXI-2 Configuration and Installation This ch apter co ntains t he instruc tions to c onfigure and install the VXI-MX I-2 module. This chapter ap plies only if you ordered th e VXI-PCI802 2 inte rface kit.
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3 -2 © Natio nal In strume nts C orporati on Figur e 3-1. VXI-MXI-2 Rig ht-Side Cover 1 U35 2W 2 3W 3 4S 8 5S 9 6S .
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-3 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Front Panel F eatures The VXI-MXI -2 has the following front panel feature s. • Three front pan el LEDs – SYSFAIL L ED indicates that the VMEbus SYSFAIL line is ass erted .
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3 -4 © Natio nal In strume nts C orporati on VXIbus Logi cal Add ress Each devic e in a V XIbus /MX Ib us system is a ssigned a unique n um ber between 0 a nd 254.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-5 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Figure 3-2 show s switch settin gs for log ical a ddress he x 1 and C0 .
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3 -6 © Natio nal In strume nts C orporati on Caution: Do not install a device configured for Slot 0 into another s lot without first reconfiguring it to either Non-Slot 0 or autom atic configuration.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-7 VX I/ V M E- P C I 80 2 2 f o r S ol a r is As required by the VXIbu s specificatio n, the VXI-MX I-2 drives th e 10 MHz signal CLK10 on a diff erentia l ECL output wh en installed in Slot 0.
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3 -8 © Natio nal In strume nts C orporati on Figur e 3-4. VXIbus Loca l Bus Confi guration VXIbus CLK10 Routing When the VXI-MX I-2 is installed in Slot 0 of your mainfram e, it supplies th e VXIbus CLK10 signal.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-9 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Figur e 3-5. VXIbus CLK10 R o utin g a. CLK10 Generated from Onboard Oscillator (Default) b. CLK10 Generated from SMB c.
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3- 10 © Natio nal In strume nts C orporati on The VXI- MXI-2 can also be configured to driv e the external CLK SMB signal from the VXIbus CL K 10 signal. Switch S3 co ntrols whether the VXI-MXI -2 drives or rec eives the exter nal CLK SMB signal.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-11 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Figur e 3-6.
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3- 12 © Natio nal In strume nts C orporati on The VX I-MXI- 2 can also drive o r rece ive the M XIbus CLK 10 sign al. Switch S7 controls wh ether the VXI- MXI-2 driv es MXIbus CLK1 0 from the VXIb us CLK10 or r eceives M XIbus CLK 10.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-13 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Figur e 3-8.
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3- 14 © Natio nal In strume nts C orporati on Use switch 2 of U3 5 to select whethe r you want the VXI -MXI-2 to automatica lly c ontrol termina tion of the M XIbus.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-15 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Configuration E EPROM The V XI-M XI-2 h as an o nboar d E EPROM , whic h s tores def ault regist er v alu es th at ar e l oa de d a t p o wer -o n.
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3- 16 © Natio nal In strume nts C orporati on Figur e 3-10 . EEPROM Op eration a. Boot from User Configuration (Factory Configuration Protected) (Default) b. Boot from Factory Configuration (Factory Configuration Protected) c.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-17 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Onboard DRAM The VXI-M XI-2 ca n accommoda te up to two 1.35 in. DRAM SIM Ms. Table 3 -1 lists the SIMMs you can use.
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3- 18 © Natio nal In strume nts C orporati on Table 3-1. VXI-MXI-2 DRAM Configuratio ns Bank 0 Bank 1 Total DRAM Na.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-19 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Install the VXI-MXI-2 This section contains general installati on instructions for the VXI-MXI-2 .
Chapter 3 V XI-MXI-2 Con figurat ion and Installat ion VXI/VME-PCI802 2 for Solaris 3- 20 © Natio nal In strume nts C orporati on Connect the MXIbus Cable There ar e tw o b asic t yp es of M XI- 2 c abl es.
Chapter 3 VXI-MXI-2 Co nfigura tion and I nstallatio n © Nati onal Instru ments Co rporation 3-21 VX I/ V M E- P C I 80 2 2 f o r S ol a r is When you h ave pro pe rly co nne cted the M XI-2 c abl e, po w er on the VXIbus mainf rame and then th e computer .
© Nati onal Instru ments Co rporation 4-1 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Chapter 4 VME-MXI-2 Configuration and Installation This ch apter co ntains t he instruc tions to c onfigure and install the VME-MX I-2 m odu le. T his c hapte r ap plies only if you or de red the VME-PCI802 2 interfa ce kit.
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation VXI/VME-PCI802 2 for Solaris 4 -2 © Natio nal In strume nts C orporati on Figu re 4-1. VME-MXI-2 Parts Locator Di agram 1S 2 2 U21 3W 2 4 U20 5 .
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation © Nati onal Instru ments Co rporation 4-3 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Front Panel F eatures The VME- MXI-2 ha s the followi ng front pan el feature s. • Three front pan el LEDs – SYSFAIL L ED indicates that the VMEbus SYSFAIL line is ass erted .
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation VXI/VME-PCI802 2 for Solaris 4 -4 © Natio nal In strume nts C orporati on more information on setting base addresses on a multimainfram e hierarchy. Figure 4-2 show s switch settin gs for A16 base addr ess he x C040 an d F000.
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation © Nati onal Instru ments Co rporation 4-5 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Notice that a f ourth position is also available on the jumper. This is the factory- default setting, which doe s not connect the VME -MXI-2 to any user-defined pin.
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation VXI/VME-PCI802 2 for Solaris 4 -6 © Natio nal In strume nts C orporati on (Figure 4- 4b), or off (Figur e 4- 4c).
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation © Nati onal Instru ments Co rporation 4-7 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Configuration E EPROM The VME -MXI-2 has an onboar d EEPROM, which stores defau lt regist er v alu es th at ar e l oa de d a t p o wer -o n.
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation VXI/VME-PCI802 2 for Solaris 4 -8 © Natio nal In strume nts C orporati on Figur e 4-5. EEPROM Operation Onboard DRAM The VM E-MXI-2 can ac commoda te up to two 1 .35 in. DRAM SI MMs. Table 4-1 lists the SIMM s you can use.
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation © Nati onal Instru ments Co rporation 4-9 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Switch S2 is u sed to select the size of e ach SIMM. If t he SIMMs are 4 M x 32 or larger, S2 shou ld be in the OFF setting as shown in Figure 4-6a.
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation VXI/VME-PCI802 2 for Solaris 4- 10 © Natio nal In strume nts C orporati on Install the VME-MXI-2 This section contains general installati on instructions for the VME-MXI- 2.
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation © Nati onal Instru ments Co rporation 4-11 VX I/ V M E- P C I 80 2 2 f o r S ol a r is 3. Insert the V ME-MXI-2 in the slot you have se lected by a ligning the top and b ottom of the b oa rd w ith the ca rd-ed ge g uides inside th e mainframe.
Chapter 4 VME -MXI-2 Co nfigura tion and Insta llation VXI/VME-PCI802 2 for Solaris 4- 12 © Natio nal In strume nts C orporati on Figur e 4-7. MXI- 2 Cable Co nfi gurat ion Us ing a PCI -MXI -2 and a VM E-MXI -2 When you h ave pro pe rly co nne cted the M XI-2 c abl e, po w er on the VMEbu s mainfram e and then the compute r.
© Nati onal Instru ments Co rporation 5-1 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Chapter 5 NI-VXI Software Installation Installing and Loading the NI-VXI Software for Solaris 2. x The instructions in this section are specifi c to users of the Solaris 2.
Chapter 5 NI-VXI Software Installation VXI/VME-PCI802 2 for Solaris 5 -2 © Natio nal In strume nts C orporati on Loading th e NI-VXI Driver for Solaris 2 . x The NI-V XI dr iver fo r Solari s 2. x is added to the driver list automatically during installation.
Chapter 5 NI-VXI Software Installation © Nati onal Instru ments Co rporation 5-3 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Using the NI-VXI Software The NI-V X I s of twa re e xp ect s t o be lo ad ed in th e /opt/NICpcimxi directory.
© Nati onal Instru ments Co rporation 6-1 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Chapter 6 NI-VXI Configuration Utility This ch apter co ntains i nstructions f or using the VXI Re source Ed itor utility of the NI-VXI software to configure the PCI-MXI-2 and the VXI-MXI -2 or VME-MXI- 2.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6 -2 © Natio nal In strume nts C orporati on Figure 6-1 sh ow s the m a in m enu of th e vxiedi t resource ed itor.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-3 VX I/ V M E- P C I 80 2 2 f o r S ol a r is PCI-MXI-2 Configuration Editor Figure 6-2 shows the opening sc reen of the PCI-MXI-2 Configura tion Editor .
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6 -4 © Natio nal In strume nts C orporati on Before proceed ing to a desc ription of each field in th ese editors, r eview the remaining four options of the PC I-MXI-2 Configuration Editor .
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-5 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Logical Ad dress Config uration Edi tor Figure 6-3 show s the Logical Address Configuration Editor.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6 -6 © Natio nal In strume nts C orporati on Device Type This field indicates the cla ssification of the PCI-MXI-2. The def ault value is MBD , d esignati ng a m essage-based devi ce.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-7 VX I/ V M E- P C I 80 2 2 f o r S ol a r is VXI/VME Shared Memory The VXI S hared Memory grou p con tains the c ontrols to se t the V XI and VME shared RAM size a nd the sh ared RAM poo l.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6 -8 © Natio nal In strume nts C orporati on The share d RAM poo l is u s ed b y V XIme mAllo c() function calls. For information on the VXIm emAll oc() fu nction , refer to the NI-VXI User Manual and the NI-VXI Progra mmer Reference Manual .
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-9 VX I/ V M E- P C I 80 2 2 f o r S ol a r is The VXI/ VME shar ed RAM is divided into two halve s, or windo ws . You can sele ct the byte order for each ha lf indepen dently.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 10 © Natio nal In strume nts C orporati on If the wi ndow s both m ap to the shar ed RAM destina tion but the by te order is dif fe rent, the b ase of e ach inw ard w indow map s to the ba se of the shared RAM destination.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-11 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Device Co nfigura tion E ditor Figure 6-5 show s the Device Configuration Editor . The follow ing paragra phs describe the options you ca n selec t for each o f the fields.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 12 © Natio nal In strume nts C orporati on System IRQ Level The remo te controllers—in this case the VXI /VME-MXI-2—ca n report even ts suc h as tri ggers an d DMA to the PCI- MXI -2 throu gh a VXI IRQ line.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-13 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Number of Interrupters This fi el d g ive s t he n umb er o f in te rr up ters t ha t t he PC I-M XI- 2 supports.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 14 © Natio nal In strume nts C orporati on Bus Configuration Editor Figure 6-6 show s the B us Configuration Editor . The followi ng paragra phs describe the options you ca n selec t for each o f the fields.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-15 VX I/ V M E- P C I 80 2 2 f o r S ol a r is before making a ny N I-VX I f unctio n calls or attem pting to u se the VXI/VME-MXI-2 Config uration Editor . Refer to the C on nect th e MXIbus Cable section at the end of either Chap ter 3 or Chapte r 4 of this manual.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 16 © Natio nal In strume nts C orporati on Caution: Do not configure more than one MXIbus de vice to drive MXIb us CLK10. Having a se cond devi ce driving M XIbus CLK10 could damage the device.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-17 VX I/ V M E- P C I 80 2 2 f o r S ol a r is receives either a DTACK or BERR response, which it then pass es to the MXI bus. This is the defa ult situation because ma ny external maste rs do not support VXI/M XI retries.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 18 © Natio nal In strume nts C orporati on Window Size The am oun t of spac e yo u ca n alloc ate f or the u ser wi ndo w is s ystem dependent. You c an use the Size co ntro l t o s el ect th e size of th e us er window (min imum of 4 KB, m ax imum of 2 GB).
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-19 VX I/ V M E- P C I 80 2 2 f o r S ol a r is VXI/VME-MXI-2 Configuration Editor Before ru nning the VXI/VME-MXI-2 Configuration Editor , you must run resman .
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 20 © Natio nal In strume nts C orporati on Figur e 6-8. VX I/VME -MX I-2 Co nfigu rat ion Ed ito r LA Selection an d Logi cal A.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-21 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Address Space and Req uested Memory The VXI/V ME- MXI -2 requ ir es at lea st 16 KB of address space in A24 space or at least 64 KB in A32 space.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 22 © Natio nal In strume nts C orporati on The A2 4/A32 wr ite post ing cont rol affects w rite cy cles that map through the A24 window and A32 win dow fro m the VXI/VM Ebus to the MXI bus and vice- versa .
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-23 VX I/ V M E- P C I 80 2 2 f o r S ol a r is In a VXI/VMEbus/ MXIbus system, you can configur e some VXI/VM E-MXI-2 modules for normal opera ting mode and othe rs for interlocked ar bitration mode.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 24 © Natio nal In strume nts C orporati on Otherwi se, choose eith er the Yes or No option. Notice that selecting either of these op tions o ve rrid es the onboa rd jumpe r setting on the VXI-MXI- 2, so it will not matter how the jumper is set .
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-25 VX I/ V M E- P C I 80 2 2 f o r S ol a r is . Figu re 6-9. Advan ced V XI Se ttings VXI/VME Au to Retry The VXI/V ME-MXI- 2 has an automatic r etry featur e for cycles that map from the V XI/VMEbus to the MXIbus .
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 26 © Natio nal In strume nts C orporati on Transfer Limit You can use this featu re to control how ma ny data transf ers the VXI/VM E-MX I-2 will perf orm on the VXI /VME bus befor e releasing it to another master dev ice that is requ esting use of the bus.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-27 VX I/ V M E- P C I 80 2 2 f o r S ol a r is VXI/VME Fair Requester The VXI / VME -M X I-2 is al w ay s a R ele ase On Re qu est re que st e r. Howeve r, you can co nfigure whet her the VXI /VME-MXI- 2 acts as either a fair or unfair requester on the VXI/VME bus.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 28 © Natio nal In strume nts C orporati on control desc ribed p re viously unde r the VXI/VME Bu s Optio ns section. The optio ns range from 8 µ s to 128 ms, with a default value of 1 ms.
Chapter 6 NI-VXI Configuration Utility © Nati onal Instru ments Co rporation 6-29 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Norma lly, when a cycl e maps fr om the MXIbus to the VX I/VMEbus , any retry re sponse rece ived on the VXI/V MEbus is passed to the MXIbus.
Chapter 6 NI-VXI Configura tion Utility VXI/VME-PCI802 2 for Solaris 6- 30 © Natio nal In strume nts C orporati on MXI CLK10 S ignal The VX I-MXI-2 c an eith er rec eive or driv e the MX Ibus CLK 10 signal. In its def ault setting, the V XI-MXI-2 uses the swit ch setting of S7 to determ ine the si gnal directi on.
© Nati onal Instru ments Co rporation 7-1 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Chapter 7 Using the NI-VXI Software This chapter discusses pro gram ming information for you to consider when developi ng applicati ons tha t use th e NI-VXI driver .
Chapter 7 U sing th e NI-VXI Softw are VXI/VME-PCI802 2 for Solaris 7 -2 © Natio nal In strume nts C orporati on Note : When compiling NI-VXI applications, you must define the VXISOLARIS macro in your make file/proj ect. Refer to the e xample pr ograms on y our software diskettes fo r details.
Chapter 7 U sing th e NI-VXI Softwa re © Nati onal Instru ments Co rporation 7-3 VX I/ V M E- P C I 80 2 2 f o r S ol a r is The func tion MapVXI Address () retur ns a pointer for use with low-level acc ess functio ns.
Chapter 7 U sing th e NI-VXI Softw are VXI/VME-PCI802 2 for Solaris 7 -4 © Natio nal In strume nts C orporati on System Co nfigu rati on Functi ons The Syste m C onfigur ation func tions p rov ide the low est-le vel initialization of your NI-VXI softwar e and VXI c ontroller.
Chapter 7 U sing th e NI-VXI Softwa re © Nati onal Instru ments Co rporation 7-5 VX I/ V M E- P C I 80 2 2 f o r S ol a r is Refer t o the documentation t hat came with your compiler pac kage for detailed instructions abo ut using the compiler an d the variou s tools (link er, debu gger, and so on).
© National Instru ments Corpor ation A-1 VXI/VME-PCI80 22 for Solaris Appendix A Specifications This append ix lists various module specifi cations of the PCI-MX I-2, VXI-MX I-2 , and V ME -MXI-2 such as physic a l dimensions a nd pow er requirem ents.
Appendix A S pecifica tions VXI/VME-PCI802 2 for Solaris A-2 © Natio nal In strume nts C orporati on PCI Functio nality Requiremen ts Characteristic Specification PCI Initiator (Master) Capability Su.
Appendix A Spec ifications © National Instru ments Corpor ation A-3 VXI/VME-PCI80 22 for Solaris Environment al Physical Electrical Perfo rmance Characteristic Specification Temperature 0° to 55° C.
Appendix A S pecifica tions VXI/VME-PCI802 2 for Solaris A-4 © Natio nal In strume nts C orporati on VXI-MXI-2 The following pages list the specifications for the VXI-MXI-2 module.
Appendix A Spec ifications © National Instru ments Corpor ation A-5 VXI/VME-PCI80 22 for Solaris VMEbus Capability Codes Capability Code Description A32, A24, A16 (m aster) VMEbus master A3 2, A24, a.
Appendix A S pecifica tions VXI/VME-PCI802 2 for Solaris A-6 © Natio nal In strume nts C orporati on Requiremen ts Environment al Physical Characteristic Specification VXIbus Co nfiguration Space 64 .
Appendix A Spec ifications © National Instru ments Corpor ation A-7 VXI/VME-PCI80 22 for Solaris Electrical Performance DC Current Ratings Source Typi cal Maxi mum +5 VDC 2.
Appendix A S pecifica tions VXI/VME-PCI802 2 for Solaris A-8 © Natio nal In strume nts C orporati on VME-MXI-2 The following pages list the specificat ions for the VME-MXI-2 module.
Appendix A Spec ifications © National Instru ments Corpor ation A-9 VXI/VME-PCI80 22 for Solaris VMEbus Capability Codes Capability Code Description A32, A24, A16 (m aster) VMEbus master A3 2, A24, a.
Appendix A S pecifica tions VXI/VME-PCI802 2 for Solaris A-10 © Natio nal In strume nts C orporati on Requiremen ts Environment al Physical Electrical Characteristic Specification A16 Space 64 B A24 .
Appendix A Spec ifications © National Instru ments Corpor ation A-1 1 VXI/VME-PCI8022 for Solaris Perfo rmance VME Transfer Rate Peak 33 MB/s Sustained 23 MB/s.
© National Instru ments Corpor ation B-1 VXI/VME-PCI80 22 for Solaris Appendix B NI-VXI Software Overview This appendix lists and describes the main programs and files that make up the NI-VX I software . Main Programs and Files This se ction lists the m ain progr ams an d f iles that you can us e for controlling your VXI/VME inter face.
Appendix B N I-VXI Softwa re Over vie w VXI/VME-PCI802 2 for Solaris B-2 © Natio nal In strume nts C orporati on system configu ration informa tion generated by the Resource Manager after it configures the link to the VMEbus. In VXI systems, you also use vx iedit to ed it the mode l names of VXI devices an d the manufactur er name and ID numbers.
© National Instru ments Corpor ation C-1 VXI/VME-PCI80 22 for Solaris Appendix C EEPROM Configuration This append ix describe s how to control the op eration of the PCI-MXI-2 onboard EEPROM and how to fix an invalid EEPROM setting. The EEPROM store s default regi sters values that are l oaded at power-on.
Appendix C EE PROM Conf iguration VXI/VME-PCI802 2 for Solaris C-2 © Natio nal In strume nts C orporati on Figur e C-1. EEPROM Operat ion Fixing an Invalid EEPROM Configuration Certain EE PRO M config urations ca n c ause you r PC I com pute r to lock up while in its boot process.
Appendix C EEP ROM Configura tion © National Instru ments Corpor ation C-3 VXI/VME-PCI80 22 for Solaris Note : If you have to remove the PCI-MXI-2 module to access switch 1, follow the installation instructions given in Chapter 2, PCI-MXI-2 Configuration and Installation , to re-install the PCI-MXI-2 module.
© National Instru ments Corpor ation D-1 VXI/VME-PCI8022 for Solaris Appendix D Common Questions This ap pe ndix add re sses comm on questions y ou may have about using the NI-V XI bus interface so ftware on the PCI- MXI-2 platfo rm.
Appendix D C ommon Que stions VXI/VME-PCI802 2 for Solaris D-2 © Natio nal In strume nts C orporati on Which NI-VX I utility program must I use to perf orm startup Resource Ma nager operations? Use t he resm an progr am to perf or m s tartup R eso urce Man ager operations.
Appendix D Common Que stions © National Instru ments Corpor ation D-3 VXI/VME-PCI8022 for Solaris Are the PC I-MX I-2 and the VX I-M XI -2 two dev ice s o r one with respec t to the VXIbus? Both the PCI- MXI-2 and th e VXI-MXI- 2 are unique VXI bus devi ces with their own logical addresses.
Appendix D C ommon Que stions VXI/VME-PCI802 2 for Solaris D-4 © Natio nal In strume nts C orporati on Whenever I try to e xecut e any of the NI-VX I utilitie s, I receive this message: ld.so.1: ./vxiinit: fatal: libnivxi.s o.1: can’t open file: errno=2 Killed.
© National Instru ments Corpor ation E-1 VXI/VME-PCI80 22 for Solaris Appendix E Customer Communication For your convenience, this appendix contains forms to he lp you gather the infor mation necessa ry to help us solve y our tech nica l p roblem s a nd a fo rm yo u ca n use to comm en t on the prod uc t documen tation.
Fax-on- Demand is a 2 4-hour inf ormation retr ieval syst em containing a library of d ocuments on a wide range of tech nical information. You can access Fa x-on-Demand from a touch-tone telephon e at (512 ) 418-1111 .
Technical Support Form Photocopy this fo rm and update it each time y ou make ch anges to you r software or h ardware, and use the completed copy of th is form as a reference for your current configuration.
Hardware and Software Configuration Form Record the setting s and revision s o f your h ar dware a nd sof twa re o n th e lin e to th e righ t of eac h item. Comp lete a n ew cop y of this f orm ea ch time y ou revise your sof tware or ha rdwa re configura tion, and use this form a s a reference for your curr ent config uration.
MXI System Con trolle r ________________ ___ ___ ____ ______ ___ ___ ____ ______ ___ ___ __ MXI Bu s Ti meout Va lue _________ ___ ___ ___ _______ ___ ___ ___ _______ ___ ___ ___ _____ MXI CL K10 __ _.
DRAM SIM Ms Installed ________ ______ ______ _______ _________ _______ ______ _______ VXI/VME-MXI-2 Confi guration Editor Settings (VXIedit) Logical A ddre ss _______ _______ ___ ___ ___ _______ ___ _.
Programm ing Langu age ______ __________ ______ _______ ______ __________ ______ _____ Programm ing Langu age Ver sion ___ ______ __________ ______ ______ _______ _________ __ Other Bo ar ds in Sy ste.
Documentation Comment Form National Instruments encourages you to comment o n the docum entation supplied with o ur products. Th is inform ation helps us provide qua lity pr oducts to m eet y our nee ds.
© National Instru ments Corpor ation G-1 VXI/VME-PCI8022 for Solaris Glossary Symbols ° degr ees Ω ohms % perce nt A A amper es A16 space VXIbus addr ess space equiva lent to the VME 64 KB sho rt address space. In VXI, the upper 16 KB of A16 sp ace is allocate d for use by VXI devices con figuration registers.
Gloss ar y VXI/VME-PCI802 2 for Solaris G-2 © Natio nal In strume nts C orporati on A32 space VXIbus addr ess space equiva lent to the VME 4 GB ex ten ded address space.
Glossary © National Instru ments Corpor ation G-3 VXI/VME-PCI8022 for Solaris binary A numbe ring sy stem with a base of 2. BIOS Basic Input/O utput System.
Gloss ar y VXI/VME-PCI802 2 for Solaris G-4 © Natio nal In strume nts C orporati on D daisy-cha in A method o f p rop agating signa ls al ong a b us, in whic h th e de vic es ar e prioritized on the basis of their position o n the bus. Data Transfe r Bus DTB; one of four b uses on th e VMEb us backpla ne.
Glossary © National Instru ments Corpor ation G-5 VXI/VME-PCI8022 for Solaris EMI Electromagnetic I nterference expansion ROM An onboard EEPROM that may co ntain device- specific initializa tion and system boot fun ctionality.
Gloss ar y VXI/VME-PCI802 2 for Solaris G-6 © Natio nal In strume nts C orporati on K KB Ki lobytes of memory L LED Light Emitti ng Diode logical address An 8-bit number that uniquely identifie s each VXIbus device in a system. It defines the A16 re gister address of a device , and indicate s Commander a nd Servant relationsh ips.
Glossary © National Instru ments Corpor ation G-7 VXI/VME-PCI8022 for Solaris by including VXI trigge rs, a ll VXI in terrupts, C LK10, SYSFAIL*, SYSRESET*, and ACFAIL*. MXIbus Multisystem eXtension Inter face Bus; a high -perform ance communic ation link tha t interc onn ects d evices usin g roun d, flexible cable s.
Gloss ar y VXI/VME-PCI802 2 for Solaris G-8 © Natio nal In strume nts C orporati on RESMAN The name of the N ationa l Instrum ents Re source M anager in NI-VX I bus interf ace softwar e.
Glossary © National Instru ments Corpor ation G-9 VXI/VME-PCI8022 for Solaris System RAM RA M installed on your pe rsonal compu ter and used by the operating system, as contrasted with onboard RAM, which is installed on the PCI-MX I -2 or V XI/ V ME-M X I-2 .
Gloss ar y VXI/VME-PCI802 2 for Solaris G-10 © Natio nal In strume nts C orporati on VXIe dit or VX I Reso urce Edit or progr am, a p art of the NI -VXI b us inter face VXIted it software pa ckage.
© Nati onal Instru ments Co rporation I-1 VX I /V M E- P C I 80 2 2 f o r S o la r is Index A A16 base ad dress, VMEbus, 4 -3 to 4- 4 A16 write posting, VME/VXI-MXI- 2, 6-21 to 6-22 A24/A32 wr ite po.
Index VXI/VME-PCI802 2 for Solaris I -2 © Natio nal In strume nts C orporati on default setting s Bus Config uration Editor (ta bl e), 1-1 2 Device Config uration Editor (ta bl e), 1-1 2 hardware set.
Inde x © Nati onal Instru ments Co rporation I-3 VX I /V M E- P C I 80 2 2 f o r S o la r is VME-MXI- 2 module Confi guratio n Editor settings (table), 1-14 to 1-15 hardware settings (table), 1-1 4 VXI-MXI-2 modu le Confi guratio n Editor settings (table), 1-14 to 1-15 hardware settings (table), 1-1 3 Device Conf ig urat io n Edi t or.
Index VXI/VME-PCI802 2 for Solaris I -4 © Natio nal In strume nts C orporati on quick start installat ion, 1-7 to 1 - 8 header files, B-2 I InitV XIlibr ary f uncti on, 7-4 installation hardware installation, 1-7 to 1-8 NI-VXI software f or Solaris 2.
Inde x © Nati onal Instru ments Co rporation I-5 VX I /V M E- P C I 80 2 2 f o r S o la r is N NI-VXI software common q ues tio ns, D-1 to D-4 compili ng C prog rams, 7-4 to 7-5 symbols , 7-4 to 7 -5 desc ripti on, 1- 5 example prog rams, 7-2 installing and load ing NI-VXI software for So lari s 2.
Index VXI/VME-PCI802 2 for Solaris I -6 © Natio nal In strume nts C orporati on over vie w, 6 -3 to 6- 4 Record Configu ration to File, 6-4 Reve rt to C urre nt C onf igura tion , 6 -4 saving chan ge.
Inde x © Nati onal Instru ments Co rporation I-7 VX I /V M E- P C I 80 2 2 f o r S o la r is Reque st er. See Fair Requester. RESMAN uti lity fixing system hangups, D-4 over view , B- 1 performing st.
Index VXI/VME-PCI802 2 for Solaris I -8 © Natio nal In strume nts C orporati on VME-MXI- 2 module common q ues tio ns, D-1 to D-4 config uration, 4- 1 to 4-10 configuration EEPR OM, 4-7 to 4-8 front .
Inde x © Nati onal Instru ments Co rporation I-9 VX I /V M E- P C I 80 2 2 f o r S o la r is onboard DRAM, 3-17 to 3-18 DRAM config urati on s (tabl e), 3-18 SIMM size configuration (figur e), 3-17 r.
Index VXI/VME-PCI802 2 for Solaris I- 10 © Natio nal In strume nts C orporati on VMEbus S ystem Controller, 6 -23 to 6-24 VXI/VME Auto Retry, 6-25 VXI/VME BTO Value, 6-24 VXI/VME-PCI 8022 kit hardwa .
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il National Instruments VME-PCI8022 è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del National Instruments VME-PCI8022 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso National Instruments VME-PCI8022 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul National Instruments VME-PCI8022 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il National Instruments VME-PCI8022, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del National Instruments VME-PCI8022.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il National Instruments VME-PCI8022. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo National Instruments VME-PCI8022 insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.