PDA

View Full Version : Error In "MemorySnapImage()"



HIDE
November 8, 2006, 14:00:10
Hi,

I am using "IC ImagingContorol Ver3.0.1.1".
When I call "MemorySnapImage()", an error occurs so that I can't grab a still image.

Error message says below:

TIS.Imaging.ICException: Option is not available ---> System.Runtime.InteropServices.COMException (0x800A001D): Exception From HRESULT : 0x800A001D

This error occurs even if I compile "DemoApp" in sample source directory.

The environment is as follows:
-CaptureBoard:DFG/SV1
-Compiler:VC#2005
-.NET Framework 2.0


Best Regards

Hide,

HIDE
November 9, 2006, 08:22:39
I found additional information.
When I click Camera Icon while showing LiveVideo on "DemoApp",
the following message occurs:

"An option is not available, e.g. you called setFlipH and the VideoCaptureDevice does not support flipping".

HIDE
November 9, 2006, 10:02:58
I have solved this problem.

After I changed Video Format "RGB24" to "UYVY",
this problem has cleared.

Stefan Geissler
November 10, 2006, 09:11:43
Hello HIDE,

Please excuse the long delay of my answer. Usually the video format should have no influence to MemorySnapImage(). We will investigate in this issue.

Daniel
November 11, 2013, 10:24:54
Hello,
are there any news about this issue? I get this error a lot:
I took the Device Setup.vi as a template and adding the Grab functionality by a way identical to the one used in LabVIEW Picture.vi - copy-paste of elements from the latter into the former VI and wiring anew. Funnily, grabbing works well in the LabVIEW Picture.vi demo, but it throws the said error (see image) in the modified Device Setup.vi.
Daniel

1637

Stefan Geissler
November 11, 2013, 11:15:07
Please make sure, the memory current gabber color format property is set to either RGB24 or RGB 32. (one of them, i guess, it must be RGB32, since RGB24 is default)
Otherwise an error is thrown.