Managing eMessage Assets Through ThingWorx > Viewing Time Series Data Using ThingWorx Composer
Viewing Time Series Data Using ThingWorx Composer
Time series data for an Axeda agent asset is logged and can be reviewed.
This section assumes:
Your Axeda agent Thing is associated with a value stream.
Your properties are configured to log to the value stream.
Viewing Time Series Data
A value stream is required to be able to view time-series data for an Axeda agent Thing. To set up your Thing for time-series data, you must create a value stream and associate it with the Axeda agent Thing. Log in to ThingWorx Composer and follow these steps:
1. Navigate to the Thing that you want to update.
2. From the +NEW menu, select to create a Value Stream for the Thing. and provide a Name, Base Thing Template, and Implemented Shape. Save the new value stream.
3. From the Recent menu, select your Axeda agent Thing, and display the General Information for the Thing.
4. From the value stream list, select the new value stream to add it to the Axeda agent Thing Click .
5. Click Properties and Alerts.
6. Locate the property, and click .
7. In the editing pane for the property, select the check box next to Logged so that time-series values of the property are logged in the value stream. Optionally, select the check box next to Persistent to retain the value of the property if there is a system restart. In general it is recommended that you not select this option.
8. Click to save your changes to the property..
9. To create a time series set of property values:
a. Click for the configured property.
b. Enter a new value for the property, then click .
c. Repeat several times to create a series of values for the property.
10. Click to update the Axeda agent Thing.
11. Click Services for the Axeda agent Thing.
12. Expand the list of Generic services, and then locate the service for the Base Type of the property, and click . The following services are available:
QueryBooleanPropertyHistory
QueryNumberPropertyHistory
QueryStringPropertyHistory
13. In the Execute Service window, in the propertyName field, type the name of the property that you are testing. Note that property names are case sensitive.
14. Click .
The result (Output) pane displays the time series of values you entered for the property.
Was this helpful?