07-16-2008 07:39 PM
07-17-2008 06:47 PM
Hello Alex,
Error -10007 can be thrown for a number of reasons. In order to diagnose what the exact cause is I would need to see the values of all the input parameters to the AI Config VI is. A screen shot of the block diagram without execution highlighting on would be great. If you'd like to do further trouble shooting on your own, these two KnowledgeBase articles look like they may be relevant to your issue (in particular the first link):
Error -10007 When Entering a Valid Channel Number in the Test Panel in MAX
Error -10007 When Using Virtual Channels and Unnamed Channels In the Same Channel String
Cheers,
07-17-2008 07:42 PM
07-18-2008 01:08 PM
Hello Alex,
The second screen shot in your first post is what we need to look at. In particular we need to make sure that the inputs to the AI Config, Clock Config, and AI Start are all correct. Any erroneous inputs to the Config VIs are thrown when you try to start the task. I'm guessing this is what you provided a screen shot of in your last post, but the second image isn't showing up, please repost this if possible.
Another possible fix would be to upgrade to the current driver version (7.4.4 for Traditional NI-DAQ, and, if you like, 8.7.1 for NI-DAQmx--though in this VI it doesn't look like you're using DAQmx). Upgrading the driver would fix this issue if it was a bug that has been fixed, or if your current installation is corrupted for some reason. While this error sounds like it’s probably a configuration parameter issue, if this is the only system you're working with then upgrading the driver wouldn't hurt anything.
Cheers,
07-18-2008 05:03 PM
Hi Brooks,
I fixed the problem with the screenshot above, it's working now. The strange thing is this VI was working before on another computer, so how could it be a problem with the VI? It seems like the problem is a mis-configuration in the MAX utility but I have the clock card set to device 1, the AI boards set to device 2 and 3 just like when the VI was working. Is the VISA alias field critical?
-Alex
07-21-2008 01:58 PM