PDA

View Full Version : CListener::frameRead(..) isn't called !!!



sjhong
May 4, 2015, 10:09:10
I generated application using Visual Studio 2010 IC Imaging Control 3.3 Wizard.

I compiled and ran the application.

However, CListner::frameRead() isn't called.
I inserted some dubugging code to frameRead(...),
but the frameRead(...) didn't output any debug message.

I am using DMK 23FM021 and OS is Windows XP.
The SDK is IC Imaging Control 3.3.

Could you give me any information about this problem???

Stefan Geissler
May 4, 2015, 13:34:23
Please check, whether somewhere in the main class, where the Grabber is instantiated, is a line
....setSnapMode(false);
or similar.

If the snapMode is true, then frameReady is called, if the snapImage function is called.

http://www.theimagingsource.com/en_US/support/documentation/icimagingcontrol-class/meth_descFrameHandlerSink_setSnapMode.htm

sjhong
May 6, 2015, 01:19:06
Do you mean that I must call setSnapMode(true) to call frameReady???

sjhong
May 6, 2015, 02:53:50
Today, I found that the application displays the camera preview on the other PC.

Can you give the information about what the application generated by VC 10 wizard needs???
For example, What dll files does it need???

sjhong
May 6, 2015, 02:54:13
Today, I found that the application displays the camera preview on the other PC.

Can you give the information about what the application generated by VC 10 wizard needs???
For example, What dll files does it need???

Stefan Geissler
May 6, 2015, 08:24:07
Do you mean that I must call setSnapMode(true) to call frameReady???
setSnapMode(false)


Can you give the information about what the application generated by VC 10 wizard needs???
For example, What dll files does it need???

Please look in the IC Documentation or at:

http://www.theimagingsource.com/en_US/support/documentation/icimagingcontrol-class/Distribute.htm

Stefan Geissler
May 6, 2015, 08:24:07
Do you mean that I must call setSnapMode(true) to call frameReady???
setSnapMode(false)


Can you give the information about what the application generated by VC 10 wizard needs???
For example, What dll files does it need???

Please look in the IC Documentation or at:

http://www.theimagingsource.com/en_US/support/documentation/icimagingcontrol-class/Distribute.htm