Esempio n. 1
0
 // Close video source
 public void CloseAnalyserSource()
 {
     try
     {
         if (vsAnalyserSource != null)
         {
             vsAnalyserSource = null;
         }
     }
     catch (Exception err)
     {
         logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);;
     }
 }
Esempio n. 2
0
        // -----------------------------------------------------------------------------------------------------------------------
        // Create vsAnalyzer source
        // -----------------------------------------------------------------------------------------------------------------------
        public bool CreateAnalyserSource()
        {
            try
            {
                if (vsAnalyzer != null)
                {
                    if ((vsAnalyserSource = vsAnalyzer.CreateAnalyserSource(syncTimer, AnalyserConfiguration)) != null)
                    {
                        AnalyzerLinking();

                        return(true);
                    }
                }
            }
            catch (Exception err)
            {
                logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);;
            }

            return(false);
        }
Esempio n. 3
0
 // Close video source
 public void CloseAnalyserSource()
 {
     try
     {
         if (vsAnalyserSource != null)
         {
             vsAnalyserSource = null;
         }
     }
     catch (Exception err)
     {
         logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);;
     }
 }
Esempio n. 4
0
        // -----------------------------------------------------------------------------------------------------------------------
        // Create vsAnalyzer source
        // -----------------------------------------------------------------------------------------------------------------------
        public bool CreateAnalyserSource()
        {
            try
            {
                if (vsAnalyzer != null)
                {
                    if ((vsAnalyserSource = vsAnalyzer.CreateAnalyserSource(syncTimer, AnalyserConfiguration)) != null)
                    {
                        AnalyzerLinking();

                        return true;
                    }
                }
            }
            catch (Exception err)
            {
                logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);;
            }

            return false;
        }