03-08-2006 02:26 PM
03-22-2006 08:54 AM
Hi Cecile,
If you look for documentation, you can find it there : Start>>All Programs>>National Instruments>>Vision>>Documentation>> ... (Have a look there and search the appropriate files you are looking for).
However I give you the link where you can find the examples code :http://forums.ni.com/ni/board/message?board.id=200&message.id=9205
I hope that can help you,
Best Regards,
03-22-2006 02:02 PM
Thank you for your response,
I found earlier on how to insert objects in my C# program. I just don't understand why all documentation and examples are for Visual Basic. Even if the examples are easy to understand, it is not so easy to use the same functions in C#.
Should I have written my program in Visual Basic ?
Cécile
03-23-2006 04:39 AM
05-15-2006 02:38 AM
| Software Requirements | |||
|
| |||
| Application Software: | None | ||
| Toolkits and Add-ons: | IMAQ Vision for Measurement Studio 7.1 | ||
| Additional Software: | Visual Studio .NET 2003 | ||
| Language(s): | C# | ||
|
| |||
| Hardware Requirements | |||
|
| |||
| Hardware Group: | Vision (IMAQ) | ||
| Model: | IMAQ Vision for Measurement Studio | ||
| Driver: | NI-IMAQ 3.1 | ||
05-18-2006 02:49 AM
Hi Cécile,
The reply of the US Support Team about the your question.
We have VB.NET examples that get installed with the driver (if you include .NET support). Also, you can refer to NI Vision for Visual Basic Reference Help. The functions that you refer to are methods of the CWIMAQVision control.
As for the C# documentation, you use the same activeX calls in C# that you use in Visual Basic, so most of the time you can refer to the VB help as well. I just did a quick search and did find a C# image acquisition example on-line. Here is the link to help you find it.
http://venus.ni.com/stage/utf8/niepd_web_display.DISPLAY_EPD4?p_answer=&p_guid=FD8400A1657D2D7EE0340...
I hope it help you.
Regards,
08-03-2007 12:12 PM
I would really like to get an example of C# implementing the .Net vision components. However, "hardware.zip" gets a runtime error (load error) while the link does not work. I am VS2005 and the latest Vision module (8.2).
Thank you.
11-19-2007 11:47 PM
Hi cecilemx,
How about you C# program already running smoohtly?
I also tried to make C# program using NI libraries and use same PCI-1411 card.
I already can snap or grab the picture, but still have problem to make pattern matching.
I can give my source code if you want..(i using VS2005)
11-23-2007 12:25 AM
07-15-2008 08:57 AM - edited 07-15-2008 08:58 AM
Hi Cécile,
The reply of the US Support Team about the your question.
We have VB.NET examples that get installed with the driver (if you include .NET support). Also, you can refer to NI Vision for Visual Basic Reference Help. The functions that you refer to are methods of the CWIMAQVision control.
As for the C# documentation, you use the same
activeX calls in C# that you use in Visual Basic, so most of the time
you can refer to the VB help as well. I just did a quick search and
did find a C# image acquisition example on-line. Here is the link to
help you find it.
http://venus.ni.com/stage/utf8/niepd_web_display.DISPLAY_EPD4?p_answer=&p_guid=FD8400A1657D2D7EE0340...
I hope it help you.
Regards,