Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

display video with a Visual C++.net picturebox control

Have Nimac 1394 for camera. Would like to display video on Windows form. Am using Visual C++.net 2003.
0 Kudos
Message 1 of 2
(4,486 Views)
In response to: "Have Nimac 1394 for camera. Would like to display video on Windows form. Am using Visual C++.net 2003."

First of all, in order to acquire images from an IEEE 1394 camera, you will want to have to have the NI-IMAQ for IEEE 1394 version 2.0 driver. If you do not have this driver, you will have to purchase it from National Instruments. Once you have the driver, there will be example programs that come with the driver that are specificly made for .NET. In these example programs, they show you how to use the CWIMAQViewer which is the window that displays your image from your camera. Also, you will want to make sure that you have the NationalInstruments.CWIMAQ1394.Interop and the NationalInstruments.AxCWIMAQControlsLib.Interop References included in your project. One last thing that you want to remember is that your 1394 camera must be DCAM compliant to work with the NI-IMAQ 1394 driver.
I hope this helps, but please let me know if you need more information, either on the driver or how to get in contact with NI.

Regards,
DJ
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(4,476 Views)