07-24-2009 02:08 AM
Hello,
With DAQmx, I get error -2000170 when I test my old PCI-MIO-16E-4 card with the Test Panels in MAX. It means the name of my I/O ports are not recognised as a valid name for my card. I have tried names with the syntax 'AI #', and also with the syntax of the Traditional NI-DAQ, and also the names in the user manual of the card.
What is odd is the fact that I cannot choose a name for the port that I want to test (the unscrolling list is grey) therefore I have to type by myself something.
With Traditional NI-DAQ, the test pannels works fine: I can see in scope mode the voltage on the analog entries of the card.
The problem occured after upgrading from Labwiew 7.1 to Labview 8.5. As our application didn't work anymore, I re-installed everything as before:
- Complet un-installation of the NI programms, turn off computer
- Removing of the PCI-MIO-16E-4
- Installation of Labview 7.1
- Installation of DAQmx 7.2, turn off computer
- Place the PCI-MIO-16E-4 in its slot, reboot
- Auto-detection by windows XP of the card, I chosen "install the software automatically"
Thanks a lot for your advice
Solved! Go to Solution.
07-24-2009 08:45 AM
07-27-2009 07:23 AM
Thank you for your reply Dennis,
In MAX, the name of my PCI card is PCI-MIO-16E-4: "Dev1". Therefore I tried with the syntax "Dev1/ai0". This gives again the error -200170, but that time, in the window describing the error, it is written: "Device: Dev1" and as before: "Physical Channel Name: ai0". When I type "Dev2/ai0", I get an error -200220 "Device identifier is not valid". I think this means that MAX the PCI card is well recognized by MAX. Is it right?
I made a reset of the card through MAX with the button "Reset Device". The card also successfully passed the test with the "Self-Test" button (although the answer "The device has passed the self-test" seemed to me suspiciously instantaneous). I always has this problem of error -200170.
I checked in the documentation of my DAQmx version (7.2) if the card is supported. It is the case:
· NI PCI-MIO-16E-4 (PCI-6040E) 500 kS/s (1-channel), 250 kS/s (multichannel), 12-bit, 16 AI channel, two AO channel, 8 DIO-line, two counter/timer device
What I wonder is the following: Is it normal that I cannot select a name from an un-scrolling list for the IO port I want to check in the Test Panels of MAX (with DAQmx)? The field "Channel Name" is grey and I have to type something inside. It seems like the driver of the card, with the description of its I/Os, is not completely installed in my computer.
Therefore I followed the installation procedure described in http://forums.ni.com/ni/board/message?board.id=250&requireLogin=False&thread.id=15038, but without any success.
My last question is: As what I need is to make working again our Labview application, is it the correct methodology to try to figure out what is wrong with IMAX?
In thank you in advance very much for your advice.
07-28-2009 10:06 AM
Coul you please post some screenshots so I can understand what exactly you mean?
Regards,
07-28-2009 03:10 PM
a) Uninstall all NI applications with Control Panel -> Add or Remove Programs
b) Right click on My computer -> Properties -> Hardware -> Device Manager -> Right click on PCI device (yellow Question mark) -> Uninstall c) Turn off computer and remove the PCI-MIO-16E-4 card from the slot, reboot d) Installation of Labwiew, then DAQmx e) Switch Off computer, insert the PCI-MIO-16E-4 in its slot f) Reboot, Auto-detection by windows XP of the card, I chosen "install the software automatically" The key points are points b) and c), without these it seems that the wrong driver is not completely removed Andreas, please find a screenshot (with the problem solved): now I can chose names from an un-scroling list in the field “Channel Name”. Before it was grey and I had to write by myself “Dev1/ai0” but even with the correct syntax the error -200170 was always there. Anyway, thanks a lot for support (feeling not alone is already very nice 😉07-29-2009 02:46 AM