The Xentara ONNX Engine v2.0
User Manual
JSON Format for ONNX Engine Input Time Series

A JSON object describing a Time Series has following syntax:

{
"name": "input",
"dataPoints": [
"3rd Floor.Room 301.Pressure",
"3rd Floor.Room 301.Temperature"
],
"computeDelay": 500,
"type": "timeSeries",
"dataType": "FLOAT",
"size": 512
}

Object Members
nameA string value describing the name of the output.This parameter can be omitted in case the model has a single input.
datapointsA JSON array containing the data points assigned as inputs.
dataTypeA string value containing the data type of the model.
  • FLOAT Defines input as float 32bit.
  • DOUBLE Defines input as float 64bit.
  • INT8 Defines input as signed integer 8bit.
  • INT16 Defines input as signed integer 16bit.
  • INT32 Defines input as signed integer 32bit.
  • INT64 Defines input as signed integer 64bit.
  • UINT8 Defines input as unsigned integer 8bit.
  • UINT16 Defines input as unsigned integer 16bit.
  • UINT32 Defines input as unsigned integer 32bit.
  • UINT64 Defines input as unsigned integer 64bit.
  • BOOL Defines input as Boolean value.
computeDelayAn optional parameter specifying the delay of the of samples will be taken from the moment that the run task will be executed from the moment it is triggered. The default value is 0
typeA string value describing the type of the model. For the time series required "timesSeries".
sizeA positive integer value describing the size of the buffer.

Please remember that each element block requires two layers of {} due to the syntax restrictions of the JSON format.