Unibrain API-810 User Manual Page 31

  • Download
  • Add to my manuals
  • Print
  • Page
    / 95
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 30
31
Visual Basic syntax
Dim On As Boolean
On = Trigger.Enabled 'get
Trigger. Enabled = True 'set
C# syntax
bool On;
On = Trigger.Enabled; //get
Trigger.Enabled = true; //set
Polarity property
Prototype
public bool Polarity
Comments
This property reads/sets the Trigger_Polarity field of the camera trigger control register (bit 7). In order
to access this property, the property HasPolarity of the FireiTrigger object must be true, otherwise
an exception will be thrown.
Visual Basic syntax
Dim Polarity As Boolean
Polarity = Trigger.Polarity 'get
Trigger.Polarity = True 'set
C# syntax
bool Polarity;
On = Trigger. Polarity; //get
Trigger. Polarity = true; //set
Source property
Prototype
FireiTriggerSource Source
Comments
This property reads/sets the Trigger_Source field of the camera trigger control register (bits 8 to 10). In
order to set this property, a call to method IsSourceSupported of the FireiTrigger object should first
be performed, to check if the value being set is supported in this camera.
FireiTriggerSource is an enumerated value, with possible values being None, Source_0,
Source_1, Source_2, Source_3 and Source_SW.
Visual Basic syntax
Dim TriggerSource As FireiTriggerSource
TriggerSource = Trigger.Source 'get
Trigger.Source = FireiTriggerSource.Source_0 'set
C# syntax
FireiTriggerSource Source = Trigger.Source; //get
Trigger.Source = FireiTriggerSource.Source_0; //set
Page view 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 94 95

Comments to this Manuals

No comments