SetFWCam1394
method
function SetFWCam1394 (FWCam1394ID: string; Value: LongInt): Boolean;
bool __fastcall SetFWCam1394(System::UnicodeString FWCam1394ID, System::LongInt Value);
public bool SetFWCam1394(string FWCam1394ID, int Value);
Public Function SetFWCam1394(FWCam1394ID As String, Value As Integer) As Boolean
BOOL SetFWCam1394 (wchar_t *FWCam1394ID, int Value);
Sets a custom setting of Firewire/GIE camera.
Example in Delphi:
procedure TfrmMainForm.Button14Click(Sender: TObject); var Value: LongInt; Flags: LongInt; Capabilities: DWORD; MinValue: LongInt; MaxValue: LongInt; Default: LongInt; beginif VideoGrabber.GetFWCam1394 ('AUTO_EXPOSURE_REFERENCE', Value, Flags, Capabilities, MinValue, MaxValue, Default) thenbegin 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) thenbegin showmessage('new value applied'); end; if VideoGrabber.SetFWCam1394 ('AUTO_EXPOSURE_REFERENCE', 128) thenbegin showmessage('new value applied'); end; end; end;