I am trying to get the PCI-MIO-16XE-50 card to work with Real-Time Windows Target 2.1.
There are no problems the first 5-6 times when I compile my Simlink model and execute the Real-Time application. But then the Real-Time kernel seams to have problems to connect to the PCI card as Windows NT crashes with error code 0x0000001e which means that the system couldn't read from the device.
Does anyone have any experience with this card and various BIOS settings for the PCI bus. I think that the problem has something to do with the PCI bus.
My system is: Asus A7V133-c (BIOS 1007-001-G) Motherboard Athlon Thunderbird 1200MHZ 512 MByte Infinion CL2 National-Instruments PCI-MIO-16XE-50
I've have a clean Windows NT4 instalation with SP 6a. I tried to compile the Real-Time application with Visual C++ 6.0 and with Watcom 11.0c but there wasn't any difference.
What driver are you using for the data acquisition board? Are you using an NI-DAQ driver from National Instruments, or are you using a driver from MathWorks?
If you are using an NI-DAQ driver from National Instruments, then visit http://www.ni.com/support/daq/ for troubleshooting information. Even if you are not using the NI-DAQ driver, you may want to install it and use it at least to test the card.
If you are using a driver provided by Mathworks, please contact them for support.
Chad H. Applications Engineering National Instruments http://www.ni.com/ask
Thank you very much for your answer. I installed the NI-DAQ 6.9.1 driver from National-Instruments to test the card. It was recognized and the ressource test was ok. As I had only problems running it under Real-Time Windows Target for a longer period I thought there might be some problems with some PCI settings in the BIOS.
A few hours ago I found out that the problem lies in the driver supplied with Matlabs. The card works without any problems under Matlab 5.3.1 (Real-Time Windows Target 1.5) and Windows 98SE. I was running it for some hours without a crash. For some reason the newer driver supplied with Matlab 6.1 is making problems, as it is not possible to aquire data from more than one chanel at the same time.
Anyway, I'm glad that th e card is working without problems and thanks again for your fast answer.