Pelco Developer Network (PDN)

Exporting Error

When I try to use EnduraExporterNet class, function StartExport returns true, but the first pollstatus returns -1.

In the logfile, I can see this error:

bootstrap.cpp, 109: bootstrap::EntryPoint: XSDK::XException thrown from [..\..\..\..\Plugins\Core\SourceNSP\Source\SourceNSPMediaObject.cpp:972]: "Attempted to call Run without calling Seek first, ppln(063C5520), this(063D53E0)"

Developing on VB.NET 2012 framewrok 4, but same result on C# 2010 Framework 4 using ExporterSample sample code.

SDK 3.4.
DS NVs 7.6.32

Regards

Maybe you can use the following steps to test your app against devices in the Partner Integration Lab (PIL). Using the ManagedExporterSample10 (C#) project I successfully tested against two camera/SM combinations running in the PIL; one was a SM5200 and the other a DSSRV. In the project I had to change the UUID and timestamps in the const String declarations but otherwise the app ran to completion.

The first sequence is for the SM5200, the second for the DSSRV. They differ slightly in how to find the camera UUID.

  1. Find a clip on the System Manager. I used SM 192.168.5.10 in the PIL. Search for video clips on all cameras.
  2. SM video list

  3. Choose a camera and use Endura Utilities to obtain the camera's UUID. I used the D5230 at 192.168.5.35. Its UUID is "uuid:2833bf7c-b0fc-d921-650b-cc6ea3082704".
  4. Camera UUID

  5. Paste the UUID and valid start and end timestamps into the main.cpp file of the project. Also set the SM and local IP addresses.
  6. const String CAMERA_1 =    "uuid:2833bf7c-b0fc-d921-650b-cc6ea3082704";
    const String START_TIME_1 = "2014-10-08T16:57:10";
    const String END_TIME_1 =   "2014-10-08T16:57:30";
    . . .
    const String SM_IP_ADDRESS = "192.168.5.10";
    const String LOCAL_IP_ADDRESS = "192.168.5.248";

  7. Build and Run. The video exports to the specified path.
  8. Console output

For the DSSRV the sequence is different. I used the device.xml file to find a camera and its UUID, then plugged that in to the source code as shown in the following steps:

  1. Find a camera connected to the DSSRV System Manager at 192.168.5.26 in the PIL. I had to try several of the listed devices (cameras) since they do not all appear to be recording.
  2. SM video list

  3. Paste the UUID and valid start and end timestamps into the main.cpp file of the project. Also set the SM and local IP addresses.
  4. const String CAMERA_1 = "uuid:14581087-8093-445d-ae8e-5d9b2e3e78dc";
    const String START_TIME_1 = "2014-10-08T16:57:10";
    const String END_TIME_1 =   "2014-10-08T16:57:30";
    . . .
    const String SM_IP_ADDRESS = "192.168.5.26";
    const String LOCAL_IP_ADDRESS = "192.168.5.248";

  5. Build and Run. The video exports to the specified path.