<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>The Imaging Source Community - IC Imaging Control ActiveX</title>
		<link>http://www.theimagingsourceforums.com/</link>
		<description>Please use this forum for IC Imaging Control ActiveX support only. If  you need support for the C++ Class Library or .NET version, please use the appropriate forum.</description>
		<language>en</language>
		<lastBuildDate>Fri, 10 Sep 2010 18:44:24 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.theimagingsourceforums.com/images/misc/rss.jpg</url>
			<title>The Imaging Source Community - IC Imaging Control ActiveX</title>
			<link>http://www.theimagingsourceforums.com/</link>
		</image>
		<item>
			<title>Error : Buffer not initialized when changing video format</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323534&amp;goto=newpost</link>
			<pubDate>Sat, 28 Aug 2010 08:11:08 GMT</pubDate>
			<description><![CDATA[Dear Stefan, 
 
Here I am again with another little question. 
With a DBK camera, when changing the videoformat from any video format to another video format (i.e. for example when switching from Y800 to BY8, or YGB0 to Y800 or BY8 to UYVY), I often get (but not always) the following error : 
<<...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Dear Stefan,<br />
<br />
Here I am again with another little question.<br />
With a DBK camera, when changing the videoformat from any video format to another video format (i.e. for example when switching from Y800 to BY8, or YGB0 to Y800 or BY8 to UYVY), I often get (but not always) the following error :<br />
&lt;&lt;<br />
The Membuffer is not valid (maybe it is uninitialized or the format of the given MemBuffer does not fit to the current colorformat/videoformat).<br />
&gt;&gt;<br />
<br />
<a href="http://www.astrosnap.com/divers/photos/ERR_TIS_Buffer_not_initialized.jpg" target="_blank">http://www.astrosnap.com/divers/phot...nitialized.jpg</a><br />
<br />
In my code, whenever I change the videoformat property, I always change the MemoryCurrentGrabberColorFormat property to the corresponding value, in order to always match the new videoformat :<br />
<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">procedure TFRM_CamPropertyDlg.CBX_VideoFormatsChange(Sender: TObject);<br />
begin<br />
If ICImagingControl.DeviceValid then<br />
&nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; If ICImagingControl.LiveVideoRunning then<br />
&nbsp; &nbsp; &nbsp; &nbsp;  begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.LiveStop;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.OverlayBitmapPosition := PATHPOSITION_NONE;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.VideoFormat := ICImagingControl.VideoFormats[CBX_VideoFormats.ItemIndex+1].Name;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.SinkCompatibilityMode := True;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.MemoryCurrentGrabberColorFormat := GetGrabberColorFormat(ICImagingControl.VideoFormat);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.SinkCompatibilityMode := False;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.DeviceFrameRate := ICImagingControl.DeviceFramerates[CBX_Framerates.ItemIndex+1];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If @VideoFormatChangeCB &lt;&gt; Nil then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VideoFormatChangeCB(Self.Camera,CBX_VideoFormats.Text);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  End;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Sleep(500);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.LiveStart;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End<br />
&nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.OverlayBitmapPosition := PATHPOSITION_NONE;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.VideoFormat := ICImagingControl.VideoFormats[CBX_VideoFormats.ItemIndex+1].Name;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.SinkCompatibilityMode := True;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.MemoryCurrentGrabberColorFormat := GetGrabberColorFormat(ICImagingControl.VideoFormat);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ICImagingControl.SinkCompatibilityMode := False;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If @VideoFormatChangeCB &lt;&gt; Nil then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VideoFormatChangeCB(Self.Camera,CBX_VideoFormats.Text);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  End;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End;<br />
&nbsp;  End;<br />
<br />
end;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Function GetGrabberColorFormat(VideoFormat : String) : ICImagingControlColorformats;<br />
&nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; If Pos('BY8',VideoFormat) &gt; 0 then<br />
&nbsp; &nbsp; &nbsp; &nbsp; Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Result := ICBY8;<br />
&nbsp; &nbsp; &nbsp; &nbsp; End<br />
&nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp;  If Pos('UYVY',VideoFormat) &gt; 0 then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Result := ICUYVY;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  End<br />
&nbsp; &nbsp; &nbsp; &nbsp;  else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If Pos('Y800',VideoFormat) &gt; 0 then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Result := ICY800;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  If Pos('YGB0',VideoFormat) &gt; 0 then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Result := ICYGB0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  End<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If Pos('YGB1',VideoFormat) &gt; 0 then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Result := ICYGB1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End;<br />
<br />
&nbsp;  End;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->The error does NOT appear all the time. It does happen once every 7 or 8 changes, and it appears when in the &quot;imageavailable&quot; event is triggered and I do the following :<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; Var CurrentBuffer : ImageBuffer;<br />
&nbsp;  Begin<br />
&nbsp; &nbsp; //SNIP//<br />
&nbsp; &nbsp;  CurrentBuffer:= Control.ImageBuffers.Item[BufferIndex];<br />
&nbsp; &nbsp; //SNIP//<br />
&nbsp;  End;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><br />
Is there something that I forget to do ? Or is there some lag time that I must respect in order to wait for the changes to the video format to be completely applied ?<br />
<br />
Thank you again for your help :-)<br />
Best regards<br />
Axel</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>acanicio</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323534</guid>
		</item>
		<item>
			<title>4 cams at once</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323506&amp;goto=newpost</link>
			<pubDate>Tue, 27 Jul 2010 12:53:34 GMT</pubDate>
			<description>Hello, 
 
i have a new problem...I work in a LV 8.5 and  i have four cameras that i would like to see in front panel... everything works ok if there are 3 or less, but when i add the 4th camera it crushes... 
 
Is there maybe a limitation on how many cams can you run at the same time?  
Does...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello,<br />
<br />
i have a new problem...I work in a LV 8.5 and  i have four cameras that i would like to see in front panel... everything works ok if there are 3 or less, but when i add the 4th camera it crushes...<br />
<br />
Is there maybe a limitation on how many cams can you run at the same time? <br />
Does anybody have a solution to this problem :)<br />
<br />
With best regards<br />
<br />
TM</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>TMs</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323506</guid>
		</item>
		<item>
			<title>grabing image and displaying it live</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323502&amp;goto=newpost</link>
			<pubDate>Fri, 23 Jul 2010 08:55:57 GMT</pubDate>
			<description><![CDATA[Hey guys, 
 
well i have a problem and hope that you can help me out. I am working in LabView 8.5 and what i want to do is get image from usbcam DFK 51AUC03, and display it front panel with a crosshair on. I also want to open external window with a click on a display that's on front panel, which...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hey guys,<br />
<br />
well i have a problem and hope that you can help me out. I am working in LabView 8.5 and what i want to do is get image from usbcam DFK 51AUC03, and display it front panel with a crosshair on. I also want to open external window with a click on a display that's on front panel, which will display original size picture in live mode. <br />
<br />
The first problem i am facing is that IC_grab_image doesn't delete the image and i run out of memory so i have to reset it every 50 frames so the buffer doesn't get to full. This works quite fine but i don't like the blinking every time it resets. . Is there any possibilty to make crosshair already on ICImagingControl window on front panel so i don't need to use the IC_grab_image?<br />
<br />
Second problem is with my external window - i can open it and display image live, but with my VI solution i can close it only if i press the same button for the external window again. Does anybody knows how to display a live video in new window, that can be closed by pressing the red cross close icon on new window?<br />
<br />
I am attaching you my VI and hopefully somebody will know how to solve my problem...</div>


	<br />
	<div style="padding:6px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
	<td><img class="inlineimg" src="http://www.theimagingsourceforums.com/images/attach/rar.gif" alt="File Type: rar" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.theimagingsourceforums.com/attachment.php?attachmentid=1298&amp;d=1279875339">cam1.rar</a> (48.1 KB)</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
			</table>
		</fieldset>
	

	</div>

<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>TMs</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323502</guid>
		</item>
		<item>
			<title>UYVY format in the image buffer ?</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323434&amp;goto=newpost</link>
			<pubDate>Sun, 27 Jun 2010 17:23:57 GMT</pubDate>
			<description><![CDATA[Dear Stefan, 
 
With the DBK41AG02.AS camera, when asking the ICImagingControl component to issue images using UYVY format, what is the format really used in the imagebuffer ?? 
 
Is it really UYVY ? or is it something else ? 
 
I'm trying to decode the contents of the imagebuffer using an...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Dear Stefan,<br />
<br />
With the DBK41AG02.AS camera, when asking the ICImagingControl component to issue images using UYVY format, what is the format really used in the imagebuffer ??<br />
<br />
Is it really UYVY ? or is it something else ?<br />
<br />
I'm trying to decode the contents of the imagebuffer using an algorithm (UYVYtoRGB) that I have already used in the past, and the image is all scrambled.<br />
When I don't decode the image, I just get a proper greyscale image.<br />
<br />
Am I missing something ?<br />
<br />
Thank you.<br />
Best regards<br />
Axel</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>acanicio</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323434</guid>
		</item>
		<item>
			<title>Labview 2009 crashes when IC.ImagingControl3 Class is inserted</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323426&amp;goto=newpost</link>
			<pubDate>Thu, 24 Jun 2010 12:05:48 GMT</pubDate>
			<description><![CDATA[We are using several computers with labview 2009 in our labs. Most of them are working fine with the IC-Labview extensions, but on two of them (identical new DELL's) Labview 2009 crashes when the IC.ImagingControl3 Class is loaded. 
The problem does not appear when labview 8.2 is used (but we do...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>We are using several computers with labview 2009 in our labs. Most of them are working fine with the IC-Labview extensions, but on two of them (identical new DELL's) Labview 2009 crashes when the IC.ImagingControl3 Class is loaded.<br />
The problem does not appear when labview 8.2 is used (but we do not have a license). There are no error messages or log files. We reinstalled Windows 7 on one of the DELL's but labview keeps crashing.<br />
Because we are not facing such problems on any other workstation, i think its some kind of a hardware incompatibility. Is there a known bug? Has anybody an idea?<br />
<br />
Here is the hardware setup of our DELL Vostro 220:<br />
<a href="http://support.dell.com/support/edocs/systems/vos220/en/sqrg/sqrg_en.pdf" target="_blank">http://support.dell.com/support/edoc...rg/sqrg_en.pdf</a><br />
We have the E5300 2.6GHz processor</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>ttp14</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323426</guid>
		</item>
		<item>
			<title>Windowless ActiveX</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323418&amp;goto=newpost</link>
			<pubDate>Wed, 23 Jun 2010 10:12:18 GMT</pubDate>
			<description><![CDATA[Hi, 
 
i'm programming in Visual Studio 2005 C# .NET. 
Using IC 3.0.6. 
 
Everything is fine as long as i run the programm from the Visual Studio. 
 
But if i want to start the .exe file i'm running into the following error: 
"System.Reflection.TargetInvocationException" ind...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi,<br />
<br />
i'm programming in Visual Studio 2005 C# .NET.<br />
Using IC 3.0.6.<br />
<br />
Everything is fine as long as i run the programm from the Visual Studio.<br />
<br />
But if i want to start the .exe file i'm running into the following error:<br />
&quot;System.Reflection.TargetInvocationException&quot; ind System.Windows.Forms.dll.<br />
<br />
&quot;Windowless ActiveX Usercontrols are not allowed&quot;<br />
(translated from german).I want to start the programm on a Vista-PC.<br />
<br />
Thanks for your help.<br />
<br />
Marc</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>m.hanussek</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323418</guid>
		</item>
		<item>
			<title>VCDID_WhiteBalance : rangeproperty not found...</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323399&amp;goto=newpost</link>
			<pubDate>Wed, 16 Jun 2010 21:15:30 GMT</pubDate>
			<description><![CDATA[Dear support forum, 
 
After 6 months without touching a single line of code, I'm back trying to get everything working with ICImagingcontrol and Delphi. 
I've stopped using the ActiveX properties and started using the VCDSimpleproperties instead. 
 
I'm trying to read the properties of a TIS...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Dear support forum,<br />
<br />
After 6 months without touching a single line of code, I'm back trying to get everything working with ICImagingcontrol and Delphi.<br />
I've stopped using the ActiveX properties and started using the VCDSimpleproperties instead.<br />
<br />
I'm trying to read the properties of a TIS 41AG02.AS camera (color) and have an issue with the VCDID_WhiteBalance property<br />
Even though the VCDProp.Available method says that the property is available, when I try to read it (for example, trying to get the min range value) I get the following error message.<br />
This happens when stepping into the GetVCDPropertyRange procedure, GetRangeMin method and finally fetchCheckedRangeItf function.<br />
<br />
<!-- BEGIN TEMPLATE: bbcode_quote_printable -->
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Rangeproperty<br />
{284C0E0D-010B-45BF-8291-09D90A459B28]:{B57D3000-0AC6-4819-A609-272A33140ACA}:{99B44940-BFE1-4083-ADA1-BE703F4B8E03} not found
			
			<hr />
		</td>
	</tr>
	</table>
</div>
<!-- END TEMPLATE: bbcode_quote_printable -->Of course, it is a custom message, but I don't understand why the available method returns &quot;true&quot; and then the range property is not found...<br />
Does the VCDID_WhiteBalance property have to be used/read in a particular way ?<br />
<br />
Here are the bits of code used.<br />
(TRB_WhiteBalance is a TTrackbar component)<br />
(Enabled is a boolean property of TRB_Whitebalance)<br />
<br />
declarations :<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp;  TmpVCDProp&nbsp; : TVCDSimpleProperty;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Main part<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp; With Form.TRB_Whitebalance do<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Enabled&nbsp; := TmpVCDProp.Available(VCDID_WhiteBalance);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If Enabled then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  GetVCDPropertyRange(Form.ICImagingControl,TmpVCDProp,VCDID_WhiteBalance,MinValue,MaxValue,Value,Auto);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Form.LBL_WhiteBalance.Enabled := Enabled;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Form.EDT_WhiteBalance.Enabled := Enabled;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Form.UPD_WhiteBalance.Enabled := Enabled;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Min&nbsp; &nbsp; &nbsp; := Round(MinValue);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ASCamera.CameraProperty[ASVideoProcamp_Whitebalance].MinValue := Min;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Position := Min;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max&nbsp; &nbsp; &nbsp; := Round(MaxValue);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ASCamera.CameraProperty[ASVideoProcamp_Whitebalance].MaxValue := Max;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Position := Round(Value);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ASCamera.CameraProperty[ASVideoProcamp_Whitebalance].Value := Position;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  End;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->GetVCDPropertyRange procedure<br />
<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Procedure GetVCDPropertyRange(Control : TICImagingControl;VCDProp : TVCDSimpleProperty;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  const ItemID : WideString;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Var Min,Max,Value : Double;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Var Auto : Boolean);<br />
Begin<br />
&nbsp;  if Control.DeviceValid = True then<br />
&nbsp; &nbsp; &nbsp; begin<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Min := VCDProp.GetRangeMin(ItemID);<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Max := VCDProp.GetRangeMax(ItemID);<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Value := VCDProp.GetRangeValue(ItemID);<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Auto := VCDProp.AutoAvailable(ItemID);<br />
&nbsp; &nbsp; &nbsp; end;<br />
End;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->GetrangeMin description<br />
<br />
<!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Function TVCDSimpleProperty.GetRangeMin(id : WideString) : Longint;<br />
&nbsp;  Var RangeProp : VCDRangeProperty;<br />
&nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; RangeProp := fetchCheckedRangeItf(id, internalTree);<br />
&nbsp; &nbsp; &nbsp; RangeMin := RangeProp.RangeMin Div RangeProp.Delta;<br />
&nbsp; &nbsp; &nbsp; Result := RangeMin;<br />
&nbsp;  End;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Function fetchCheckedRangeItf(itemId : WideString; props : VCDPropertyItems) : VCDRangeProperty;<br />
&nbsp;  Var<br />
&nbsp; &nbsp; &nbsp;  irange : VCDRangeProperty;<br />
&nbsp; &nbsp; &nbsp;  itf : VCDPropertyInterface;<br />
&nbsp; &nbsp; &nbsp;  id : WideString;<br />
&nbsp;  Begin<br />
&nbsp; &nbsp; &nbsp; If itemId = VCDElement_WhiteBalanceBlue Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; id := VCDID_WhiteBalance + ':' + VCDElement_WhiteBalanceBlue<br />
&nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; If itemId = VCDElement_WhiteBalanceRed Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; id := VCDID_WhiteBalance + ':' + VCDElement_WhiteBalanceRed<br />
&nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; If itemId = VCDElement_GPIOIn Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; id := VCDID_GPIO + ':' + VCDElement_GPIOIn<br />
&nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; If itemId = VCDElement_GPIOOut Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; id := VCDID_GPIO + ':' + VCDElement_GPIOOut<br />
&nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; If itemId = VCDElement_StrobeDelay Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; id := VCDID_Strobe + ':' + VCDElement_StrobeDelay<br />
&nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; If itemId = VCDElement_StrobeDuration Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; id := VCDID_Strobe + ':' + VCDElement_StrobeDuration<br />
&nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; id := itemId + ':' + VCDElement_Value;<br />
&nbsp; &nbsp; &nbsp; id := id + ':' + VCDInterface_Range;<br />
&nbsp; &nbsp; &nbsp; Try<br />
&nbsp; &nbsp; &nbsp; &nbsp;  irange := VCDRangeProperty(props.FindInterface(id));<br />
&nbsp; &nbsp; &nbsp; &nbsp;  If irange &lt;&gt; nil Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; result := irange<br />
&nbsp; &nbsp; &nbsp; &nbsp;  Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('RangeProperty '+ id + ' not found');<br />
&nbsp; &nbsp; &nbsp; Except<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('RangeProperty '+ id + ' not found');<br />
&nbsp; &nbsp; &nbsp; End;<br />
&nbsp;  End;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->The other VCDID_xxxxxx properties work perfectly, I have the issue only with this VCDID_WhiteBalance property.<br />
<br />
Thank you for any idea.<br />
<br />
Best regards<br />
Axel Canicio</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>acanicio</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323399</guid>
		</item>
		<item>
			<title>Win32 API Application</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323295&amp;goto=newpost</link>
			<pubDate>Thu, 13 May 2010 09:23:13 GMT</pubDate>
			<description>I need simple application  written by API (C\C++ laguage) 
where i can get live image. 
 
I have Video Capture Device DMx 41AUC02(usb camera) 
thank you very much!</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I need simple application  written by API (C\C++ laguage)<br />
where i can get live image.<br />
<br />
I have Video Capture Device DMx 41AUC02(usb camera)<br />
thank you very much!</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>vzv55</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323295</guid>
		</item>
		<item>
			<title>Overlay problem</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323231&amp;goto=newpost</link>
			<pubDate>Wed, 28 Apr 2010 17:10:01 GMT</pubDate>
			<description>I need to do a simple video application (with your PCI frame grabber) in order to : 
- viewing the live video 
- grabbing bmp picture 
- overlay lines on the live video 
 
I tried to do many actions : 
- I used your ActiveX component with Windev 15. I made a software that realises all theses...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I need to do a simple video application (with your PCI frame grabber) in order to :<br />
- viewing the live video<br />
- grabbing bmp picture<br />
- overlay lines on the live video<br />
<br />
I tried to do many actions :<br />
- I used your ActiveX component with Windev 15. I made a software that realises all theses actions, and it runs very well on my computer. But when I want to use it on an other computer, I've got an error with the StartLive function (DShowLibException in file GrabberPImpl.cpp line 580). Do you know what is the source of the problem ?<br />
- If I use ActiveX component with MV C++ 6.0, I don't find how to use the overlay functions. Do you have samples for me ?<br />
- Other issue for me : Do not use the ActiveX component. But do you have sample code of your &quot;Overlay Sample&quot; software for Visual C++ 6.0 ?<br />
Thank you for your help<br />
Regards<br />
Cédric PEREZ</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>exavision</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323231</guid>
		</item>
		<item>
			<title>LabVIEW, global variable</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323227&amp;goto=newpost</link>
			<pubDate>Mon, 26 Apr 2010 19:42:01 GMT</pubDate>
			<description>Hi!  
 
I am using LabVIEW 8.2 with IC Image Control 3.0.  
 
Currently I am facing the following problem: 
I  have one central vi for configurations of the video stream of a USB camera.  
So the imagecontrol and its configuration are in there, as well as a display ( from imagecontrol) of the...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hi! <br />
<br />
I am using LabVIEW 8.2 with IC Image Control 3.0. <br />
<br />
Currently I am facing the following problem:<br />
I  have one central vi for configurations of the video stream of a USB camera. <br />
So the imagecontrol and its configuration are in there, as well as a display ( from imagecontrol) of the current camera output on the front panel. <br />
<br />
I would like to have the the display on the front panel of another vi though, because I want to view the live camera-output on another screen (which is still connected to the same PC). <br />
<br />
I tried to define a global variable containing an imagingcontrol.ctl but the global variable could not receive the camera output, so the displaying vi could neither...<br />
<br />
Is there a possibility to transfer the camera data to another vi? <br />
Could I use pointers? If yes, how would I do that in labview?<br />
<br />
I would be glad about any hints or help ;)<br />
<br />
Jan</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>TU-Jan</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323227</guid>
		</item>
		<item>
			<title>Question about Mem-Leaks</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323198&amp;goto=newpost</link>
			<pubDate>Tue, 13 Apr 2010 08:07:07 GMT</pubDate>
			<description>Hello, 
I´m using IC-Control ocx V3.0 in a VC++6.0 App. 
Are there any known Memory-Leaks in this OCX or the Wrapper classes? 
 
Ronnie</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello,<br />
I´m using IC-Control ocx V3.0 in a VC++6.0 App.<br />
Are there any known Memory-Leaks in this OCX or the Wrapper classes?<br />
<br />
Ronnie</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>ronnie.b</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323198</guid>
		</item>
		<item>
			<title>Trouble capturing images using multiple while loops</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323101&amp;goto=newpost</link>
			<pubDate>Tue, 09 Mar 2010 19:16:13 GMT</pubDate>
			<description>I am working on a VI to control a firewire camera. I am currently using a while loop with an event structure inside to control the cameras functions. I also want the camera to be able to start recording images to a folder when a button is pressed and stopped when a stop button is pressed. I wasnt...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I am working on a VI to control a firewire camera. I am currently using a while loop with an event structure inside to control the cameras functions. I also want the camera to be able to start recording images to a folder when a button is pressed and stopped when a stop button is pressed. I wasnt able to get this function into the original while loop but I added another while loop however it doesnt work. I attached an example where the first while loop is simplified (it only contains a displayvideoproperties node) In my actual VI the first while loop has about 10-15 different cases for various functions such as digital subtraction, triggering, etc.. How would I get these parallel while loops to work together or how would I get the second while loop into the first?</div>


	<br />
	<div style="padding:6px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
	<td><img class="inlineimg" src="http://www.theimagingsourceforums.com/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.theimagingsourceforums.com/attachment.php?attachmentid=1186&amp;d=1268161833">example.vi.zip</a> (16.4 KB)</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
			</table>
		</fieldset>
	

	</div>

<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>futuramaar</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323101</guid>
		</item>
		<item>
			<title>Trouble with gain property</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323037&amp;goto=newpost</link>
			<pubDate>Thu, 18 Feb 2010 07:43:57 GMT</pubDate>
			<description><![CDATA[I am using a property node to set gain with an integer numeric control. I have an event structure, and one event is a value change in the numeric control. It is set up in the event structure so that live stop is invoked then the gain is set then a live start is invoked. This however doesn't work...]]></description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I am using a property node to set gain with an integer numeric control. I have an event structure, and one event is a value change in the numeric control. It is set up in the event structure so that live stop is invoked then the gain is set then a live start is invoked. This however doesn't work and always produces an error. I dont know what to do. I want there to be a button that sets the gain for the camera on the front panel. I dont want the user to have to open the video properties box and change the gain through there.</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>futuramaar</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323037</guid>
		</item>
		<item>
			<title>Problem with saving to multiple paths</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=323036&amp;goto=newpost</link>
			<pubDate>Thu, 18 Feb 2010 07:39:39 GMT</pubDate>
			<description>I am using the invoke node for imagining control with labview to invoke snap sequence. Everything works fine as I have it with the filename string attached to a convert path to string and that is attached to a path constant. However I want to use the file dialog function under file I/O on the...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>I am using the invoke node for imagining control with labview to invoke snap sequence. Everything works fine as I have it with the filename string attached to a convert path to string and that is attached to a path constant. However I want to use the file dialog function under file I/O on the functions palette then under advanced file functions. attaching a path to this allows a dialog box to appear prompting the user where to save the image. This however doesnt work when the sequence being saved has more than one image. How do I get it to work with the file dialog function so that it will prompt the user where to save the images.</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>futuramaar</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=323036</guid>
		</item>
		<item>
			<title>Running more than 1 Application</title>
			<link>http://www.theimagingsourceforums.com/showthread.php?t=322985&amp;goto=newpost</link>
			<pubDate>Thu, 04 Feb 2010 15:05:58 GMT</pubDate>
			<description>Hello, 
I tried to Use 2 Applications with 2 different Cams on 1 PC. 
The Application i started first works great but if I try to view Live-Picture of the 2nd Application I get an Error: 
An unexpected DShowLibException occured: Error=startLive failed. 
VideoCaptureDevice = DMx 41AF02 1...</description>
			<content:encoded><![CDATA[<!-- BEGIN TEMPLATE: postbit_external -->
<div>Hello,<br />
I tried to Use 2 Applications with 2 different Cams on 1 PC.<br />
The Application i started first works great but if I try to view Live-Picture of the 2nd Application I get an Error:<br />
An unexpected DShowLibException occured: Error=startLive failed.<br />
VideoCaptureDevice = DMx 41AF02 1<br />
VideoFormat = Y800 (1280x960)<br />
In File : &quot;.\GrabberPImpl.cpp&quot; at line: 580<br />
<br />
First I thought the problem is my App but I have the same problem with an sample-app from TIS.<br />
In Summary I need to Run 3 Cams(3 Apps) on one PC.</div>


<!-- END TEMPLATE: postbit_external -->]]></content:encoded>
			<category domain="http://www.theimagingsourceforums.com/forumdisplay.php?f=7">IC Imaging Control ActiveX</category>
			<dc:creator>ronnie.b</dc:creator>
			<guid isPermaLink="true">http://www.theimagingsourceforums.com/showthread.php?t=322985</guid>
		</item>
	</channel>
</rss>
