Ejemplo n.º 1
0
 internal static int TriggerDelay(TriggerModes mode, uint triggerWidth, int inputDecimation)
 {
     if (mode == TriggerModes.Digital)
     {
         return((((int)triggerWidth) >> inputDecimation) + 1);
     }
     return((((int)triggerWidth) >> inputDecimation) + 4);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a new point grey gazelle camera link object
 /// </summary>
 /// <param name="interfaceId">The interface name. Optionally followed by ::# identifying the port - 0 based</param>
 public PGGazelleCamera(string interfaceId) : base(interfaceId)
 {
     _triggerActivation = TriggerActivations.risingEdge;
     SetTriggerActivation();
     _triggerSource = TriggerSources.SOFT;
     SetTriggerSource();
     _triggerMode = TriggerModes.none;
     SetTriggerMode();
 }
Ejemplo n.º 3
0
 internal static int TriggerDelay(TriggerModes mode, uint triggerWidth, int inputDecimation)
 {
     if(mode == TriggerModes.Digital)
         return (((int)triggerWidth) >> inputDecimation) + 1;
     return (((int)triggerWidth) >> inputDecimation) + 4;
 }