04-12-2005 03:00 PM
04-14-2005
01:27 AM
- last edited on
07-10-2025
09:25 AM
by
Content Cleaner
Hi Kale,
Thanks for using our Discussion Forums. Its always good to see these interesting questions. I am confident that we can resolve this issue.
I believe that error means that the argument datatypes are incorrect on the method you are invoking. This type mismatch error could be from any number of things, but because an older version of the IMAQ driver was at one point installed, I am guessing that the example programs you have use an older data type that used to represent images in an older version of IMAQ. We commonly see this problem in Labview, and have become fairly good at diagnosing it. Seeing the problem within .NET is interesting, and should we find that this is the case, I will be sure to document the problem using our KnowledgeBase articles.
In order to resolve the problem, I would start by uninstalling both Vision and the IMAQ drivers. Additionally, it would be good at this point to check and ensure that there are no other versions of these two softwares lingering on your computer. After we have done this, I would install your IMAQ driver, preferably the latest version (3.1.1) if possible.
After installing the driver, reinstall your most recent version of Vision, and ensure that you include support for your programming language. You can do this by selecting a custom installation and browsing within the "features to install" to ensure that the item is checked. After installing Vision, check again to see if you can open the example programs.
I should mention that even if this fix works for your examples, it will not allow the older VIs to be run. In order to do this, the various data types would need to be changed by hand to mirror the new datatypes found in the newer examples.
Let me know how it goes!
Robert