...
Info |
---|
This reference describes all objects included with the Quantum IoT Developer Releaserelease 1.0 . Objects include WidgetsHardware, GadgetsInterface, Snippets Code and GatewaysServices. 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 components in the system. Se Mapping in the Design Specification for more information.
...
Ports
Nodes Ports are the connection point to attach signals links to the object. Type checking ensures only compatible nodes 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 node port can be initialized at runtime by setting the default value.
...
Port Properties
Info |
---|
Node Port properties are set in the IDE App Builder by double clicking on a node port attach point in on the object. |
Name | Description | Type | Description|||
---|---|---|---|---|---|
Name | The name of the port. Can’t be changed except for Custom Snippets. | ||||
Trigger | Boolean | Default on. When set, any messages sent to this node port will trigger execution of the object. If off, node object will retain the message and not call the object event loopcode. | |||
Message TypeAny | Specifies the node data port message 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 Link 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.Port. |
Object Properties
Info |
---|
These properties affect the object as a whole. |
Name | Type of Objects | Description | TBD | TBD | TBD|
---|---|---|---|---|---|
Name | Hardware, Interface, Code, Service, Misc | The name of the object on the canvas. | |||
App Mapping Description | Hardware | When a hardware object requires mapping, this description is shown when the mapping function has been opened. | |||
Multiwidget | Hardware | Decide wether or not this hardware object can be mapped to single or multiple hardware components. | |||
Group | Interface | The group (and tab) this interface object is assigned to on the dashboard of the app. | |||
Label | Interface | The label of the Interface Object on the Dashboard. | |||
Show Code View | Code | The switch to turn on code view for the Code Object. |