National Instruments NI-488.2 Time Clock User Manual


 
Error Codes and Solutions Appendix B
NI-488.2 User Manual for Windows B-6 © National Instruments Corp.
If you are using Windows 3.0 with DMA for data transfers, and you do not have the
National Instruments virtual DMA device (nivdmad.386) installed, the NI-488.2
software returns EDMA if you try to use DMA to transfer data.
Solutions
Install the appropriate virtual device in the system.ini file in the Windows
directory in the [386Enh] section. The following line installs the virtual GPIB
device:
device =
drive
:\
path
\nivgpib.386
where
drive
and
path
describe the location of nivgpib.386 on your hard drive.
By default, only one GPIB board at a time can perform DMA. If you need to perform
DMA transfers on multiple GPIB boards at the same time, add a new section to your
system.ini file, [vgpibd]. In this section add the option
NumBoardsUsingDMA and set it equal to the number of boards that will be
performing DMA. For example, if you want two boards to perform DMA
concurrently, add the following lines to the bottom of your system.ini file:
[vgpibd]
NumBoardsUsingDMA=2
To install the virtual DMA device, first change the default virtual DMA device line to a
remark line by adding a semicolon. Then add a line to install the National Instruments
virtual DMA device as follows:
;device = *vdmad
device =
drive
:\
path
\nivdmad.386
where
drive
and
path
describe the location of nivdmad.386 on your hard drive.
Note: You must restart Windows after you modify the system.ini file.
Alternatively, you can correct the EDMA problem by disabling DMA in the software.
You can use ibdma to disable DMA.
EOIP (10)
EOIP occurs when an asynchronous I/O operation has not finished before some other call
is made. During asynchronous I/O, you can only use ibstop, ibwait , and ibonl or
perform other non-GPIB operations. Once the asynchronous I/O has begun, further GPIB
calls other than ibstop, ibwait , or ibonl are strictly limited. If a call might
interfere with the I/O operation in progress, the driver returns EOIP.