This object is used to trigger a timestamp which then can be used to see when the triggering took place. It can be used to create data points related to time like weather monitoring.
...
App Builder Object
...
In Ports
Position | Name | Message | Description |
---|---|---|---|
1 | Trigger | Trigger | Port that needs to be triggered to activate the object |
...
Out Ports
Position | Name | Message | Description |
---|---|---|---|
1 | Time (ms) | Number | Port gives out a time stamp in ms related to the actual time the object was triggered |
...
Properties
Name | Description |
---|---|
Object Name | The name of the object on the canvas |
Show Code View | The switch to turn on code view for the Code Object |
...
Example
A quick app example on how the object can be used.
...
The button interface object triggers the timestamp object. The time will send be send to a debug object which will display the time in milliseconds. If you start the app now and go to the dashboard it should look like this.
...
If we press the button “TIME“ should change to the actual time in milliseconds and give us a timestamp we can than use for further purposes.
...
Remember the time output is in milliseconds!