02-01-2011 12:16 PM - edited 02-01-2011 12:20 PM
Hello,
We've reproduced the error you're getting, but we have not yet identified the cause of the error. I've filed a bug report with ID 283358 to continue investigating this issue.
While investigating this, I was not actually able to reproduce the error you saw. However, a colleague of mine was able to reproduce the error.
- I was able to generate the wrapper for your assembly from CVI 8.5, 9.0, and 2009 on my machine.
- My colleague saw the same error as you saw with all versions of CVI on his machine (8.5, 2009, etc).
Is your CVI 8.5 installed on a different machine that your CVI 2009? If so, could you try installing CVI 8.5 on the machine with CVI 2009? It's possible that this error is machine dependent.
Finally, I've attached the 8.5 version of the wrapper that I was able to generate on my machine. If your assembly isn't going to be changing much, this should work for you. Otherwise, you'll likely need to generate the wrapper from 2009 (or on that other machine) until we're able to determine the cause of the error.
Sorry for any inconvenience -
NickB
National Instruments
02-02-2011 03:25 AM
, 2003Hi!
CVI 8.5 and CVI 2009 are on different machines.
02-02-2011 08:35 AM
Hey Ivan -
After continuing to look into this issue a little further, it turned out that there is a bug in CVI 8.5 that was fixed for all future versions. The bug isn't actually a result of any implementation detail, but because we built some of our internal components against the .NET 1.1 Framework - without SP1. The error you were seeing was a result of assemblies built against a pre SP1 version of .NET 1.1, and because we built against .NET 1.1 SP1 after 8.5, the issue is no longer present.
To get the updated, working, components, you just need to install a version of the LabWindows/CVI Run-Time Engine later than 8.5.
NickB
National Instruments