Appendix B
Troubleshooting
© National Instruments Corporation
B-3
VXI-AT2000/NI-VXI MS-DOS Getting Started
Error Writing Log File
Another
VXIINIT
error message is
Error
writing
configuration
to
file
. This is
only a warning message, and does not indicate a problem with the configuration. Either the log
file could not be created, or only a partial log was written.
VXIINIT
creates a file
VXIINIT.OUT
in the
TBL
subdirectory. This file is a text file that
contains the same configuration information you see printed to the screen. The likely cause of
this message is that the disk drive is full.
VXIINIT Causes System to Hang
If the system hangs when you run
VXIINIT
, first make sure that the I/O registers of the
AT-MXI do not conflict with any other hardware in the PC AT, as discussed in the previous
section. If this is not the case and the problem still occurs, the most likely reason is a DMA
channel conflict.
In its default configuration, the AT-MXI uses one DMA channel, channel 3, for slave accesses.
You can change this channel by using the Logical Address Configuration Editor of the
VXIEDIT
or
VXITEDIT
program and modifying the Slave DMA Channel field. Try setting
this parameter to NONE, saving the new configuration, and running
VXIINIT
. If the system
does not hang, the problem was due to a DMA channel conflict.
An application uses slave DMA when it needs to dual-port PC memory so that it can be accessed
from the VXI/VME chassis. If the PC is simply going to read and write from devices, it does not
need slave DMA and you can keep the parameter in the NONE setting. If your application needs
to have slave accesses to the PC, you need to find an available DMA channel that you can set up
successfully. Follow these steps to find a slave DMA channel that will work:
1. Determine if there are other devices that are configured to use DMA channels.
2. Choose a level that is not used in your system and set the AT-MXI to use this level. Refer to
the DMA Channel Selection section of Chapter 2 for instructions on making this hardware
change.
3. After you change the AT-MXI slave DMA channel jumper, use the Logical Address
Configuration Editor of
VXIEDIT
or
VXITEDIT
to enter the new slave DMA channel.
4. Save the changes and run
VXIINIT
.
As mentioned previously in the Master Mode Versus Slave Mode section of Chapter 2, the
NI-VXI software does not use master-mode DMA for block transfers because the
movs
instruction is faster on most PCs. The latest version of the NI-VXI software sets the default
value for the Master DMA Channel field in the Logical Address Configuration Editor to
NONE, and this value cannot be modified. If you are using a version of the NI-VXI software for
the AT-MXI prior to Version 3.10, ensure that this value is set to NONE.