For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
9 3 6 9

Websocket Container: Elements containing an Array-Primitiv

Hello,

if an Elements-Contianer takes is an Entry of Type "Array", are the Type-Attribute describing the Entry containing "Array" or the name of the DataType that the Array contains?

Kind regards

Reinhold

#technologywebsocketsjson
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
78.6k 248 52 74

@Reinhold.Blank

Thanks for reaching out to us.

Yes, an element entry can contain an array.

"Elements": {
   "Name": "ERT_FD3_LF1",
   "SupportsQoSRange": 0,
   "Capabilities": {
      "Type": "Array",
      "Data": {
         "Type": "UInt",
         "Data": [5,6,10,11,13,18,19]
               }
                   },

For example, the source directory domain contains the element list. The element entry named "Capabilities" contains an array of unsigned integers.

I hope that this information is of help.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
9 3 6 9

@Jirapongse

Hi,

thank you for this quick response, but your answer does not match to my questions? Please read it carefull.

Kind regards

Reinhold

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sorry, wrong story. Please ignore it.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.