08-04-2009 06:56 PM
Tried it programatically... still throws exception:
CWIMAQVisionClass vision = new CWIMAQVisionClass();
CWIMAQViewerClass viewer = new CWIMAQViewerClass();
vision.ReadImage(viewer.Image, redLEDFileName, viewer.Palette);
08-05-2009 12:45 PM
Moved to new, unanswered, thread: http://forums.ni.com/ni/board/message?board.id=200&thread.id=24071
08-06-2009 10:12 AM
rcldesign -
With the .NET interop API that you're using, you have to have a form with a CWIMAQVision control dropped on it to call Vision methods.
The new native .NET API in Vision Development Module 2009 removes this limitation, and is generally much easier to use. You can download an evaluation version here.
Greg Stoll
National Instruments