ImagePro>Cool Snap driver not changing its settings


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImagePro>Cool Snap driver not changing its settings



Dear Group
 
Can anyone explain why this VB code doesn't work as it should.
 
        sFileIn.IniSerialiseDouble "GainR" + CStr(iType), 1, fRGain
        sFileIn.IniSerialiseDouble "GainG" + CStr(iType), 1, fGGain
        sFileIn.IniSerialiseDouble "GainB" + CStr(iType), 1, fBGain
       
        IpAcqControl 5208, 0, CSng(fRGain)
        IpAcqControl 5208, 1, CSng(fGGain)
        IpAcqControl 5208, 2, CSng(fBGain)
                        
        If IpAcqSnap(ACQ_NEW) < 0 Then
            LogAppend "Error 3 grabbing image"
            Exit Function
        End If
 
It takes 4 image grabs altering the white balance for each grab, if a breakpoint is inserted before the IpAcqSnap command you can check IPP and it the figures are changing but this has no effect on the image taken. Do you need a further command to set the levels?
 
Regards,
Russell Grigg

Process Engineering
Sony Manufacturing Co UK
Tel:    01656 761671
Fax:    01656 761423

 



Search this Archive