Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a Machine Vision .net Webform Visual Studio 2012 C#

Hello,

 

I am trying to creat a new web based solution in Visual Studio 2012 (c#)  for a capturing machine vision off multiple cameras.

 

I have seen (old) examples of Visual Studion windows based application for machine vision eg SnapGrap IEEE1394. I would like this type of application but for a web based configuration.

 

Is this possible and are there any examples/tutorials now available?

 

What is National instruments strategy for future web based applications in machine vision? It seems I can only find old projects, which are not web based.

 

Thank you for any help available.

 

Regards

Chris

 

0 Kudos
Message 1 of 4
(6,255 Views)

We offer a product called Vision Acquisition Software package that allows you to acquire images from firewire cameras (1394), USB 2.0, USB 3.0, GigE Vision, and CameraLink cameras (as well as a few legacy camera formats). This comes with a LabVIEW API as well as a C API. We provide some example code for acquiring images using our C API that you might find helpful. You can download a trial version of this software at this link: http://www.ni.com/download/ni-vision-acquisition-software-2014.02/4584/en/

 

If I understand you correctly, you would like to create a web service that displays the images from the camera on a web browser? You would have to design the webservice yourself in C# because we do not offer any text-based sofware tools to do that. I don't see any reason whey this webservice couldn't call the vision DLLs in order to acquire images from the camera to display them on the web browser.

 

Jeremy P.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(6,232 Views)

Thanks Jeremy, we do have a vision aqusition software licences at the moment but would like to try either a webform or a windows form environment. 

 

We will look into this web service solution at a later stage then if this is the only solution. We would like to try a windows form solution for VS 2012 preferably C# as well.

 

I have also been trying to use your Snap Grab application as windows form. Here is the lionk to the sample on the National Instruments website. http://www.ni.com/example/27279/en/

 

Unfortunately this project is not compiling in Visual Studio 2012. I believe the requirements specify 2003 or greater but it isnt working.

 

It seems the active x image viewer isnt compatible with .net 4.0, but I am not sure as I am a beginner.

 

Do you have this Snab Grab application compiled in VS 2012 which we can try to get working with our cameras?

 

Thanks for your help

Chris

 

0 Kudos
Message 3 of 4
(6,190 Views)

You can try looking through the text-based examples that install with VAS. You can find these by clicking Start>>All Programs>>National Instruments>>Vision>>Text Based Examples. You should find a lot of examples for Snap and Grab with a lot of different configurations. We provide the C++ example code but not any compiled executables. You can examine this provided code to learn how the Vision API works for C.

 

I hope this works for you. I don't believe that we have anything more to offer than these examples.

 

Jeremy P.

Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(6,175 Views)