You can export and import the result of an HD query or time period query in file form. The procedure is identical for both types of queries.

Exporting an HD query or time period query
  1. Once you have executed a query, click on Export HD query file in the context menu of the signal tree.

    The Save datafile dialog opens.

  2. Select the destination path.

  3. Enter a file name.

  4. Save the file with <OK>.

    The file is given the extension .hdq. You can open it like a data file.

Opening an HDQ file

Because the file only contains the query parameters and no measured values, a connection to the corresponding HD server needs to exist in order to open the HDQ file.

You can edit the exported query (HDQ file) with a text editor.

Example of an exported HD query:

Content

Description

[HDQ file]

Identification HD query

port number=9180

Port number

server=HD-Computer

HD server name

starttime=31.10.2013 10:15:50.336000

Start of the time period that is to be read out

stoptime=31.10.2013 10:19:25.758000

End of the time period that is to be read out

store=HD store_Time

HD store where the data is stored

timebase=0.001

Time base of the measured data

type=time

Time-based or length-based data

Instead of starttime or stoptime, you can also specify a duration in seconds. You can also specify the value "now" as the stoptime.

In this way, you can formulate queries for a consistent time range, e.g. for the last 7 days, always from the time range when the query is executed or the HDQ file is opened. Example of HD query for the last 7 days from "now":

Example of an exported time period query:

Content

Description

[HDQ file]

Identification time period query

port number=9180

Port number

server=HD-Computer

HD server name

store=HD-Store 2 (Process data)

HD store

timebase=0.01

Set timebase

timePeriodId=116268

Identification of the time period

timePeriodName=HRM_Product_ID_20250303_00231

Time period name

timePeriodStoreName=TimePeriod_Product

Name of the time period store

type=time

Time-based data

Exporting HD query to a standard data

If an HD query is loaded in ibaAnalyzer, you can use the usual export function (File menu – Export…) to generate a normal iba data with the extension .dat. This allows you to make an HD query available to users who do not have a connection to the HD server.