Categories
Knowledge Support Cloudvue Cloudvue Gateway Support Categories Products

Cloudvue NVR Recorder Debugging

Description 

At times it can be useful to get nvr-recorder debug level output to troubleshoot recording issue on a Cloudvue Gateway.  This can be achieved using the smv-record debug engine.

Product 

  • Cloudvue Gateway

Solution

The basic steps are:

  • Stop the nvr-recorder service
  • Launch the smv-recorder directing the output to a text file
    • Allow smv-recorder to run for 30-60 seconds
    • Stop smv-recorder by pressing Ctrl+C
  • Start the nvr-recorder service
  • Review the output file for errors or warnings

Example

Tech Tip: 

Support Diagnostics also captures this information in the Smartvue-smv-record.log section.

Categories
Knowledge Support Support exacqVision Server Categories Products

How to: Executing and debugging C# applications with evAPI and Visual Studio 2005 or newer

C# or other managed applications created with Visual Studio 2005 or newer cause a System.AccessViolationException in the EVAPI_CreateWindow function on Windows Vista and Windows 7. To avoid this while debugging within Visual Studio and during application execution, complete the following steps.

  1. After the project has loaded, select the project properties under the Project item on the toolbar (or press Alt+F7).
  2. Select the Build Events tab.
  3. Enter the following command in the Post-build Event Command Line:
    • call “$(DevEnvDir)..\tools\vsvars32.bat”
    • editbin.exe /NXCOMPAT:NO $(TargetPath)
  4. Select the Debug tab.
  5. Uncheck the Enable the Visual Studio hosting process. This must be done for all configurations that will be executed from Visual Studio.
  6. Save and close the project properties page.
  7. Clean and rebuild the project.

<br>

How-to-Executing-and-debugging-C-applications-with-evAPI-and-Visual-Studio-2005-or-newer.pdf
Categories
Knowledge Support Support exacqVision Server Categories Products

Troubleshooting an eDVR Board

To troubleshoot an eDVR board, complete the following steps:

  1. Download Microsoft’s DebugView program from http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx<br><br>
  2. Open the file
    C:\Windows\xdvapi.ini
    Note: In Windows 7 or Windows Vista, run Notepad as an Administrator and then select Open from the File menu and change the file type to ‘All Files (*.*)’ to open the INI file.<br><br>
  3. Find the [CONFIG] section, or create it if necessary.<br><br>
  4. Add a line after [CONFIG] as follows:
    [CONFIG]
    ODSFlags=0x80000003<br><br>
  5. Run the DebugView application.<br><br>
  6. Stop the ExacqVision Server service.<br><br>
  7. Start ExacqDV Control Center. Several lines of information will scroll in the DebugView window. Click Clear in the DebugView toolbar.
    Note: The Clear button looks like an eraser and a piece of paper and can be found below the Help menu.<br><br>
  8. In the ExacqDV Control Center tree, select the eDVR board that you want to troubleshoot. A “-9005” error will appear along with additional information in DebugView.<br><br>
  9. Copy the information from DebugView into an email and send it to support@exacq.com.

<br>