SetFWCam1394
Delphi
function SetFWCam1394 (FWCam1394ID: string; Value: LongInt): Boolean;
C++Builder
bool __fastcall SetFWCam1394(System::UnicodeString FWCam1394ID, System::LongInt Value);
C#
public bool SetFWCam1394(string FWCam1394ID, int Value);
VB.NET
Public Function SetFWCam1394(FWCam1394ID As String, Value As Integer) As Boolean
C++/Qt
BOOL SetFWCam1394 (wchar_t *FWCam1394ID, int Value);
Sets a custom setting of a Firewire/GIE camera.
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;