PDA

View Full Version : Error setting .hue to negative value



Unregistered
February 4, 2002, 15:16:24
I get the following error when I use a slider control to set ICImagingControl1.Hue to a negative value:

An unexpected DShowLib Exception occured:
CVideoProcAmpPropertyItem::setManual(long) : failed
COM Error Message: The request could not be performed because of and I/O Device Error

In file:
D:\Daten\Prog\DShowLib\VideoProcAmpPropertyItem:CD D at

The code that I am using follows (Slider1, slider2, etc. are slider controls on the form containing IDImagingControl1. The sliders controling the other four properties work fine.):

Private Sub Form_Load()
Dim Range As Variant

With ICImagingControl1
Range = .BrightnessRange
Slider1.Min = Range(0)
Slider1.Max = Range(1)
Slider1.Value = .Brightness
Range = .HueRange
Slider2.Min = Range(0)
Slider2.Max = Range(1)
Slider2.Value = .Hue
Range = .ContrastRange
Slider3.Min = Range(0)
Slider3.Max = Range(1)
Slider3.Value = .Contrast
Range = .SaturationRange
Slider4.Min = Range(0)
Slider4.Max = Range(1)
Slider4.Value = .Saturation

End With
End Sub

Private Sub Slider1_Change()
ICImagingControl1.Brightness = Slider1.Value
End Sub
Private Sub Slider2_Change()
ICImagingControl1.Hue = Slider2.Value
End Sub
Private Sub Slider3_Change()
ICImagingControl1.Contrast = Slider3.Value
End Sub
Private Sub Slider4_Change()
ICImagingControl1.Saturation = Slider4.Value
End Sub


This message was originally posted by Keith Willson in the old IC Imaging Control Support Forum.

Unregistered
February 4, 2002, 18:40:37
Hello,
I need to know a little bit more about your configuration.
- Which device are you using (the version of the driver would be intersting too)?

- Which version of IC Imaging Control are you using ?

Best regards
Johannes
IC Support


This message was originally posted by IC Support in the old IC Imaging Control Support Forum.

Unregistered
February 4, 2002, 19:11:36
Device: Imaging Source's Video-to-Firewire Converter

Driver: Not sure; I just bought the converter a week or two ago, and am using whatever the default driver is from the disk that came with it. The only non-Microsoft driver listed in the Device Manager window is tisvideo.sys version 4.0.0.6 from The Imaging Source.

Version: I downloaded and installed version 1.1 (the demo version) last week.

System: Windows 2000, VB6


This message was originally posted by Keith Willson in the old IC Imaging Control Support Forum.

Unregistered
February 4, 2002, 19:18:29
ok. you have an old driver. The current version of the driver should show up as "Video to 1394, WDM Video Capture" in the device manager.

Best regards
Johannes
IC Support


This message was originally posted by IC Support in the old IC Imaging Control Support Forum.

Unregistered
February 4, 2002, 20:12:53
Thanks for the help.

Where would I go to get a new version of the driver?


This message was originally posted by Keith Willson in the old IC Imaging Control Support Forum.

Unregistered
February 5, 2002, 19:29:03
I will send it to you via email.

Best regards
Johannes
IC Support


This message was originally posted by IC Support in the old IC Imaging Control Support Forum.