Facility Control

 View Only
  • 1.  OGP String Arrays

    Posted 10-20-2020 18:01

    I am working on a Dashboard ethernet link using simple openGear Protocol.  I looked at Ben's example panels but he does not have anything in OGP.

      The INT16, INT16 Arrays and Strings work fine. But I cannot make a String Array work. I am starting with a simple 2 string, 9 char per string array. Can you give me a sample OGP_GET_DESCRIPTOR Response and OGP_GET_PARAM Response for this type of string array?



  • 2.  RE: OGP String Arrays

    Posted 10-23-2020 19:21

    Are you using OGP Binary or OGP JSON?

     

    Here is an output of a device request from a device that is using OGP JSON and has one string array parameter:

    O: {"payload":{"detail":"full"},"slot":0,"type":"device-request"}
    I: {"slot":0,"type":"device","payload":{"slot":1,"detail":"full","menu-groups":{"status":{"name":"status","menus":{},"menuid":0},"config":{"name":"config","menus":{},"menuid":1}},"params":{"_d_test1":{"oid":"test1","name":"test1","readonly":false,"type":"STRING_ARRAY","widget":"default","maxlength":0,"totallength":0,"value":["one","two","three"]}}}}

     

    Does that help?


    #DashBoard