Unibrain API-810 User Manual Page 30

  • Download
  • Add to my manuals
  • Print
  • Page
    / 97
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 29
30
FireiXTrigger
The FireiXTrigger object encapsulates all the Trigger functionality that the camera may support. An
instance cannot be constructed directly; it is rather accessed through the Trigger property of the camera.
Please note that the following properties have no additional functionality hidden inside them, besides what
the camera itself supports. In essence, the entire FireiXTrigger object could have been two simple
FireiXRegister objects (one for inquiry, one for control); it exits merely as a helping hand, in effect
“naming” the bits and fields of the two registers as they map to the Trigger inquiry and control registers of
the camera.
In order to call any of the following properties and methods, the IsSupported property must be True,
otherwise each call will produce an error. Additionally, in order to read the value of any of the following
properties, the CanRead property must also be True.
AbsControl property
Prototype
Boolean AbsControl
Comments
This property reads/sets the Abs_Control field of the camera trigger control register (bit 1). In order to
access this property, the property HasAbsolute of the FireiXTrigger object must be True, otherwise an
error will occur.
Visual Basic 6.0 syntax
Dim Abs As Boolean
Abs = Trigger.AbsControl 'get
Trigger.AbsControl = True 'set
C++ syntax
VARIANT_BOOL bAbs;
HRESULT hr = pITrigger->get_AbsControl(&Abs); //get
hr = pITrigger ->put_AbsControl(bAbs); //set
Enabled property
Prototype
Boolean Enabled
Comments
This property reads/sets the ON_OFF field of the camera trigger control register (bit 6). In order to access
this property, the property HasOnOff of the FireiXTrigger object must be True, otherwise an error will
occur.
Visual Basic 6.0 syntax
Dim On As Boolean
On = Trigger.Enabled 'get
Trigger. Enabled = True 'set
Page view 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 96 97

Comments to this Manuals

No comments