To send data from your machine, plant or device to the cloud, you create one or more devices in graphicx.io. In this quickstart, we assume you create one device. Feel free to create more. To do this, navigate to "Devices" via the main menu.
Understand how a device is structured
Devices are always structured according to a consistent hierarchical pattern: Each device is always based on a certain device type and thus has one or more channels. These channels represent individual data streams or time series of the device (e.g. the measured curve of the rotational speed of a servo drive of a machine). And since these channels can occur repeatedly in the most diverse devices, they are created as channel types and are thus automatically available for all device types and thus devices. They only have to be created once.
If you take a closer look at the settings of a Channel Type, you can enter 3 specifications there in order to create it uniquely:
- With a channel type name (e.g. rotational speed)
- With a unit (e.g. RPM)
- With a data type (e.g. FLOAT)
This hierarchical pattern for the Devices provides you with a simple way to quickly create and configure many identical devices, i.e. devices that have the same device type.
To create your device please follow these steps
- First create one or more Channel Types. Each different type of data point for which you want to send data to the cloud requires a channel type. When you create the channel types, please always select the FLOAT data type in this quickstart guide.
- Now create your device type and add the necessary channel types to it. The order of the channel types is relevant, because an index of channel types for the respective device type is built up starting with 1. This index is later referenced in the machine so that the data streams recorded there also flow into the correct channels.
- Finally, create a device. Thereby select the device type you have just created under "Device Type". Now your device automatically has as many channels as you have associated channel types to the device type. The order, and thus also the indices of the channels, automatically correspond to the order and indices of the channel types in the selected device type.
As an alternative to the graphical user interface, it is also possible to create devices via the REST API.