Skip to main content

10.3 Using the Add-In

Once connected to IDMP, the TDengine EAI ribbon tab provides all the tools for retrieving data, exploring events, filtering assets, and configuring the add-in. Each button opens a task pane on the right side of Excel where you configure the query and select an output cell.

Ribbon Overview

ButtonDescription
Current ValueRetrieve the latest value of one or more attributes
Archive ValueRetrieve the attribute value at a specific point in time
Raw DataRetrieve raw time-series data over a time range
Sampled DataRetrieve time-series data sampled at a regular interval
Timed DataRetrieve the attribute value at specific timestamps
Calculated DataRetrieve aggregated (calculated) values over time windows
Time FilteredRetrieve data filtered by a state or condition expression
Event ExploreQuery and export events from IDMP
Attribute FilterSearch and export attribute metadata
Asset FilterSearch and export element (asset) metadata
PropertiesRetrieve a specific metadata property of an element attribute
UpdateRefresh all data in the workbook
SettingsConfigure global add-in settings

Common Fields

Most data retrieval forms share the following fields:

FieldDescription
Data ItemsThe IDMP element attributes to query. Click the search icon to browse the asset hierarchy and select one or more attributes.
Output CellThe Excel cell where results will be written. Defaults to the currently selected cell (e.g., Sheet1!A1).
Time PositionHow timestamps are written alongside the data: No Time Stamp (values only), Time at Left (timestamp in the column to the left), or Time on Top (timestamp in the row above).

Click OK to insert data and close the pane, or Apply to insert data and keep the pane open for further queries.

Current Value

Retrieves the latest value of the selected attributes and writes it to the output cell.

FieldDescription
Data ItemsThe attributes to query (required)
Output CellTarget cell
Time PositionNo Time Stamp / Time at Left / Time on Top

Archive Value

Retrieves the attribute value at a specific historical timestamp, with gap-filling support.

FieldDescription
Data ItemsThe attributes to query (required)
Fill TypeHow to fill if no exact value exists at the timestamp: Previous (use the last known value before), or other fill strategies
Time StampThe specific timestamp to query (required)
Output CellTarget cell
Time PositionNo Time Stamp / Time at Left / Time on Top

Raw Data

Retrieves all raw time-series data points within a time range, with no aggregation.

FieldDescription
Data ItemsThe attributes to query (required)
Start TimeStart of the time range (required)
End TimeEnd of the time range (required)
Output CellTop-left cell of the output range
Time PositionNo Time Stamp / Time at Left / Time on Top

Sampled Data

Retrieves time-series data resampled at a regular interval over a time range. Use this to get a uniformly-spaced series regardless of the original data frequency.

FieldDescription
Data ItemsThe attributes to query (required)
Start TimeStart of the time range (required)
End TimeEnd of the time range (required)
Time IntervalThe resampling interval (e.g., 1h, 30m, 1d)
Filter ExpressionOptional filter to exclude certain data points before sampling
Output CellTop-left cell of the output range
Time PositionNo Time Stamp / Time at Left / Time on Top

Timed Data

Retrieves the attribute value at one or more specific timestamps that you provide, with fill support for gaps.

FieldDescription
Data ItemsThe attributes to query (required)
Fill TypeHow to fill if no exact value exists at a given timestamp (e.g., Previous)
Time StampThe specific timestamp(s) to query
Output CellTarget cell
Time PositionNo Time Stamp / Time at Left / Time on Top

Calculated Data

Retrieves aggregated data over regular time windows — for example, the hourly average, daily maximum, or sum per shift.

FieldDescription
Data ItemsThe attributes to query (required)
Start TimeStart of the time range (required)
End TimeEnd of the time range (required)
Time IntervalThe aggregation window size (e.g., 1h)
Filter ExpressionOptional filter applied before aggregation
Aggregation FunctionThe aggregation to apply (required). Supports all TDengine selection and aggregation functions that return one row of data per window (e.g., AVG, MAX, MIN, SUM, COUNT, FIRST, LAST, TOP, BOTTOM).
Output CellTop-left cell of the output range
Time OptionsOptionally show Start Time, End Time, or Max/Min Time columns alongside the aggregated values

Time Filtered

Retrieves data filtered by a state or condition defined by start and end expressions — useful for extracting data only during specific operating conditions (e.g., when a machine is running).

FieldDescription
Data ItemsThe attributes to query (required)
Expression — Start WithThe condition expression that marks the beginning of a valid period (required)
Expression — End WithThe condition expression that marks the end of a valid period (required)
Start TimeStart of the search range (required)
End TimeEnd of the search range (required)
Time IntervalInterval for data points within each valid period
Time UnitsThe unit for the time interval (e.g., Second)
Output CellTop-left cell of the output range
Time OptionsOptionally show Start Time and/or End Time columns

Event Explore

Queries IDMP events and exports the results as a table in the spreadsheet. Supports filtering by multiple criteria.

FieldDescription
NameFilter by event name
DescriptionFilter by event description
TemplateFilter by event template
Severity LevelFilter by severity (All, Warning, Critical, etc.)
Is AckFilter by acknowledgement status
Created atFilter by event creation time range
Updated atFilter by last update time range
Maximum ResultsMaximum number of events to return (default: 1000)
Order BySort field, with ASC or DESC order
Element Criteria — Root PathLimit results to events associated with elements under a specific asset tree path
Output CellTop-left cell of the output table
Columns to DisplaySelect which event fields to include as columns in the output table. A multi-select picker lets you choose from all available event fields (e.g., Ack, Status, and more).

Attribute Filter

Searches IDMP attribute metadata and exports the results as a table. Useful for auditing your data model or building dynamic references.

FieldDescription
Attribute NameFilter by attribute name
Attribute DescriptionFilter by attribute description
Attribute CategoriesFilter by attribute category tag
Attribute Value TypeFilter by data type (Float, Int, Bool, etc.)
Maximum ResultsMaximum number of results (default: 1000)
Order BySort field, with ASC or DESC order
Element CriteriaFilter by the element that owns the attribute: Root Path, Name, Description, Categories, Template
Output CellTop-left cell of the output table
Columns to DisplaySelect which attribute fields to include as columns in the output table. A multi-select picker lets you choose from all available attribute fields (e.g., Name, Description, and more).

Asset Filter

Searches IDMP elements (assets) and exports the results as a table.

FieldDescription
Root PathLimit results to elements under a specific path in the asset tree
NameFilter by element name
DescriptionFilter by element description
Attribute NameFilter elements that have an attribute matching this name
Attribute DescriptionFilter by attribute description on the element
CategoriesFilter by element category
TemplateFilter by element template
Created atFilter by element creation time range
Updated atFilter by last update time range
Maximum ResultsMaximum number of results (default: 1000)
Order BySort field, with ASC or DESC order
Output CellTop-left cell of the output table

Properties

Retrieves a specific metadata property of an element attribute (such as its unit, description, or configured limits) and writes it to a cell.

FieldDescription
Data ItemsThe attribute to query (required)
PropertyThe metadata property to retrieve (e.g., unit of measure, description, Hi limit)
Output CellTarget cell

Update

Click Update in the ribbon to refresh all data in the workbook. Every cell that was populated by the TDengine EAI add-in is re-queried with its original parameters and updated with the latest results.

Use this to keep a workbook current without reopening each form individually. For automatic periodic refresh, configure the Interval in Settings.

Settings

Configures global defaults for the add-in.

FieldDescription
Time formatThe format used when writing timestamps to cells (default: YYYY-MM-DD HH:mm:ss)
Number formatThe Excel number format applied to numeric output cells (default: General)
Maximum event countDefault maximum results for Event Explore queries (default: 1000)
Maximum filter search countDefault maximum results for Attribute Filter and Asset Filter queries (default: 1000)
Interval (seconds)Auto-refresh interval in seconds. Set to 0 to disable automatic refresh.

Click Confirm to save settings.