Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

The "Objects" tab is not appear

Answered

Comments

3 comments

  • Andrey Terentyev
    • Network Optix team

    Hello Scott,

    Have you declared object types in your Engine or DeviceAgent manifest, similar to this?

    "objectTypes": [
    {
    "id": ")json" + kHelloWorldObjectType + R"json(",
    "name": "Hello, World!"
    }
    ]

    See sample_analytics_plugin of stub_analytics_plugin for more details.

    0
  • Scott Chiang

    Hi Andrey, thanks for your reply, I declared that in Engine manifest, here is my content of manifest:

    {
    "objectTypes":[
    {
    "id": ")json" + objectType_car + R"json(",
    "name": "Car"
    },
    {
    "id": ")json" + objectType_bike + R"json(",
    "name": "Bike"
    },
    {
    "id": ")json" + objectType_person + R"json(",
    "name": "Person"
    }
    ],
    "capabilities": "needUncompressedVideoFrames_bgr",
    "deviceAgentSettingsModel": {
    "type": "Settings",
    "items": [
    {
    "type": "TextField",
    "name": ")json" + kUserId + R"json(",
    "caption": "User ID",
    "defaultValue": ""
    },
    {
    "type": "TextField",
    "name": ")json" + kPassword + R"json(",
    "caption": "Password",
    "defaultValue": ""
    },
    {
    "type": "TextField",
    "name": ")json" + kIP + R"json(",
    "caption": "Server address",
    "defaultValue": ""
    },
    {
    "type": "TextField",
    "name": ")json" + kPort + R"json(",
    "caption": "Server port",
    "defaultValue": "80"
    },
    {
    "type": "TextField",
    "name": ")json" + kCameraId + R"json(",
    "caption": "Camera ID",
    "defaultValue": ""
    },
    {

    "type": "TextField",
    "name": ")json" + kReconnectCounter + R"json(",
    "caption": "Reconnect",
    "defaultValue": "3"
    }
    ]
    }

    }
    )json";

    Is it correct?

    thank you 

    0
  • Andrey Terentyev
    • Network Optix team

    Hi,

    I build your manifest into sample plugin. It seems working

    0

Please sign in to leave a comment.