Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Acqusition from PCI Frame Grabber in Visual Studio.NET 2008

Solved!
Go to solution

Hi

I want to acquire an Image from my PCI 1422 frame grabber card connected to the camera and process it into Visual Studio 2008 using either VB.NET or C#.NET language and Vision Development Moule library functions. The interfacing has been tested using Vision Acquisition Software. I tried the following

 

1. All the examples given at location (C:\Program Files\National Instruments\Vision\Examples\dotNET) use static image stored in hard driver to process. i.e when you press load image button it shows file browsing dialog. I want the image to be loaded from camera connected to the frame grabber.

2. The Vision Assitant generates the code for LabVIEW and .NET but it do not provide the functionality to grabe image from camera even it is possible to view and grabe image in vision assitant in acquire image section while generating script. Instead it also opens file browsing dialog upon pressing load image button while running .NET application generated by VA.

3. The required functionality is easily achieved in LabVIEW using NI Vision Acqusition Express (VI) wizard. Similar wizard is not available in Visual Studio. However it is there for measurement studio application using DAQ devices.

 

Thanks

Ishant

0 Kudos
Message 1 of 4
(3,534 Views)
Solution
Accepted by topic author Ishant_Dave

Hi Ishant,

 

The IMAQ .NET examples should be here (on Vista/Win7):

C:\Users\Public\Documents\National Instruments\NI-IMAQ\Examples\dotNET

 

Eric

0 Kudos
Message 2 of 4
(3,531 Views)

Hi Eirc

The IMAQ .NET examples are there but the do not acquire images from camera. Instead they load images stored on your hard disk. I think there is no straight forward way to get images from camera into Visual Studio.NET as it is available in LabVIEW via. Vision Acqusition Assistant VI and the DAQ Assistant wizard to get data from DAQ devices into Visual Studio. I have to use library functions to do that.

 

Reagrds

Ishant

0 Kudos
Message 3 of 4
(3,528 Views)

Ishantm

 

Did you look at that path I referenced? That is the path to IMAQ examples. All they do is acquire from cameras. I think you are confusing the path with the one to the "Vision" examples.

 

Eric 

0 Kudos
Message 4 of 4
(3,526 Views)