TVideoGrabber.SetFWCam1394

Prev

Next

TVideoGrabber

Methods

 




































































































Sets a custom setting of Firewire/GIE camera


Declaration
function SetFWCam1394 (FWCam1394ID: string; Value: LongInt): Boolean;


bool __fastcall SetFWCam1394(System::wchar_t *FWCam1394ID, int Value);

Description

Example in Delphi:

procedure TfrmMainForm.Button14Click(Sender: TObject);
var
Value: LongInt;
Flags: LongInt;
Capabilities: DWORD;
MinValue: LongInt;
MaxValue: LongInt;
Default: LongInt;
begin
if VideoGrabber.GetFWCam1394 ('AUTO_EXPOSURE_REFERENCE', Value, Flags, Capabilities, MinValue, MaxValue, Default) then begin
mmoLog.lines.add(inttostr (Value));
mmoLog.lines.add(inttostr (Flags));
mmoLog.lines.add(inttostr (Capabilities));
mmoLog.lines.add(inttostr (MinValue));
mmoLog.lines.add(inttostr (MaxValue));
mmoLog.lines.add(inttostr (Default));
if VideoGrabber.SetFWCam1394 ('AUTO_EXPOSURE_REFERENCE', 2) then begin
showmessage('new value applied');
end;
if VideoGrabber.SetFWCam1394 ('AUTO_EXPOSURE_REFERENCE', 128) then begin
showmessage('new value applied');
end;
end;
end;