National Instruments 370551A-01 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones National Instruments 370551A-01. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica National Instruments 370551A-01 o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual National Instruments 370551A-01 se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales National Instruments 370551A-01, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones National Instruments 370551A-01 debe contener:
- información acerca de las especificaciones técnicas del dispositivo National Instruments 370551A-01
- nombre de fabricante y año de fabricación del dispositivo National Instruments 370551A-01
- condiciones de uso, configuración y mantenimiento del dispositivo National Instruments 370551A-01
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de National Instruments 370551A-01 no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de National Instruments 370551A-01 y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico National Instruments en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de National Instruments 370551A-01, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo National Instruments 370551A-01, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual National Instruments 370551A-01. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    MXI TM Getting Started with Your PCI-MXI-2 and the NI-VXI TM /NI-VISA TM So ftware for Linux PCI-MXI- 2 for Linux May 2002 Edi tion Part Numb er 37055 1A-01[...]

  • Página 2

    Supp ort Worl dwide Tec hnical Supp ort and Pro duct Inform ation ni.com Nati onal In strum ents C orpor ate He adqu art ers 11500 Nor th Mop ac Expressway Austin, T exas 787 59-35 04 USA Te l: 512 683 0100 Worldwide Offices Aus tralia 03 987 9 5166, Au stria 0 662 45 79 90 0, Belgium 02 75 7 00 20, Braz il 011 3262 3 599, Can ada (Cal gary ) 403 2[...]

  • Página 3

    Important Information Warrant y The National Instruments MXIbus boards and accessories are warrante d against defects in materials and workmanship for a period of one year from the da te of shipment , as evidenc ed by receipt s or other documenta tion. Nat ional Instrume nts will, at its option, repa ir or repla ce eq uipment that proves to be defe[...]

  • Página 4

    Compliance FCC/Canad a Radio Freq uency Interfere nce Compliance* Determining FCC Class The Fed eral Co mmunicati ons Commis sion ( FCC) h as rules t o prote ct wire less commu nicat ions from interfe rence. The F CC places digi tal electron ics into two classes. Th ese classe s are known as Cl ass A (for use in indu strial-com mercial locations on[...]

  • Página 5

    Canadia n Depar tment o f Commun ications This Class B di gital appa ratus meet s all requirem ents of the Canadia n Interfere nce-Ca using Equi pment Re gulations. Cet appare il numériqu e de la classe B respe cte toutes les exi gences du Règlement sur le matéri el brouille ur du Canad a. Compliance to EU Directives Readers i n the Europea n Un[...]

  • Página 6

    © Nationa l Instrume nts Corpora tion vii PCI-MXI-2 for Linux Contents About This M anual How To Use the Manual Set ................ ........... ................. ........... ................. ............ ...... xi Convention s ............. ........... ................. ........... ................. ........... ................. ............ ...[...]

  • Página 7

    Contents PCI-MXI-2 for Linu x viii ni.com VXIbus CLK10 Ro uting ........... ........... ................. ........... ................. ............ .. 3-8 Trigger Input Termination .. ................. ........... ................. ............ ................. .. 3-12 MXIbus Terminatio n ................. ................. ........... ..........[...]

  • Página 8

    Contents © Nationa l Instrume nts Corpora tion ix PCI-MXI-2 for Linux VXI/VME Shared Memory ................. ................. ........... ................. . 6-6 VXI/VME Shared RAM Size ................ ........... ................. . 6 -7 Shared RAM Pool ................. ................. ........... ................. . 6-7 Advanced Shared RAM[...]

  • Página 9

    Contents PCI-MXI-2 for Linu x x ni.com Advanced MXI Settings ................... ............ ................. ........... ........ 6-28 MXI Auto Retr y ............ ................. ........... ................. ........ 6-28 Transfer Limit .................... ................. ............ ........... ........ 6-29 Parity Checking ............[...]

  • Página 10

    © Nationa l Instrume nts Corpora tion xi PCI-MXI-2 for Linux About This Manual This manual co ntains i nstructions for inst alling and co nf iguring the National Instruments P CI-MXI-2 kit s for Linux . The VXI MXI-2 ki t includes a VXI-MXI-2 modu le that plugs into a VXI mainframe an d links your PCI-b ased computer to the VXIb us. The VME MXI- 2[...]

  • Página 11

    About This Ma nual PCI-MXI-2 for Linu x xii ni.com Begin by reading this getting started manual to guid e you through the install ation and con fi guration of the hardw are and s oftwa re. Y ou shoul d install and configure the components of the PCI-MXI -2 kit in the order in which this manual describes th em. Be sure to revie w the Quick Star t an[...]

  • Página 12

    About This Ma nual © Nationa l Instrume nts Corpora tion xiii PCI-MXI-2 for Li nux italic Italic text denotes variables, emphasis, a cross reference, an intr oduction to a ke y concept, or te xt as it appears on a hardwar e label. This font also denotes te xt that is a p laceholder for a word or value that you must supply . monospace T ex t in thi[...]

  • Página 13

    © National Inst ruments Cor poration 1-1 PCI-MXI-2 for Linux 1 Introduction and Quick Start This chapter describe s the PCI-MXI-2 kits, list s what you need to ge t started, introdu ces the concepts of MXI-2, and includes a brief description of the hardwar e and so ftware. This chapter also contains a Quick Start section, which has the basic infor[...]

  • Página 14

    Chapte r 1 Intr oduct ion and Qu ick St art PCI-MXI-2 for Linux 1-2 ni.com How to Use This Manual VXI VME Gather What Y ou Need to Get Star ted Chapter 2 Chapter 6 Chapter 5 Chapter 7 Chapter 4 Software and Utilities Reference Chapter 1 Write Application Program Using VXI or VME? Configure and Install the PCI-MXI-2 Install the NI-VXI/VISA Software [...]

  • Página 15

    Chapt er 1 Introduc tio n and Quic k St art © National Inst ruments Cor poration 1-3 PCI-MXI-2 for Linux PCI-MXI-2 Kit Over view The PCI-MXI-2 ki ts link any computer with a PCI bus (her eafter referred to as a PCI-based computer) directly to the VXIbu s or VMEb us using th e high-speed Multisystem eXtension Interface bus (MXI-2). A PCI-based comp[...]

  • Página 16

    Chapte r 1 Intr oduct ion and Qu ick St art PCI-MXI-2 for Linux 1-4 ni.com In addi tion, MXI-2 b oosts data throughput performan ce past pre vious-gener ation MXIb us products b y def ining n e w high-per formance protocols. MXI-2 is a s uperset of MXI. All accesses initiated by MXI de vices will wor k with MXI- 2 de vices. Ho we ver , MXI-2 def in[...]

  • Página 17

    Chapt er 1 Introduc tio n and Quic k St art © National Inst ruments Cor poration 1-5 PCI-MXI-2 for Linux PCI bus to the VMEb us. The VME-MXI-2 can automatically deter mine if it is located in the first slot of a VMEb us chassis and if it is the MXIbus System Controller . Also, the VXI-MXI-2 and VME-MXI-2 auto matically terminate the MXIbus if inst[...]

  • Página 18

    Chapte r 1 Intr oduct ion and Qu ick St art PCI-MXI-2 for Linux 1-6 ni.com Optional Software Your PCI-MXI-2 kit includes the NI-VXI/NI-VISA bus interface software. In addi tion, you can use Nation al Instrume nts La bVIEW to ease yo ur programmi ng task. Thi s standardized pr ogram matc hes the modul ar virtual instrument capability of VXI and can [...]

  • Página 19

    Chapt er 1 Introduc tio n and Quic k St art © National Inst ruments Cor poration 1-7 PCI-MXI-2 for Linux Hardware Inst allation To guard agains t electrostatic discharge, touch the antistatic plastic package to a metal par t of your comp uter before remov ing the PCI-MXI-2 from the pack age. Install the PCI-MXI- 2 in an available PCI s lot in your[...]

  • Página 20

    Chapte r 1 Intr oduct ion and Qu ick St art PCI-MXI-2 for Linux 1-8 ni.com Installing an d Loading t he NI-VXI/ NI-VISA Software for L inux For information on ins talling, uninstalling , or using the NI-VXI/NI-VISA software, refer to Chapter 5, NI-VXI/NI-VISA Softw are Insta llation . VME Users When used with a VXI-MXI-2, Resman identifies and co n[...]

  • Página 21

    Chapt er 1 Introduc tio n and Quic k St art © National Inst ruments Cor poration 1-9 PCI-MXI-2 for Linux The same functionality is available in victext with the vxiinreg command. Y ou can use help vxiinreg for the command’ s parameter desc ript ion . Y ou may no w want to read the co nfi guration r egist ers from oth er VXI de vices in your syst[...]

  • Página 22

    Chapte r 1 Intr oduct ion and Qu ick St art PCI-MXI-2 for Linux 1-10 ni.com Table 1-2. PCI-MXI -2 Logic al Address C onfig uration Edi tor Defaul t Setti ngs Editor Field Default Setting Logical Address 0 Dev ice T ype MBD Address Space A16 VXI Shared RAM Size 0 KB Shared RAM Pool 0 KB Low er Half W indo w Byte Sw apping Disabled (no n-swapped) Low[...]

  • Página 23

    Chapt er 1 Introduc tio n and Quic k St art © National Inst ruments Cor poration 1-11 PCI-MXI-2 fo r Linux Tabl e 1-3 . PCI-MX I-2 De vice Co nfi gurat ion Ed itor Defa ult Set ting s Editor Field Default Setting Default Controller (LA-1) First Remote Controller Syst em I RQ Le v el 1 Servant Area Size 0 Num ber of Han dle rs 1 Number of Interrupt[...]

  • Página 24

    Chapte r 1 Intr oduct ion and Qu ick St art PCI-MXI-2 for Linux 1-12 ni.com VXI/VME-MXI -2 This section summar izes the hardware and software defa ult settings fo r the VXI-MXI-2 and VME-MXI-2. Tabl e 1-5. VXI-MXI-2 Hardware De fault Setti ngs Hardwar e Component Default Setting Logical Addres s (U43) 1 VXIb us Slo t 0/Non- Slot 0 (W2) Automatic de[...]

  • Página 25

    Chapt er 1 Introduc tio n and Quic k St art © National Inst ruments Cor poration 1-13 PCI-MXI-2 fo r Linux Table 1- 6. VME-MXI- 2 Hardwa re Defa ult Set tings Hardwar e Component Default Sett ing A16 Base Address (U20 ) He x C040 VME-MXI-2 Interm odule Signal ing (W2) No user -def ined pin selected MXIbus T ermination (U21 swi tches 3 an d 4) Auto[...]

  • Página 26

    Chapte r 1 Intr oduct ion and Qu ick St art PCI-MXI-2 for Linux 1-14 ni.com VXI/VME Arbiter T imeout Enab led MXI System Controller Auto MXI Bus Timeout V alue 1 ms MXI Auto Retry Disab led MXI T ransfer Limit Unlimited MXI Parity Checking Enab le d MXI Fair Requester Disabled MXI CLK 1 0 Set b y hardw are swit ch (VXI-MXI-2 onl y) *Assumes no DRAM[...]

  • Página 27

    © National Inst ruments Cor poration 2-1 PCI-MXI-2 for Linux 2 PCI-MXI-2 Configuration and Installation This chapter contains the instructions to co nfigure and install the PCI-M XI- 2 mo dule. Caution El ectrostati c dischar ge can dam age se v eral compon ents on your PCI-MXI-2 module. T o a vo id such damage i n handling t he module, t ouch the[...]

  • Página 28

    Chapter 2 PCI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 2-2 ni.com Figu re 2-1 . PCI-MXI-2 Parts Locator Diagram 1U 1 7 2D R A M 2 1[...]

  • Página 29

    Chapter 2 PCI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 2-3 PCI-MXI-2 for Linux Configuration E EPROM The PCI- MXI-2 has an onboard EE PROM, w hich stor es default register values that are loa ded at power-on. The EEPROM is divided into two halves—a f actory-conf iguratio n half, and a user-conf iguration half?[...]

  • Página 30

    Chapter 2 PCI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 2-4 ni.com Figure 2-2 shows how to install the PCI-MXI-2. Figu re 2-2 . PCI-MXI- 2 Install ed in a Comp uter 1 PCI Bu s Slot 2 Cutou ts 3 PCI Bus Card-E dge Co nnecto r 4 MXI- 2 Conn ector 5 PC I-MX I-2 Bo ar d 1 2 3 4 5[...]

  • Página 31

    © National Inst ruments Cor poration 3-1 PCI-MXI-2 for Linux 3 VXI-MXI-2 Configuration and Installation This chapter contains the instructions to co nfigure and install the VXI-MXI-2 m odule. Thi s chapter app lies onl y if you ord ered the VX I MXI-2 kit. If you o rdered the VME MXI-2 kit , skip this ch apter and ref er to Chapter 4, VME-MX I-2 C[...]

  • Página 32

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-2 ni.com Figu re 3-1. VXI-MX I-2 Right-Sid e Cover 1U 3 5 2W 2 3W 3 4S 8 5S 9 6S 7 7U 4 3 8S 6 9S 5 10 S4 11 S3 12 S2 (All switches and jumpers shown in default position) WARNING: Turn off power to instruments and cables before installing or removing any modules. SMB CLK10 Out[...]

  • Página 33

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-3 PCI-MXI-2 for Linux Front Panel F eatures The VXI-MXI-2 has the following front pan el features: • Three front panel LEDs – SYSFAIL LED indicates that the VMEb us SYSF AIL line is asserted. – MXI LED indicates when the VXI-MXI-2 is accessed from the[...]

  • Página 34

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-4 ni.com Logical address 0 is r eserved for the Resource Manager in the VXIb us system. Because the VXI-MXI-2 cannot act as a Resource Manager , do not conf igure the VXI-MXI-2 with a logical address of 0. Some VXIb us de vices hav e dynamical ly confi gurable logical addresse[...]

  • Página 35

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-5 PCI-MXI-2 for Linux Figure 3-2 shows switch settings for logical ad dress hex 1 and C0. Figur e 3-2. Logica l Address Se lect ion VXIbus Slot 0/Non-Slot 0 The VXI-MXI-2 is co nfigured at the factor y to automatically detect if it is installed in Slot 0 of[...]

  • Página 36

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-6 ni.com Figur e 3-3. VXIbus Slo t Config uratio n When the VXI-MXI-2 is installed in Slot 0, it becomes the VMEbu s System Controll er . In this role, it has VMEbus Data T ransfer Bus Arbiter circuitry that acce pts bus requ ests on all four VMEb us req uest lev els, prioriti[...]

  • Página 37

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-7 PCI-MXI-2 for Linux VXIbus Local Bus If you will be installing more than o ne VXI-MXI-2 in a single VXIbus mainframe, you must configu re the boards to us e the local bus. The VXI-MXI-2 uses the lo cal bus to pass a signal to the other VXI-MXI-2 modules i[...]

  • Página 38

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-8 ni.com Figu re 3-4. VXIbus Loca l Bus Confi guratio n VXIbus CLK1 0 Routi ng When the VXI-MXI-2 is install ed in Slot 0 of your mainframe, it supplies the VXIbus C LK10 signal. The VXI-MXI-2 can u se three differen t sources to generate this signal: the onboa rd oscillator, [...]

  • Página 39

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-9 PCI-MXI-2 for Linux Figu re 3-5 . VXI bus C LK1 0 Rout ing The VXI-MXI-2 can also be conf igured to dri ve the e x ternal CLK SMB signal f rom the VXIb u s CLK10 s ignal. Swit ch S3 con trols whet her the VXI-MXI-2 dri ves or receiv es the e xternal CLK S[...]

  • Página 40

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-10 ni.com When switch S3 is set so that the VXI-MXI-2 recei ves the SMB CLK10 signal, you ha ve t he optio n to add a 5 0 Ω termination to the signal by setting switch S4. S4 is un used — its setting does n ot matter — when S3 is conf igured to dri ve the e xternal CLK S[...]

  • Página 41

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-11 PCI-MXI-2 fo r Linux Figu re 3-6. SMB CL K10 Se ttings a. Drive Inverted External CLK SMB (Default) S2 Off On S3 Out In S4 Off On NON-INVERTED S5 SMB CLK10 Direction SMB CLK10 Output Polarity (Effective only when S3 is set to “ OUT ” ) INVERTED NON-I[...]

  • Página 42

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-12 ni.com The VXI-MXI-2 can also dri v e or recei v e the MXIbu s CLK10 signal. Switch S7 controls whether the VXI- MXI-2 dri v es MXIb us CLK10 from the VXIb us CLK10 or recei ves MXIbus CLK10. As sho wn in Figur e 3-5c, if W3 is configured to use the MXIbus CLK10 to generate[...]

  • Página 43

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-13 PCI-MXI-2 fo r Linux Figu re 3-8 . SMB T rigg er Input T e rminatio n MXIbus T ermination The first and last MXIbus devices connected to the MXIbus — whether it is a single MXI-2 cab le or daisy-chained MXI-2 cables — must terminate the MXIbus. Any M[...]

  • Página 44

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-14 ni.com Use swit ch 2 of U 35 to selec t whether y ou want the VXI-MXI-2 t o automatically control termination of the MXIbus. Switch 1 of U35 lets you manually control whether to term inate the MXIbus when automatic termination is turned off. Switch 1 has no effect when swit[...]

  • Página 45

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-15 PCI-MXI-2 fo r Linux Use switches 3 and 4 of the four-position switch at location U35 to control the operatio n of the EEPR OM. The Restore F actory Conf iguration sw itch (switch 4) causes the VXI-M XI-2 to boot off the facto ry-configured half instead [...]

  • Página 46

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-16 ni.com Figure 3-10 shows the configuration settings for EEPR OM operation. The settings of switches 1 and 2 have no ef fect on EEPR OM conf iguration. Figu re 3-10 . EEPROM Operat ion a. Boot from User Configuration (Factory Configuration Protected) (Default) b. Boot from F[...]

  • Página 47

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-17 PCI-MXI-2 fo r Linux Onboard DRAM The VXI-MXI-2 can accommodate up to two 1.35 in. DRAM SIMMs. Table 3-1 lists the SIMMs you can use. Table 3- 1. VXI-MXI-2 DRAM Configu rations Bank 0 Bank 1 T ota l DRAM National Inst rumen ts Option Switch Setting of S6[...]

  • Página 48

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-18 ni.com You can use 32- or 36- bit SIMMs because DRAM parity is not requir ed. Because the VXI-MXI-2 s upports only one organ ization at a time, all SIMMs installed must be of the same type . Use Bank 0 first when installing the SIMMs. This allows you to inst all up to 64 MB[...]

  • Página 49

    Chapter 3 VXI-MXI-2 Conf iguration and I nstallation © National Inst ruments Cor poration 3-19 PCI-MXI-2 fo r Linux 3. If you are installing the VXI-MXI-2 into a D-size mainframe, install a support designed for installing C-size boards in D-size mainf rames. The VXI-MXI-2 has no P3 connector and cannot prov ide P3 Slot 0 control to VXI devices req[...]

  • Página 50

    Chapter 3 VXI-MXI-2 Configuration and Installation PCI-MXI-2 for Linux 3-20 ni.com Figur e 3-12 . MXI-2 Cab le Configu ration Using a PCI-MXI-2 an d a VXI-MXI-2 When you ha v e properly connected the MXI- 2 cable, po wer on the VXIb us mainframe and th en the computer . Note Always turn on the mainframe f irst. Doing so makes it possible for y our [...]

  • Página 51

    © National Inst ruments Cor poration 4-1 PCI-MXI-2 for Linux 4 VME-MXI-2 Configuration and Installation This chapter contains the instructions to co nfigure and install the VME-MXI-2 mo dule. This chapter app lies only i f you ord ered the VME MXI-2 k it. If y ou ordered t he VXI MXI-2 kit, you s hould re fer to Chapte r 3, VXI-MXI-2 Co nfigurat i[...]

  • Página 52

    Chapter 4 VME-MXI-2 Confi guration and I nstallatio n PCI-MXI-2 for Linux 4-2 ni.com Figur e 4-1. VME-MX I-2 Pa rts Loc ator Dia gram 1S 2 2U 2 1 3W 2 4U 2 0 5D R A M B a n k 1 6D R A M B a n k 0 1 2 3 4 5 6[...]

  • Página 53

    Chapt er 4 VME-MXI -2 Conf igur atio n and Inst allat ion © National Inst ruments Cor poration 4-3 PCI-MXI-2 for Linux Front Panel F eatures The VME-MXI-2 has the following front panel featu res: • Three front panel LEDs – SYSFAIL LED indicates that the VMEb us SYSF AIL line is asserted. – MXI LED indicates when the VME-MXI-2 is accessed fr [...]

  • Página 54

    Chapter 4 VME-MXI-2 Confi guration and I nstallatio n PCI-MXI-2 for Linux 4-4 ni.com Figur e 4-2 sho ws switch s ettings for A16 b ase addr ess hex C040 an d F000. Figu re 4-2 . Base Addr ess Select ion VME-MX I-2 Int ermodu le Si gnalin g If you will be installing more than one VME-MXI-2 in a single VMEbus chassis, you mus t select a user-defined [...]

  • Página 55

    Chapt er 4 VME-MXI -2 Conf igur atio n and Inst allat ion © National Inst ruments Cor poration 4-5 PCI-MXI-2 for Linux Figure 4-3 sho ws the f our int ermodule signalin g settings . Figu re 4-3 . VME-MXI -2 Int ermod ule Si gnal ing Set tings MXIbus T ermination The first and last MXIbus devices connected to the MXIbus — whether it is a single M[...]

  • Página 56

    Chapter 4 VME-MXI-2 Confi guration and I nstallatio n PCI-MXI-2 for Linux 4-6 ni.com Switch 4 has no effect when switch 3 is set for automatic MXIbus terminat ion; you m ust turn of f automa tic terminat ion if yo u want to manually control terminatio n. Figur e 4-4. MXIbus T e rminat ion Configuration E EPROM The VME-MXI-2 h as an onboard EE PROM,[...]

  • Página 57

    Chapt er 4 VME-MXI -2 Conf igur atio n and Inst allat ion © National Inst ruments Cor poration 4-7 PCI-MXI-2 for Linux user -conf igured half o f the EEPR O M becomes corrupted in such a way that the VME-MXI-2 boo ts to an unusable s tate. The Change Factor y Conf igurati on switch (switch 2 o f U21) let s you change the factory-default configurat[...]

  • Página 58

    Chapter 4 VME-MXI-2 Confi guration and I nstallatio n PCI-MXI-2 for Linux 4-8 ni.com Figu re 4-5. EEPROM Operat ion Onboard DRAM The VME-MXI-2 can accommodat e up to two 1.35 in. DRAM SIMMs. Table 4-1 l ists th e SIMMs you can use. Yo u can u se 32- or 36-bit SIMMs since DRAM parity is not required. Because the VME-MXI-2 supports only one organizat[...]

  • Página 59

    Chapt er 4 VME-MXI -2 Conf igur atio n and Inst allat ion © National Inst ruments Cor poration 4-9 PCI-MXI-2 for Linux Switch S2 is used to select the size o f each SIMM. If the SIMMs are 4M × 32 or larger , S2 sh ould be in the OFF set ting as shown in Figure 4-6a. For SIMMs smaller than 4 M × 32, use the ON s etting as sho wn in F igure 4- 6b [...]

  • Página 60

    Chapter 4 VME-MXI-2 Confi guration and I nstallatio n PCI-MXI-2 for Linux 4-10 ni.com Install the VME-MXI-2 This section contains g eneral installatio n instructions for th e VME-MXI-2. Consult your VMEbus mainframe user manual or technical ref erence manual for specific instru ctions and warnings. 1. P lug in yo ur mainframe befo re installin g th[...]

  • Página 61

    Chapt er 4 VME-MXI -2 Conf igur atio n and Inst allat ion © National Inst ruments Cor poration 4-11 PCI-MXI-2 fo r Linux 5. Check the installation. 6. Conn ect the cables as described in the follo wing section befor e restor ing po wer . 7. R eplace or close an y doors o r cov ers to the mainf rame. Connect the MXIbus Cable There are two bas ic ty[...]

  • Página 62

    Chapter 4 VME-MXI-2 Confi guration and I nstallatio n PCI-MXI-2 for Linux 4-12 ni.com Figu re 4-7 . MXI-2 Cabl e Conf igur ation U sing a PCI -MXI- 2 and a VME- MXI- 2 When you ha ve properly conn ected the MXI-2 cable, po wer on the VMEbu s mainframe and then the computer . Note Always turn on the mainframe f irst. Doing so makes it possible for y[...]

  • Página 63

    © National Inst ruments Cor poration 5-1 PCI-MXI-2 for Linux 5 NI-VXI/NI-VISA Software Installation This chapter describes how to inst all and uninstall the NI-VXI/NI- VISA software for Linux . Installing the NI-VXI/NI-VISA Softwa re for Linu x Before you begi n, you may need to install Li nux on yo ur comput er. Refer to the L inux do cumentation[...]

  • Página 64

    Chapter 5 NI-VXI /NI-VISA Software Installation PCI-MXI-2 for Linux 5-2 ni.com where 1.6-1 is the version you are installing. Note that this version number will be dif ferent if you are installing a ne wer vers ion. Note If you use rpm rather than the IN STALL script, you must repeat this s tep for each package you want to install. If you install t[...]

  • Página 65

    Chap te r 5 NI-V XI/NI -VI SA S oft war e In sta llati on © National Inst ruments Cor poration 5-3 PCI-MXI-2 for Linux Place these lines in your .cshrc or .login (C shell) o r .profile (Bourne or K orn shells) so they will execu te automatically the next time you lo g in. Completing the So ftware Installation After the software is ins talled, run [...]

  • Página 66

    © National Inst ruments Cor poration 6-1 PCI-MXI-2 for Linux 6 NI-VXI Configuration Utility This chapter cont ains instructio ns for usin g the VXI Resource Editor utili ty of the NI-VXI s oftware to confi gure the PCI-MXI-2 and the VXI-MXI- 2 or VM E-M XI-2 . vxiedit is the VXI resource editor program that you us e to conf igure the system and to[...]

  • Página 67

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-2 ni.com Figure 6-1 shows the main menu of the vxiedit resource editor . Figur e 6-1. VXIe dit Main Screen The rest of this chapter describes only the features of the PCI-MXI-2 Configuration Editor and the VXI/VME-MXI-2 Configuration Editor . For instructions on using the other editors, [...]

  • Página 68

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-3 PCI-MXI-2 for Linux PCI-MXI-2 Configuration Editor Figure 6-2 shows t he opening s creen of th e PCI-MXI-2 C onfigur ation Editor. Notice that the sc reen displays the serial nu mber and hardwar e revision of the PCI-MXI-2 board in addition to several conf iguration op[...]

  • Página 69

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-4 ni.com Update Current Configura tion Use this option to wr ite the configuration settings to the PCI-MXI-2 EEPROM and files us ed by NI-VXI. Notice that some of the configuration settings cannot take effect un til you reset the mach ine, either by using the reset bu tton or b y turning[...]

  • Página 70

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-5 PCI-MXI-2 for Linux Figu re 6-3. PCI -MXI- 2 or PX I-MXI -2B Lo gica l Addr ess Co nfigu ratio n Edi tor Device Settings The Device Se ttin gs group contains the controls to set the logical add ress, device type, and address space of the PCI-MXI-2. Logical Address This[...]

  • Página 71

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-6 ni.com Device T ype This field indicates the classification of the PCI-MXI-2. The default valu e is MBD , designating a message-b ased device. The f ollowing table shows the available options. The de vice type af fects only the contents of the De vice Class field in the De vice T y pe [...]

  • Página 72

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-7 PCI-MXI-2 for Linux VXI/VME Shared RAM Si ze This field indicates the amoun t of RAM (in bytes) that is s hared in either A24 or A 32 space. This determines the total shared RAM size, which is then divided into two equal halves that you can set up independently of one [...]

  • Página 73

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-8 ni.com Note Wh e n the Address Space field is in the default setting of A16 only , this field is ignored. This field is also ignored if th e Memory Select fields for both the lower and upper half windows are set to Onboard memory . Advanced Shared RAM Settings Clicking the Ad vanced bu[...]

  • Página 74

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-9 PCI-MXI-2 for Linux Enable Byte Swa pping This checkbo x indicates w hether byte swapping s hould be perfo rmed for slave accesses to this half of the VXI/VME shared R AM space. For example, if the native byte order of the shared RAM is Motor ola (Big Endian), and you [...]

  • Página 75

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-10 ni.com Caution Th ere is a potential problem when opening up a shared memory region to point to system RAM. The PCI b us may return a retry on an y c ycle into system RAM. As a consequence, an external VXI/ VME device accessing the s ystem RAM may get a VXI/VME retry back. If the exte[...]

  • Página 76

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-11 PCI-MXI-2 fo r Linux Figure 6-5 shows th e Device Configuration Editor. The following paragraphs describe the op tions you can select for each of the fields. Figu re 6-5 . PCI-MX I-2 Device Con figura tion Default Co ntroller (LA –1) Many NI-V XI f uncti on s use co[...]

  • Página 77

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-12 ni.com System IRQ Level The remote controllers — in this case the VXI/VME-MXI-2 — can report events such as trigg ers and DMA to the PCI-MXI-2 through a VXI IRQ line. This field selects which VXI I RQ level the remote controller s should use to report events to the PCI-MXI-2. Serv[...]

  • Página 78

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-13 PCI-MXI-2 fo r Linux Number of Interrupters This field gives the number of int errupters t hat the PCI- MXI-2 suppor ts. Protocol Register This field specifies the conte nts of the Protocol regist er, indicating which protoco ls the device suppo rts. This field is mea[...]

  • Página 79

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-14 ni.com Bus Configurati on Editor Figure 6-6 show s the Bus Configur ation Editor. The followin g sections describe the options you can select f or each of the f ields. Figur e 6-6. PCI-MXI-2 Bus Co nfigur ation Editor MXI Bus The following sections descr ibe the options for th e MXI B[...]

  • Página 80

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-15 PCI-MXI-2 fo r Linux Y ou can select the Ye s or No op tions to manually determine whether th e PCI-MXI-2 should be the MXIbus System Contro ller . Y o u must still be certain to cable the MXIbus system appropriately when you make either of these selections. Note Ma k[...]

  • Página 81

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-16 ni.com MXI T ransfer Limit Use this feature to con trol how many data trans fers the PCI-MXI-2 will perform on the MXIb us before releasing it to another mas ter device that is requesting use of the bus. The default setting holds the MXIbus for an unlimited period of time. The other o[...]

  • Página 82

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-17 PCI-MXI-2 fo r Linux benef icial to disable the MXI-2 auto retry feature. W ith this feature disabled, you can lower th e MXI Bus T imeou t because there will be no delay due to the inward cycles being retried. Note Th e PCI-MXI- 2 has a limit on the number of auto ma[...]

  • Página 83

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-18 ni.com Windo w Size The amount o f space you can allocate for the user window is sys tem dependent. You can use the Size con trol to select the size of the u ser window (mi nimum of 4 KB, maximum of 2 GB) . The more you increase the size of the u ser window, the larger the window you [...]

  • Página 84

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-19 PCI-MXI-2 fo r Linux VXI/VME-MXI-2 Configuration Editor Before running t he VXI/VME-MXI- 2 Configur ation Ed itor, you must run Resm an. Note Th r o ug h o u t th is section, the term VXI/VME-MXI-2 denotes that the information applies to both the VXI-MXI-2 and the VME[...]

  • Página 85

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-20 ni.com Figu re 6-8. VXI/ VME-MX I-2 Co nfi gurat ion Ed itor LA Selection a nd Logica l Address You can set or mo dify the logical addres s of the VXI/VME-MXI-2 either within the VXI/VME-MXI-2 Conf iguration Editor itself or with th e onboard 8-position DIP switch . To select the conf[...]

  • Página 86

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-21 PCI-MXI-2 fo r Linux Requested Mem ory control to set the amount of memory space that the VXI/VME-MXI-2 will request. You can select up to 8 MB in A24 space and up t o 2 GB in A 32 space. The default se tting uses the minimum requirement of 16 KB in A24 space. These c[...]

  • Página 87

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-22 ni.com Interloc ked M ode Interlock ed arbitr ation mode is an opti onal mode of operatio n in whi ch at any given mo ment the system can p erform as if it were o ne large VXI/VMEbus mainframe with only one master of the entire system — V XI/VMEbus and MXIbus. T his mode of o perati[...]

  • Página 88

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-23 PCI-MXI-2 fo r Linux This typ e of syst em conf igurati on is recommen ded if yo u ha ve on e of the following situations: • A VXI/VMEb us main frame with only sla ve de vices and no masters. W ithout bus mas ters, there is no chance for dead lock. Y ou can conf igu[...]

  • Página 89

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-24 ni.com Caution Do not instal l a VXI/VME-MXI-2 conf igured for VMEb us Syst em Control ler (VXI Sl ot 0) in to another s lot wi thout f irst reconf iguri ng it t o either Non- Slot 0 or automatic configuration. Neg lecting to do this could damage the VXI/VME-MXI-2, the VXI/VMEb us bac[...]

  • Página 90

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-25 PCI-MXI-2 fo r Linux . Figu re 6-9. Advanced V XI S ettings VXI/VME Auto Retry The VXI/VME-MXI-2 has an au tomatic retry feature fo r cycles that map from the VXI/VMEbus to the MXIbus. By default this option is disabled. Normally , when a c ycle maps from the VXI/VMEb[...]

  • Página 91

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-26 ni.com enough t o perform 256 tr ansfers (t he defau lt v alue) , you can u se this control to select a smaller value. Arbiter T ype You can use the Arbiter Type feature to configure th e VXI/VME-MXI-2 as either a Priorit y or Round R obin VMEbus arbiter . This cont rol is applicabl e[...]

  • Página 92

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-27 PCI-MXI-2 fo r Linux Arbiter Ti meout An arbitration timeout feature is available on the VXI/VME-MXI-2 when it is acting as the VMEbus arbiter. This feature applies only to a VXI Slot 0 (VMEbus System Controller ) VXI/VME-MXI-2. By default , this option is enabled. Th[...]

  • Página 93

    Chapter 6 NI-VXI Configuration U tility PCI-MXI-2 for Linux 6-28 ni.com Advanced MXI Set tings Click the Advanced button to reach additional configur ation options for the MXI Bus portion of this ed itor, as shown in Figur e 6-10. These o ptions are intended fo r more advanced users. Figu re 6-10. Advanced M XI Setti ngs MXI Auto Retry The VXI/VME-[...]

  • Página 94

    Chapter 6 NI-VXI Configuration Utility © National Inst ruments Cor poration 6-29 PCI-MXI-2 fo r Linux T r ansfer Limit You can use this feature to control how many data transfers the VXI/VME-MXI-2 will perform on the MXIbus before releasing it to another master device that is requ esting use of the bus . The default s etting holds the MXIbus for a[...]

  • Página 95

    © National Inst ruments Cor poration 7-1 PCI-MXI-2 for Linux 7 Using the NI-VXI/NI-VISA Software This chapt er dis cusses p rogramming i nformatio n for you to con sider when developing applications that use the NI-VXI/NI-VISA dr iver. After installing the driv er software, you can be gin to de velop your VXI/VME application software. Be sure to c[...]

  • Página 96

    Chapter 7 Using the NI-VXI/NI-VISA Software PCI-MXI-2 for Linux 7-2 ni.com Interactive Control of NI-VXI/NI-VISA The easiest way to learn how to com municate with your instruments is by controlling them interactively . Use the VXI/VME interactive control utility ( vic or its text mode counter part, victext ) to write to and read from your instrumen[...]

  • Página 97

    Chapter 7 Using the NI -VXI/NI-VISA Software © National Inst ruments Cor poration 7-3 PCI-MXI-2 for Linux Low-Level Access Functions The memory wind ows used to access the VXI/VMEbus are a limited reso urce . Yo u shou ld fol low t he p roto col of ca lli ng t he viMapAddress() or MapVXIAddress() function with Access Only mode first before attempt[...]

  • Página 98

    Chapter 7 Using the NI-VXI/NI-VISA Software PCI-MXI-2 for Linux 7-4 ni.com System Conf iguration F unctions The System Conf iguration functio ns provide th e lowest-level i nitialization of your VXI controller. For NI-VXI, use the InitVXIlibrary() functi on at the start of each application and the CloseVXIlibrary() f unction at the end of each appl[...]

  • Página 99

    Chapter 7 Using the NI -VXI/NI-VISA Software © National Inst ruments Cor poration 7-5 PCI-MXI-2 for Linux If you de fi ne this sym bol in your s ource code, your source cod e should l ook something like the following sample code: #define VXILINUX . . . #include <nivxi.h> Refer to the d ocumentation that came with yo ur compiler package for d[...]

  • Página 100

    © National Inst ruments Cor poration A-1 PCI-MXI-2 for Linux A Specifications This append ix lists v ari ous module s pecif ications o f the PCI-MXI-2, VXI-MXI-2, and VME-MXI -2, such as physical dimensio ns and po wer requirements. PCI-MXI-2 The follo wing sections lis t the specifications for the PCI-MXI-2 module. MXIbus Capabi lity Des crip tio[...]

  • Página 101

    Appendix A Specification s for PCI-M XI-2 PCI-MXI-2 for Linux A-2 ni.com PCI Functi onality PCI Initiator (master) capability .............Suppor ted PCI Target (slav e) capability ....... ...........Supported Data path ..................... ........... .................32 bits Card voltage/type ................... ........... ......5 V only; 32-bi[...]

  • Página 102

    Appendix A Specifica tions for PCI-MXI- 2 © National Inst ruments Cor poration A-3 PCI-MXI-2 for Linux Relative humidity Noncondens ing, oper ating .............. 0 to 95% Noncondens ing, sto rage .................. 0 to 95 % EMI ................... ................. ........... ......... FCC Class A verified Physical Board dimension s ...........[...]

  • Página 103

    Appendix A Specification s for VXI-M XI-2 PCI-MXI-2 for Linux A-4 ni.com VXI-MXI-2 The follo wing sections list the s pecifications for the VXI-MXI-2 module. MXIbus Capabi lity Des crip tions • Master -mode A32 , A24, and A 16 addressing • Master -mode bloc k tran sfers and s ynchronou s block transfers • Sla ve-mo de A32, A2 4, and A16 add r[...]

  • Página 104

    Appendix A Specifica tions for VXI-MXI- 2 © National Inst ruments Cor poration A-5 PCI-MXI-2 for Linux D32, D16, D08 (EO) (slave) ................... VMEbus slave D32, D1 6, and D08 data sizes BLT, MBLT (master).................... ......... VMEbus master block and D64 transfers BLT, MBLT (slave) ................. ........... ... VMEbus slave bloc[...]

  • Página 105

    Appendix A Specification s for VXI-M XI-2 PCI-MXI-2 for Linux A-6 ni.com Requiremen ts VXIbus Configuration Space..................64 B A24 or A32 Sp ace ............ ................. ......16 KB minimum (programm able) Environment al Temperature Operating .................. ............ ...........0 to 55 ° C Storage ........... ................[...]

  • Página 106

    Appendix A Specifica tions for VXI-MXI- 2 © National Inst ruments Cor poration A-7 PCI-MXI-2 for Linux Electr ical +5 VDC Typical DC curren t rating ............... 2.5 A Maximum DC curr ent rating........... 3.5 A – 5.2 VDC Typical DC curren t rating ............... 180 mA Maximum DC curr ent rating........... 225 mA – 2 VDC Typical DC curren[...]

  • Página 107

    Appendix A Specifica tions fo r VME-M XI-2 PCI-MXI-2 for Linux A-8 ni.com VME-MXI-2 The following sections list the specifications for the VME-MXI-2 mo dule. MXIbus Capabi lity Des crip tions • Master -mode A32 , A24 and A16 addressin g • Master -mode bloc k tran sfers and s ynchronou s block transfers • Sla ve-mo de A32, A2 4, and A16 add re[...]

  • Página 108

    Appe ndix A Speci fic ati ons f or V ME-M XI-2 © National Inst ruments Cor poration A-9 PCI-MXI-2 for Linux D32, D16, D08 (EO) (slave) ................... VMEbus slave D32, D1 6, and D08 data sizes BLT, MBLT (master).................... ......... VMEbus master block and D64 transfers BLT, MBLT (slave) ................. ........... ... VMEbus slave[...]

  • Página 109

    Appendix A Specifica tions fo r VME-M XI-2 PCI-MXI-2 for Linux A-10 ni.com Requiremen ts A16 Space ................... ........... .................64 B A24 or A32 Sp ace ............ ................. ......16 KB minimum (programm able) Environment al Temperature Operating .................. ............ ...........0 to 55 ° C Storage ...........[...]

  • Página 110

    Appe ndix A Speci fic ati ons f or V ME-M XI-2 © National Inst ruments Cor poration A-11 PCI-MXI-2 for Linux Electr ical +5 VDC Typical DC curren t rating ............... 2.2 A Maximum DC curr ent rating........... 3.2 A Performance Peak ................... ........... ................. ......... 33 MB/s Sustained ........... ................. ...[...]

  • Página 111

    © National Inst ruments Cor poration B-1 PCI-MXI-2 for Linux B NI-VXI/NI-VISA Software Over view This appe ndix lists and d escribe s the main progr ams and f iles that make up the NI-VXI/NI-VISA software. Main Programs and Files This section lists the main pro grams and files that you can use for controlling your VXI/VME interface. Note Any e xec[...]

  • Página 112

    Appendix B NI-VXI/NI-VISA So ftware Over view PCI-MXI-2 for Linux B-2 ni.com Header Files for NI-VXI The NIVXI /inc lude directory (where NIVXI is the actual location where you installed the NI-VXI s oftware package) contains the fo llo wing include fi les for the C languag e interface: • nivxi.h is the main header f i le containing the C pr otot[...]

  • Página 113

    © National Inst ruments Cor poration C-1 PCI-MXI-2 for Linux C EEPROM Configuration This appendix describes how to control the operation of the PCI-MXI-2 onboard EEPR OM and ho w to fix an in v alid EEPR OM setting. The EEPR O M stores def ault re gisters v alues that are loaded at po wer-on. The EEPR OM is div ided int o two ha lves so that you c[...]

  • Página 114

    Appendix C EEPROM Configurat ion PCI-MXI-2 for Linux C-2 ni.com Figur e C-1. EEPROM Ope ration Defaul t Settin gs Fixing an Invalid EEPROM Configuration Certain EEPR OM configur ations can caus e your PCI computer to lock up while in its boot process. Genera lly , only the size and location of the memory windo w s can cause problems with the PCI-MX[...]

  • Página 115

    Appendix C EEPROM Configuratio n © National Inst ruments Cor poration C-3 PCI-MXI-2 for Linux Note If you hav e to remo v e the PCI-MXI-2 module to access switch 1, follo w the installation instr uctions giv en in Chapte r 2, PCI-MXI -2 Con figurat ion and Installat ion , to reinstall the PCI- MXI-2 module. 4. Replace the c omputer co ver . 5. T u[...]

  • Página 116

    © National Inst ruments Cor poration D-1 PCI-MXI-2 for Linux D Common Questions This append ix addresses common qu estions you may ha ve about us ing the NI-VXI b us interface software on the PCI-MXI-2 platform. How can I determine which version of the NI-VXI sof tware I ha ve installed? Run the NI-VXI utility program vic . Under the Text tab, typ[...]

  • Página 117

    Appendix D Common Que stions PCI-MXI-2 for Linux D-2 ni.com Which NI-VXI utili ty program must I use to perf orm startup Resource Manager operations? Use the Resman pro gram to perform startup Resource Manager op erations. It is located in the NIVXI /bin direc tor y ( /usr/local/nivxi/bin by default). Resman uses the settings in the Configuration E[...]

  • Página 118

    Appe ndix D Commo n Ques tion s © National Inst ruments Cor poration D-3 PCI-MXI-2 for Linux Are the PCI- MXI-2 and the VXI-MXI-2 tw o devices or one with re spect to the VXIb us? Both th e PCI-MXI-2 an d the VXI- MXI-2 are un ique VXIb us de vices with their o wn logical addresses. Ho we ver , the MXIbus allo ws the computer to beha ve as if it i[...]

  • Página 119

    Appendix D Common Que stions PCI-MXI-2 for Linux D-4 ni.com Whenev er I try to execute any of the NI-VXI utilities, I receiv e a message that it could not fi nd a particular file ev en though the file does exist. What is wr ong? When a NI-VXI utilit y cannot find a f ile that it needs, it usual ly means that one of the en vironment variables is set[...]

  • Página 120

    © National Inst ruments Cor poration E-1 PCI-MXI-2 for Linux E T echnical Support and Professional Ser vices Visit the followin g sections of the Nation al Instrument s Web site at ni.com for technical suppor t and prof essional services: • Support — Online technical support resources inclu de the follo wing: – Self-Help Resources — For im[...]

  • Página 121

    © National Inst ruments Cor poration G-1 PCI-MXI-2 for Linux Glossar y Pref ix Meanings V a lue p- pico- 1 0 – 12 n- nano- 10 – 9 µ- micro- 10 – 6 m- milli- 10 – 3 k- kilo- 10 3 M- meg a- 10 6 G- giga- 10 9 t- tera- 10 12 Symbols ° Degrees. Ω Ohms. % Percent. A A Amperes. A16 space VXIbus address space equ i valent to the VME 64 KB sho[...]

  • Página 122

    Gloss ar y PCI-MXI-2 for Linux G-2 ni.com A CF AIL A VMEb us backplane sig nal that is asserted when a po w er failure h as occurred (ei ther A C line source or p o wer su pply malfun ction), or i f it is necessary to dis able the po wer supply (such as for a high temperature condition). address Character code that identifies a specif ic location ([...]

  • Página 123

    Glossary © National Inst ruments Cor poration G-3 PCI-MXI-2 for Linux block-mode transfer An uninterrup ted transfer o f data elements in which the master s ources only the fi rst address at the be ginning of the c ycle. The slav e is then responsible for incrementing the address on subsequen t transfers so that th e next element is transferred to[...]

  • Página 124

    Gloss ar y PCI-MXI-2 for Linux G-4 ni.com D daisy-chain A method of p ropagating signals along a b us, in which the de vi ces are prioritized on the basi s of their position on th e b us. Data T ransfer B us DTB; one of four bus es on the VMEb us backplane. The DTB is used b y a bu s master to transfer binary data between itself and a slav e de vic[...]

  • Página 125

    Glossary © National Inst ruments Cor poration G-5 PCI-MXI-2 for Linux EMI Electromagnetic Interfe rence. expansion R OM An onboard EEPR O M that may contain device-specif ic initialization and system boot func tionality . external co ntroller In this conf iguration, a p lug-in interface board in a computer is connected to the VXI mainframe v ia on[...]

  • Página 126

    Gloss ar y PCI-MXI-2 for Linux G-6 ni.com K KB Kilobytes of memory . L LED Light Emitting Diode. logical address An 8-bit numb er that uniquely identif ies each VXIb us de vice in a system. It def ines the A16 re gister address of a de vice, and indicates Commander and Serv ant relationship s. M m Meters. master A functional part of a MXI/VME/VXIbu[...]

  • Página 127

    Glossary © National Inst ruments Cor poration G-7 PCI-MXI-2 for Linux MXIbu s Multisystem eXtension Interf ace Bus; a high-perform ance communication link that interconnect s de vices using roun d, fle xible cab les. MXIbu s System Contro ller A functional module that has arbiter , daisy-chain dri v er , and MXIb us c ycle timeout responsibility .[...]

  • Página 128

    Gloss ar y PCI-MXI-2 for Linux G-8 ni.com retry An ackno wl edge b y a destination th at signif ies that the cycle di d not complete and shou ld be repeated. RPM R PM Pack age Manager , a widely-used s oftware distrib utio n tool that yo u can use to i nstall, up grade, or remo ve softw are from y our syst em. S s Seconds. Serv ant A de vice contro[...]

  • Página 129

    Glossary © National Inst ruments Cor poration G-9 PCI-MXI-2 for Linux T trigger Either TTL o r ECL lines used for in termodule communication. TTL T ra nsistor -T ransistor Logic. U user windo w A region of PCI ad dress space rese rved b y the PCI-MXI- 2 for use vi a the NI-VXI low-le v el function calls. MapVXIAddress() uses this address space to [...]

  • Página 130

    Gloss ar y PCI-MXI-2 for Linux G-10 ni.com VXItedit VXI R esource Editor prog ram, a part of the NI-VXI bus inter face softw are package. Used to conf igure the system, edit the manuf acturer name and ID numbers, edit the model na mes of VXI and non-VXI dev ices in the sy stem, as well as the system interrupt co nf iguration inform ation, and displ[...]

  • Página 131

    © National Inst ruments Cor poration I-1 PCI-MXI-2 for Linux Index A A16 base ad dress, V MEbus, 4-3 A16 write posting, VXI/VME-MXI-2, 6-21 A24/A32 write posting PCI-MXI-2 , 6-17 VXI/VME-MXI-2, 6-21 address space configuration PCI-MXI-2 , 6-18 VXI/VME-MXI-2, 6-20 arbiter type, setting, 6-26 arbitrat ion mode, interlock ed, 6-22 automatic retry fea[...]

  • Página 132

    Index PCI-MXI-2 for Linux I-2 n i.com parts locator di agram (figure), 4-2 VMEbus A16 ba se address, 4-3 VME-MXI-2 i ntermodul e sign alin g, 4-4 VXI-MXI-2 modu le configurat ion EEPROM, 3-14 front p anel features, 3- 3 MXIbus termination, 3-13 onboard D RAM, 3- 17 remo ving me tal e nclos ure , 3-3 right-si de cover (fi gure), 3-2 trigger input te[...]

  • Página 133

    Index © National Inst ruments Cor poration I-3 PCI-MXI-2 for Linux E EEPROM. See configuration EEPROM electrical specifications PCI-MXI-2, A-3 VME-MXI-2 mo dule, A-11 VXI-MXI-2 module, A-7 enable byte swapping option, VXI/VME shared RAM, 6-9 environmental specifications PCI-MXI-2, A-2 VME-MXI-2 mo dule, A-10 VXI-MXI-2 module, A-6 example code, E- [...]

  • Página 134

    Index PCI-MXI-2 for Linux I-4 n i.com L LA selecti on and logi cal address o ption, 6-20 LabV IEW s oftw are , 1-6 LEDs on VXI/VME-MXI-2, D-2 loca l bus, VXIbu s, 3 -7 local resource access functions, 7-3 logical address configuration PCI- MXI -2 b oa rd, 6- 5 VXI/VME-MIXI-2, 6-2 0 VXI-MXI-2 modu le, 3-3 defini tion, 3-3 Logical Add ress Conf igura[...]

  • Página 135

    Index © National Inst ruments Cor poration I-5 PCI-MXI-2 for Linux P parity checking MXIbus, 6- 29 PATH environment var iable, 6-1 PCI Bus options , 6-17 expansion RO M, 6-18 user window and driver window, 6-17 window s ize, 6-18 PCI-MXI-2 boa rd common qu estions, D-1 configuration See also PCI -MXI-2 Confi guration Editor configurat ion EEPROM, [...]

  • Página 136

    Index PCI-MXI-2 for Linux I-6 n i.com VXI shared RAM option s, 6-6 advanced shared RAM settings, 6-8 illustration , 6-8 enable by te swappi ng, 6-9 memory select, 6-9 shared RAM poo l, 6-7 lower hal f window an d upper half wi ndow, 6-7 VXI/VME shared RAM size, 6-7 window map ping, 6-9 performance specif ications PCI- MX I-2 bo ard, A-3 VME-MXI-2 m[...]

  • Página 137

    Index © National Inst ruments Cor poration I-7 PCI-MXI-2 for Linux VXI-MXI-2 electrical, A-7 environmental, A-6 MXIbus capability descriptions, A-4 performance, A-7 physical , A-6 requirem ents, A-6 VMEbus capability codes, A-4 suppor t technical, E-1 symbo ls in C p rogr ams, 7-4 synchro nous MXI protocol , 6-16 system con figurati on function s,[...]

  • Página 138

    Index PCI-MXI-2 for Linux I-8 n i.com parts locator di agram (figure), 4-2 VMEbus A16 ba se address, 4-3 VME-MXI-2 i ntermodul e sign alin g, 4-4 connecting MXIbus cabl e, 4-11 default setting s Config uration Ed itor se ttings (table), 1 -13 hardware des cription, 1-4 installation, 4-10 quick start install ation, 1-7 specifications electrical, A-1[...]

  • Página 139

    Index © National Inst ruments Cor poration I-9 PCI-MXI-2 for Linux VXIedit configuration utilit y VME de vic e co nfig ura tion information, 1-8 VXIEDIT software utility illustration , 6-2 runnin g, 6-1 text-based equivalent utility (note), 6-1 VXILINUX s ymbol, de fining, 7 -4 VXI memA lloc fu ncti on (c aut ion ), 7 -3 VXI-MXI-2 modu le, 3-1 com[...]