Archived: Configuring VXI or VME MXI-2 Multi-Chassis Systems

Publish Date: Apr 05, 2019 | 4 Ratings | 3.75 out of 5 | Print

Overview

This document has been archived and is no longer updated by National Instruments.

This section outlines the basics of setting up a multiple-mainframe system using MXI-2. If you are using MXI-1, an application note outlines a step-by-step approach to system setup. See the National Instruments Web site at www.ni.com for this application note. Refer to the VXI-MXI-2 User Manual for additional information on setting up multiple mainframes using MXI-2.

Table of Contents

  1. External Controller MXI Board - Multiple VXI/VME Mainframes
  2. Embedded VXI Controller - One Additional VXI or VME Mainframe
  3. Embedded VXI Controller - Two Additional VXI Mainframes
  4. Embedded VME Controller - One Additional VME Mainframe

1. External Controller MXI Board - Multiple VXI/VME Mainframes



Hardware

Note This configuration assumes that the VXI-MXI-2s will be placed in Slot 0 of the VXI mainframes and that the VME-MXI-2s will be placed in Slot 1 of the VME mainframes. If you need to use these modules in other slots, refer to either the Setting Up Embedded Controllers and Mainframe Extenders as Non-Slot 0 Devices, Non-Resource Manager document available at www.ni.com or the getting started manual for your controller.


External Controller MXI
Examples of external controller MXI boards include the PXI-MXI-2, PCI-MXI-2 and AT-MXI-2. In a standard configuration, the external controller MXI board will be the MXIbus System Controller of the MXIbus system. This configuration requires no changes to the external controller MXI hardware. Refer to your getting started manual if changes are required due to the type of external controller that is being used.

VXI-MXI-2
1. If you are using VXI-MXI-2s in your system, you should assign them unique logical addresses that are multiples of 16, starting from 16. Use the logical address DIP switches to set the VXI-MXI-2s to appropriate logical addresses. See the VXI-MXI-2 User Manual for the location of this DIP switch.

Note The logical address of the VXI-MXI-2 limits the range of logical addresses that can be assigned to VXI devices in the mainframe. The allowable range of logical addresses is from the VXI-MXI-2 logical address plus one to the VXI-MXI-2 logical address plus 15.


2. Insert the VXI-MXI-2 in Slot 0 of the mainframe.

Note The VXI-MXI-2 will automatically terminate the MXIbus cable if it is the last device in the cable chain.


VME-MXI-2
1. If you are using VME-MXI-2s in your system, you should assign them unique logical addresses that are multiples of 16, starting from 16. Use the logical address DIP switches to set the VME-MXI-2s to appropriate logical addresses. See the VXI-MXI-2 User Manual for the location of this DIP switch.

2. Insert the VME-MXI-2 in Slot 1 of the mainframe.

MXIbus Cabling
1. Attach an MXIbus cable from the external controller MXI to the first mainframe extender. Use a MXIbus cable that has one daisy-chain (double-ended) connector, such as an MXIbus M2 cable. Connect the cable’s single-ended connector to the external controller MXI board and the cable’s double-ended connector to the first mainframe extender.

2. Attach an MXIbus cable between each subsequent pair of mainframe extenders.

If you are not connecting to the last mainframe extender in the MXIbus cable chain, use an MXIbus cable that has one daisy-chain (double-ended) connector, such as an MXIbus M2 cable. Connect the cable’s single-ended connector to the mainframe extender that is closer to the external controller MXI board and the cable’s double-ended connector to the mainframe extender that is farther away from the external controller MXI board.

If you are connecting to the last mainframe extender in the MXIbus cable chain, you can use an MXIbus cable that has two single-ended connectors, such as an MXIbus M1 cable. Connect the cable between the two mainframe extenders. Note that one end of the M1 cable must go closer to the MXIbus system controller, which by default is the external controller MXI.

Note The MXI-2 cable is polarized, which means that the direction the cable is connected in the system is important. If the MXI-2 cable is disconnected or reversed, Resman could hang, because the MXI-2 devices automatically search for the MXIbus system controller. The automatic search can be disabled by configuring the VXI Resource Editor or the VXI-MXI-2 Soft Front Panel configuration editor.



Software
1. If you are using VME-MXI-2s in your system, you will need to add your VME devices in Measurement & Automation Explorer (MAX). This involves providing information about the VME resources (address ranges, interrupts, etc.) required by the VME devices in your system. For more information about this please see Knowledgebase 2688KBYQ: Using MAX to Configure VXI/VME Devices.

2. Next, run Resman on the external controller MXI to configure the entire system. The display for the external controller MXI should indicate that the system has been configured correctly. There should be no indication of any problems.

Note If the MXI-2 cable is disconnected or reversed, Resman could hang, because the MXI-2 devices automatically search for the MXIbus system controller. The automatic search can be disabled by configuring the VXI Resource Editor or the VXI-MXI-2 Soft Front Panel configuration editor.

Back to Top

2. Embedded VXI Controller - One Additional VXI or VME Mainframe


Hardware

Embedded VXI Controller (in Slot 0 of First Mainframe)
No changes are necessary to the embedded VXI controller hardware, because it is being used in Slot 0. Insert the embedded VXI controller in Slot 0 of the first mainframe.

VXI-MXI-2 (in Non-Slot 0 of First Mainframe)
No changes are necessary. By default, the VXI-MXI-2 uses automatic slot 0 detection.

1. In the first mainframe, you should let the VXI-MXI-2 perform the VXIbus Timeout function, if at all possible, because this will generally allow MXIbus transfers more time to complete. Because both devices should not be allowed to perform the VXIbus Timeout function, you must disable the VXIbus timeout on the embedded VXI controller.

Use the embedded VXI controller’s VXI Resource Editor (vxiedit/vxitedit), enter the VXIpc-Configuration Editor, enter the Bus Configuration Editor, and change the VXI Bus Timeout parameter to DISABLE. Note that if your embedded VXI controller is the VXIpc-500 series, set Local Bus Timeout to DISABLE, but if your embedded VXI controller is the VXIcpu-030, do not set the Local Bus Timeout to DISABLE. Save your changes in the embedded VXI controller’s VXI Resource Editor (vxiedit/vxitedit), exit the VXI Resource Editor, and rerun VXIINIT on the embedded VXI controller.

2. Change the logical address of the VXI-MXI-2 to 127 using the logical address DIP switches. Although you can use other logical addresses, we recommend logical address 127 for this configuration.

Note The logical address of the VXI-MXI-2 limits the range of logical addresses that can be assigned to VXI devices in the mainframe. The allowable range of logical addresses is from the embedded VXI controller’s logical address plus one to the VXI-MXI-2’s logical address minus one (logical addresses from 1 to 126).


3. Insert the VXI-MXI-2 in a slot other than Slot 0.

VXI-MXI-2 (in Slot 0 of Second Mainframe)
1. Change the logical address of the VXI-MXI-2 to 128 using the logical address DIP switches. Although you can use other logical addresses, we recommend logical address 128 for this configuration.

Note The logical address of the VXI-MXI-2 limits the range of logical addresses that can be assigned to VXI devices in the mainframe. The allowable range of logical addresses is from the VXI-MXI-2’s logical address plus one to 254.


2. Insert the VXI-MXI-2 in Slot 0 of the second mainframe.

VME-MXI-2 (in Slot 1 of Second Mainframe)
1. Change the logical address of the VME-MXI-2 to 128 using the logical address DIP switches. Although you can use other logical addresses, we recommend logical address 128 for this configuration.

2. Insert the VME-MXI-2 in Slot 1 of the second mainframe.

MXIbus Cabling
1. Attach an MXIbus cable between the two VXI-MXI-2s.

If you are using an MXIbus cable that has one daisy-chain (double-ended) connector, such as an MXIbus M2 cable, connect the cable’s single-ended connector to the VXI-MXI- 2 that resides in non-Slot 0 of the first mainframe and connect the cable’s double-ended connector to the VXI-MXI-2 or VME-MXI-2 in the second mainframe.

If you are using an MXIbus cable that has two single-ended connectors, such as an MXIbus M1 cable, connect the cable between the VXI-MXI-2 in the first mainframe and the VXI-MXI-2 or VME-MXI-2 in the second mainframe. Note that one end of the M1 cable must go closer to the MXIbus system controller, which by default is the VXI-MXI-2 in the same mainframe as the embedded VXI controller.

Software
If using a VME mainframe, complete step 1; otherwise, proceed to step 2.

1. If you are using VME-MXI-2s in your system, you will need to add your VME devices in Measurement & Automation Explorer (MAX). This involves providing information about the VME resources (address ranges, interrupts, etc.) required by the VME devices in your system. For more information about this please see Knowledgebase 2688KBYQ: Using MAX to Configure VXI/VME Devices.

2. Run Resman on the embedded VXI controller to configure the entire system. The display for the embedded VXI controller should indicate that the system has been configured correctly. There should be no indication of any problems.

Note If the MXI-2 cable is disconnected or reversed, Resman could hang because the MXI-2 devices automatically search for the MXIbus system controller. The automatic search can be disabled by configuring the VXI Resource Editor or the VXI-MXI-2 Soft Front Panel configuration editor.

Back to Top

3. Embedded VXI Controller - Two Additional VXI Mainframes





Hardware

Embedded VXI Controller (in Slot 0 of First Mainframe)
No changes are necessary to the embedded VXI controller hardware because it is being used in Slot 0. Insert the embedded VXI controller in Slot 0 of the first mainframe.

VXI-MXI-2 (in Non-Slot 0 of First Mainframe)
No changes are necessary. By default, the VXI-MXI-2 uses automatic slot 0 detection.

1. In the first mainframe, you should let the VXI-MXI-2 perform the VXIbus Timeout function if at all possible, because this will generally allow MXIbus transfers more time to complete. Because both devices should not be allowed to perform the VXIbus Timeout function, you must disable the VXIbus timeout on the embedded VXI controller.

Use the embedded VXI controller’s VXI Resource Editor (vxiedit/vxitedit), enter the VXIpc-Configuration Editor, enter the Bus Configuration Editor, and change the VXI Bus Timeout parameter to DISABLE. Note that if your embedded VXI controller is the VXIpc-500 series, set Local Bus Timeout to DISABLE, but if your embedded VXI controller is the VXIcpu-030, do not set the Local Bus Timeout to DISABLE. Save your changes in the embedded VXI controller’s VXI Resource Editor (vxiedit/vxitedit), exit the VXI Resource Editor, and rerun VXIINIT on the embedded VXI controller.

2. Change the logical address of the VXI-MXI-2 to 127 using the logical address DIP switches. Although you can use other logical addresses, we recommend logical address 127 for this configuration.

Note The logical address of the VXI-MXI-2 limits the range of logical addresses that can be assigned to VXI devices in the mainframe. The allowable range of logical addresses is from the embedded VXI controller’s logical address plus one to the VXI-MXI-2’s logical address minus one (logical addresses from 1 to 126).


3. Insert the VXI-MXI-2 in a slot other than Slot 0.

VXI-MXI-2 (in Slot 0 of Second Mainframe)
1. Change the logical address of the VXI-MXI-2 to 128 using the logical address DIP switches. Although you can use other logical addresses, we recommend logical address 128 for this configuration.

Note The logical address of the VXI-MXI-2 limits the range of logical addresses that can be assigned to VXI devices in the mainframe. The allowable range of logical addresses is from the VXI-MXI-2’s logical address plus one to the next VXI-MXI-2’s logical address minus one (logical addresses from 128 to 143).


2. Insert the VXI-MXI-2 in Slot 0 of the second mainframe.

Note The VXI-MXI-2 will automatically terminate the MXIbus cable if it is the last device in the cable chain.


VXI-MXI-2 (in Slot 0 of Third Mainframe)
1. Change the logical address of the VXI-MXI-2 to 144 using the logical address DIP switches. Although you can use other logical addresses, we recommend logical address 144 for this configuration.

Note The logical address of the VXI-MXI-2 limits the range of logical addresses that can be assigned to VXI devices in the mainframe. The allowable range of logical addresses is from the VXI-MXI-2’s logical address plus one to the next VXI-MXI-2’s logical address minus one, or 254 if this is the last VXI-MXI-2 (logical addresses from 145 to 159). We recommend setting the logical addresses of the VXI-MXI-2s by multiples of 16.


2. Insert the VXI-MXI-2 in Slot 0 of the third mainframe.

Note The VXI-MXI-2 will automatically terminate the MXIbus cable if it is the last device in the cable chain.


MXIbus cabling
1. Attach an MXIbus cable between the first VXI-MXI-2 and the second VXI-MXI-2.

If you are using an MXIbus cable that has one daisy-chain (double-ended) connector, such as a MXIbus M2 cable, connect the cable’s single-ended connector to the VXI-MXI-2 that resides in non-Slot 0 of the first mainframe and connect the cable’s double-ended connector to the VXI-MXI-2 that resides in Slot 0 of the second mainframe.

2. Attach an MXIbus cable between the second VXI-MXI-2 and the third VXI-MXI-2.

If you are using an MXIbus cable that has one daisy-chain (double-ended) connector, such as an MXIbus M2 cable, connect the cable’s single-ended connector to the VXI-MXI-2 that resides in Slot 0 of the second mainframe and connect the cable’s double-ended connector to the VXI-MXI-2 that resides in Slot 0 of the third mainframe.

If you are using an MXIbus cable that has two single-ended connectors, such as an MXIbus M1 cable, connect the cable between the two VXI-MXI-2s. Note that one end of the M1 cable must go closer to the MXIbus system controller, which by default is the VXI-MXI-2 in the same mainframe as the embedded VXI controller.

Software
Run RESMAN on the embedded VXI controller to configure the entire system. The display for the embedded VXI controller should indicate that the system has been configured correctly. There should be no indication of any problems.

Note If the MXI-2 cable is disconnected or reversed, Resman could hang because the MXI-2 devices automatically search for the MXIbus system controller. The automatic search can be disabled by configuring the VXI Resource Editor or the VXI-MXI-2 Soft Front Panel configuration editor.

Back to Top

4. Embedded VME Controller - One Additional VME Mainframe


Hardware

Embedded VME Controller (in Slot 1 of First Mainframe)
Refer to the documentation for the embedded VME controller to determine which hardware changes are necessary. Insert the embedded VME controller in Slot 1 of the first mainframe.

VME-MXI-2 (in Non-Slot 1 of First Mainframe)
No changes are necessary. By default, the VXI-MXI-2 uses automatic slot 0 detection.

1. In the first mainframe, you should let the VME-MXI-2 perform the VMEbus Timeout function, if at all possible, because this will generally allow MXIbus transfers more time to complete. Because both devices should not be allowed to perform the VMEbus Timeout function, you must disable the VMEbus timeout on the embedded VME controller. Refer to the documentation for the embedded VME controller to determine how to disable its VMEbus Timeout function.

2. Change the logical address of the VXI-MXI-2 to 127 using the logical address DIP switches. Although you can use other logical addresses, we recommend logical address 127 for this configuration.

3. Insert the VME-MXI-2 in a slot other than Slot 1.

VME-MXI-2 (in Slot 1 of Second Mainframe)
1. Change the logical address of the VME-MXI-2 to 128 using the logical address DIP switches. Although you can use other logical addresses, we recommend logical address 128 for this configuration.

2. Insert the VME-MXI-2 in Slot 1 of the second mainframe.

MXIbus Cabling
1. Attach an MXIbus cable between the two VME-MXI-2s.

If you are using an MXIbus cable that has one daisy-chain (double-ended) connector, such as an MXIbus M2 cable, connect the cable’s single-ended connector to the VME-MXI-2 that resides in non-Slot 1 of the first mainframe and connect the cable’s double-ended connector to the VME-MXI-2 that resides in Slot 1 of the second mainframe.

If you are using an MXIbus cable that has two single-ended connectors, such as a MXIbus M1 cable, connect the cable between the two VME-MXI-2s.

Software
You will need to program the Logical Address, A16, A24, and A32 Window Map Registers on the VME-MXI-2s to allow accesses between the two VME mainframes.

Related Resources

 

Back to Top

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit