Beispiel #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);
 }
 /// <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();
 }
 internal static int TriggerDelay(TriggerModes mode, uint triggerWidth, int inputDecimation)
 {
     if(mode == TriggerModes.Digital)
         return (((int)triggerWidth) >> inputDecimation) + 1;
     return (((int)triggerWidth) >> inputDecimation) + 4;
 }