Code examples in JavaScript

In this page you can find some examples and tricks of JavaScript that you can use to connect, receive and send information to cloud from field devices using Domatica Quantum Cloud (DQC):

GET

How to get real-time data from a device

Having access to real-time information in dashboards is very important in several business applications. You can get real-time data from field devices by using the GET command with Domatica Quantum Cloud (DQC).

Try it yourself >> https://jsfiddle.net/DomaticaCloudServices/4s2euv8a/

SET

How to act in real-time over a device

If you need to change a setpoint, control an output circuit or create an output information, you can do it by using the SET command, with Domatica Cloud Services (DCS).

Try it yourself >> https://jsfiddle.net/DomaticaCloudServices/91j429g5/4/

 

 

 

Share