Jump to content

SENSBLUE ATLAS/Datasheet: Difference between revisions

No edit summary
Line 3,328: Line 3,328:
<syntaxhighlight lang="json" line="1">
<syntaxhighlight lang="json" line="1">
{
{
  "id": "<TIMESTAMP>",
    "id": TIMESTAMP,
  "origin": "APP",
    "origin": "Dev",
  "task": {
    "task": {
    "taskParams": {
        "taskParams": {
      "AI1": {
            "AI1": {
        "mode": "single",
                "mode": "single",
        "type": "voltage"
        "type": "voltage"
      },
            },
      "AI2": {
            "AI2": {
        "mode": "single",
                "mode": "single",
        "type": "voltage"
        "type": "voltage"
      },
            },
      "AI3": {
            "AI3": {
        "mode": "single",
                "mode": "single",
        "type": "current"
        "type": "current"
      },
            },
      "AI4": {
            "AI4": {
        "mode": "single",
                "mode": "single",
        "type": "current"
        "type": "current"
      }
            }
        }
     }
     }
  }
}
}
</syntaxhighlight>Reply-Topic: analogInputs/config/out<syntaxhighlight lang="json" line="1">
</syntaxhighlight>Reply-Topic: analogInputs/config/out<syntaxhighlight lang="json" line="1">
{
{
  "id": "<TIMESTAMP>",
    "id": TIMESTAMP,
  "origin": "APP",
    "origin": "ioExpander",
  "task": {
    "task": {
    "taskResult": {
        "taskResult": {
      "AI1": {
            "AI1": {
        "success": true
                "success": true
      },
            },
      "AI2": {
            "AI2": {
        "success": true
                "success": true
      },
            },
      "AI3": {
            "AI3": {
        "success": true
                "success": true
      },
            },
      "AI4": {
            "AI4": {
        "success": true
                "success": true
      }
            }
        }
     }
     }
  }
}
}
</syntaxhighlight>
</syntaxhighlight>


Line 3,386: Line 3,384:
<syntaxhighlight lang="json" line="1">
<syntaxhighlight lang="json" line="1">
{
{
  "id": "<TIMESTAMP>",
    "id": TIMESTAMP,
  "origin": "APP",
    "origin": "Dev",
  "task": {
    "task": {
    "taskParams": {
        "taskParams": {
      "AI1": {
            "AI1": {
        "action": "READ"
                "action": "READ"
      },
            },
      "AI2": {
            "AI2": {
        "action": "READ"
                "action": "READ"
      },
            },
      "AI3": {
            "AI3": {
        "action": "READ"
                "action": "READ"
      },
            },
      "AI4": {
            "AI4": {
        "action": "READ"
                "action": "READ"
      }
            }
        }
     }
     }
  }
}
}
</syntaxhighlight>Reply-Topic: analogInputs/runtime/out<syntaxhighlight lang="json" line="1">
</syntaxhighlight>Reply-Topic: analogInputs/runtime/out<syntaxhighlight lang="json" line="1">
{
{
  "id": "<TIMESTAMP>",
    "id": TIMESTAMP,
  "origin": "APP",
    "origin": "Dev",
  "task": {
    "task": {
    "taskResult": {
        "taskResult": {
      "AI1": {
            "AI1": {
        "success": true,
                "result": _FLOAT_,
        "value": <_FLOAT_>
                "unit": "V",
      },
            },
      "AI2": {
            "AI2": {
        "success": true,
                "result": _FLOAT_,
        "value": <_FLOAT_>
                "unit": "V",
      },
            },
      "AI3": {
            "AI3": {
        "success": true,
                "result": _FLOAT_,
        "value": <_FLOAT_>
                "unit": "mA",
      },
            },
      "AI4": {
            "AI4": {
        "success": true,
                "result": _FLOAT_,
        "value": <_FLOAT_>
                "unit": "mA",
      }
            }
        }
     }
     }
  }
}
}
</syntaxhighlight>
</syntaxhighlight>
===== 24.6.2 Usage Examples =====


==== <big>24.7 Analog Outputs Actor</big> ====
==== <big>24.7 Analog Outputs Actor</big> ====