This reference describes all objects included with the Quantum IoT Developer Release. Objects include Widgets, Gadgets, Snippets and Gateways. Applications are built by connecting these objects to perform desired functions.
Anatomy of an Object
Every object consists of the following parts. For more detailed information, see the Design Specification section on Objects.
Name
The object name is shown at the top of the object. This name is defined by the user and be of any value.
Categories
Categories are used to efficiently map the application to the various hardware devices in the system. Se Mapping in the Design Specification for more information.
Ports
Ports are the connection point to attach signals to the object. Type checking ensures only compatible ports can be connected. When possible, type conversion is performed automatically. For example, passing an integer to a text field will convert the number to a string.
Every port can be initialised at runtime by setting the default value.
Port Properties
Port properties are set in the App Builder by clicking on a port attach point on the object.
Name | Type | Description |
---|---|---|
Trigger | Boolean | Default on. When set, any messages sent to this node will trigger execution of the object. If off, node will retain the message and not call the object event loop. |
Type | Any | Specifies the node data type. Properties are specific to the data type can edited here. See reference to Data types. |
Default Value | Any | Loads the node message with a default value. Application specific data can be provided by setting the Default Value and not connecting a Signal to the Node. |
Cast Number | Number | Forces casting the input number to the specified format. For example, force the input float to integer before object accesses the message. |
Object Properties
These properties affect the object as a whole.
Name | Type | Description |
---|---|---|
TBD | TBD | TBD |