Esempio n. 1
0
        private void resetDrivenModeFeatures()
        {
            Hanbo.Log.LogManager.Debug("Pylon DriveMode: " + _drivenMode);
            switch (_drivenMode)
            {
            case PylonDrivenMode.Chunk:
                initChunkMode();
                break;

            case PylonDrivenMode.SingleFrame:
                initSingleFrameMode();
                break;

            case PylonDrivenMode.Stream:
                initStreamMode();
                grabImage   = new PylonGrabImageStartHandler(streamModeStartMethod);
                clearMethod = new PylonGrabImageCleanHandler(streamModeClearMethod);
                stopMethod  = new PylonGrabImageStopHandler(streamModeStopMethod);
                break;
            }
        }
 private void resetDrivenModeFeatures()
 {
     Hanbo.Log.LogManager.Debug("Pylon DriveMode: " + _drivenMode);
     switch (_drivenMode)
     {
         case PylonDrivenMode.Chunk:
             initChunkMode();
             break;
         case PylonDrivenMode.SingleFrame:
             initSingleFrameMode();
             break;
         case PylonDrivenMode.Stream:
             initStreamMode();
             grabImage = new PylonGrabImageStartHandler(streamModeStartMethod);
             clearMethod = new PylonGrabImageCleanHandler(streamModeClearMethod);
             stopMethod = new PylonGrabImageStopHandler(streamModeStopMethod);
             break;
     }
 }