10-12-2009 08:12 AM
Hi,
I have : - IMAQ1394 2.0.1
- NI Vision 7.1
In VB, I can Snap/Grab Image from 1394 camera and display the Image in CWIMAQVIEWER :
Dim Image0 As New CWIMAQImage
imaq1394SnapCW(sid0,Image0)
CWIMAQViewer1.Attach Image0
Now,How can I do this in VC++6.0?
I tried:
C_CWIMAQImage m_imgViewer1;
m_imgViewer1 = m_CWIMAQVision1.CreateCWIMAQImage();
m_CWIMAQViewer1.Attach(m_imgViewer1);
imaq1394SnapCW(Sid,m_imgViewer1); <--there is no "imaq1394SnapCW "function in VC++,why?
Please help me!
Thank you!
04-11-2011 10:51 AM
For people looking back at these old posts regarding CWIMAQViewer - it was not made to be used in the C environments and is made for VB.
Refer to the following locations for displaying images in C environments:
Start»All Programs»National Instruments»Vision»Documentation
Start»All Programs»National Instruments»Vision»Text Based Examples
Make sure that you look at the examples and documentation that is in reference to the C environments not the VB environments