ibaAnalyzer-DAT-Extractor v1.0 en
ibaAnalyzer-DAT-Extractor v1.0 en
Manual
Issue 1.0
Manufacturer
iba AG
Koenigswarterstr. 44
90762 Fuerth
Germany
Contacts
This manual must not be circulated or copied, or its contents utilized and disseminated,
without our express written permission. Any breach or infringement of this provision will
result in liability for damages.
© iba AG 2017, All Rights Reserved
The content of this publication has been checked for compliance with the described
hardware and software. Nevertheless, deviations cannot be excluded completely so that
the full compliance is not guaranteed. However, the information in this publication is
updated regularly. Required corrections are contained in the following issues or can be
downloaded on the Internet.
The current version is available for download on our web site http://www.iba-ag.com.
Issue Date Revision Author Version SW
1.0 07-18-2017 First edition RM 6.9.3
Windows® is a label and registered trademark of the Microsoft Corporation. Other product
and company names mentioned in this manual can be labels or registered trademarks
of the corresponding owners.
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
Table of Contents
Issue 1.0 i
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
1.2 Notations
In this manual, the following notations are used:
Action Notation
Menu command Menu Logic diagram
Calling the menu command Step 1 – Step 2 – Step 3 – Step x
Example:
Select the menu Logic diagram - Add - New function
block.
2 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
The non-observance of this safety information may result in an imminent risk of death
or severe injury:
From an electric shock!
Due to the improper handling of software products which are coupled to
input and output procedures with control function!
The non-observance of this safety information may result in a potential risk of death or
severe injury!
The non-observance of this safety information may result in a potential risk of injury or
material damage!
Note
A note specifies special requirements or actions to be observed.
Important note
Note if some special features must be observed, for example exceptions from the rule.
Tip
Tip or example as a helpful note or insider tip to make the work a little bit easier.
Other documentation
Reference to additional documentation or further reading.
Example
Configuration and application examples for a better understanding
Issue 1.0 3
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
2 Introduction
Other documentation
For detailed information about the general functions of ibaAnalyzer, please see the
ibaAnalyzer manual.
4 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
3 Installation
ibaAnalyzer-DAT-Extractor is installed with ibaAnalyzer and activated by the associated
license.
Issue 1.0 5
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
4 Data Extractor
The main dialog for the settings of "Data Extractor" can be opened in ibaAnalyzer by one
of the two methods shown in the figure.
6 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
<OK>
All current settings in the "Data Extractor" window are saved and window is closed.
<Cancel>
All settings changed after the "Data Extractor" window was opened are discarded and
window is closed.
The following message will appear if the license is not recognized.
Issue 1.0 7
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
Extract to file
Data will be extracted as files in the format specified below.
Extract to database is described in the ibaAnalyzer-DB manual.
Path
Select directory location for files extracted by the DAT-Extractor. Browse the network if
required (<…>).
Note
If the specified directory cannot be found it will be created automatically.
Note
If the analysis is called from the ibaDatCoordinator then the location of the extracted
files must be specified there and will override the location specified in the DAT-Extractor.
Should the directory be password protected then the Username and Password must be
entered.
8 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
4.1.1.1 Binary
Binary (PDA compressed file format)
Video export
Important Note
For exporting the videos, ibaAnalyzer needs access to the video files or ibaCapture
server.
Important Note
All extracted data is converted to Real format.
Issue 1.0 9
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
4.1.1.2 ASCII
ASCII (tabbed text format)>
ibaAnalyzer automatically uses a tab-based text format. This means that the measuring
series (= signal channels) are separated from each other by tabs (<TAB>) in the
extracted text (.txt) file.
10 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
Note
Text string signals in the source file are treated like any other source signal.
Formatting auto
Automatically converts measured values to 6 significant figures (%g).
Formatting custom
Enter customized number format.
For a list of available formats see printf C++ reference in the Internet.
For parameters that translate to numerical values (‘%x1’, ‘%x2’, ‘%dx’, ‘%y1’, ‘%y2’,
‘%dy’, ‘%x1’, and ‘%s’) the width and precision can be specified between the percent
sign and the parameter name.
This is similar to the width formatting for the ‘printf’ statement in C++:
The ‘width’ parameter is the minimum number of characters which will be displayed. If
the printed value is shorter than this number, the result is padded with blank spaces.
The ‘.precision’ parameter is the number of digits behind the decimal point
For example: ‘%4.2s’ means at least 4 digits will be shown and 2 will be after the decimal
point. If the parameters are not set, the numerical value will be formatted according to
the ibaAnalyzer settings.
Issue 1.0 11
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
Figure 8: Entry of value (left) and result after pressing <Test> (right)
4.1.1.3 COMTRADE
COMTRADE is an abbreviation that stands for IEEE Standard Common Format for
Transient Data Exchange (COMTRADE) for Power Systems. This is a definition of a
particular format for the exchange of data files as documented in the IEEE Std C37.111-
1999 standard. The standardization applies to both the format of the data files and the
type of media to be used for exchanging fault signal, test or simulation data of energy
supply systems.
Type
Select the required file type (ASCII or binary) of the export file.
Net Frequency
Select the applicable mains frequency (50 / 60 Hz).
Station name and Recording device
According to the COMTRADE convention, information concerning the station name and
the recording device must be entered here. This information is stored in the cfg-file which
ibaAnalyzer generates during the export process in addition to the data (.dat) file.
ibaAnalyzer generates a *.dat file during the COMTRADE export which contains the
measured values, as well as a *.cfg file with configuration data, such as channel
information (signal number, signal name, info columns), the start and end time, etc.
4.1.1.4 TDMS
.dat files will be extracted in the binary National Instruments Technical Data Management
Streaming file format. These files can be opened in e.g. LabVIEW and DIAdem.
You need a separate license for this feature to be enabled. Contact iba support for more
information.
12 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
"Mode" column
Use the drop down list to select a sampling mode in an empty cell in the "Mode" column
in the Segment archive profiles window.
Important information
"Time, non equidistant" is only available for ASCII format.
"Size" column
Select the adjacent cell in "Size" column and enter a multiplier to determine the sampling
cycle for the extracted file (e.g. 10 s = "Size (10)" x "Mode (Time(Seconds))".
For the "Time" and "Length" modes, it’s possible to enter a "Size" < 1 in order to obtain
fractions of the "Mode" unit. Fractions of the "Mode" "*signal time base", of course, make
no sense, e. g. a temperature that was measured every minute need not be extracted
every 100 ms. If the recording signal time base is 1 ms the sample 100 ms profile could
also be defined by "Size" = 100 and "Mode" = "* signal time base".
By using the modes "Time segments" or "Length segments" it is possible to define a fixed
number of equidistant time or length segments. For example "Size" = 1 and "Mode" =
Issue 1.0 13
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
"Time segments" means that only 1 segment value for the whole data file is stored. If
parts of the source signal are invalid, then extracted segments containing these will be
empty. If the empty segments are at the beginning or end of the signal, they will not be
transferred to the extracted file. If the empty segments lie between valid segments, then
the extracted file will contain corresponding gaps of invalid values.
In the case of the mode "Time, non-equidistant" only the times of the actual measurement
values will be exported.
"Name" column
Select the adjacent cell in the "Name" column and enter a profile name.
It is advisable to use a name which reflects the chosen sampling period for the extracted
file (e.g. "10 s" = Size (10) * Mode (Time (Seconds)).
Signal selection
Signals must be assigned to the created profiles.
14 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
Select any number of the signals to be included in the extracted file using the check
boxes in the Signal selection window. The extracted signal values are the averages of
the source signal values within the selected sample cycles.
When checking a module node in the "closed" tree view all signals belonging to that
module will be checked, resp. unchecked. Before assigning individual signals the module
tree has to be opened by clicking on the + symbol. The checked signals are always
assigned to the marked profile (gray background color). When changing the profile, the
checkmarks in the checkboxes disappear.
Important information
A signal can always be assigned to only 1 profile.
Important information
Assigning a length mode to a time based signal or a time mode to a length based signal
will produce an error on extraction.
Note
If the archive profile specifies signals which are not present in the existing data file,
these will be listed under "Channels currently unavailable".
Issue 1.0 15
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
Note
Obviously if the selected profile sample cycle is the same as that of the source signals,
these values are meaningless.
If the given expressions cannot be evaluated, an error message will occur during
extraction.
Important information
You can use expressions to calculate the range from your data.
16 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
Click on the source field. The field information will be transferred to the processing field.
Double click on the source field. The column line will be filled in addition to the processing
field. The "Column type" can only be "char". The "Column name" can be renamed if
required. The range of characters within the "Function" can be altered in the processing
window.
Select group
It is also possible to select a group of characters from the contents of the info field.
1. Click on the first of the required characters, drag the mouse to the last required
character and release.
2. <Apply>
Issue 1.0 17
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
3. The excerpt from the source string is transferred to the column field.
All the characters from the marked starting point to the end of the info field are selected.
18 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
ASCII
Issue 1.0 19
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
Add line Adds a new empty line above the currently selected line.
Import info file Import Info Column information from text file. The "Open
text file" dialog appears.
Alternative: right click on header, select Import
Export info file Export Info Column information to text file. The "Save text
file" dialog appears.
Alternative: right click on header, select Export
20 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
Note
If no group function is specified in the expression ibaAnalyzer automatically uses the
average.
Issue 1.0 21
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
ASCII
22 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
Mode
Filename
Enter name of diagnostic file. If daily log has not been selected this would be, e.g.:
<Edit>
The selected log file can be opened in Notepad and changed as required.
Issue 1.0 23
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
Important information
If logging is activated permanently, a cleanup strategy for the log files has to be
implemented externally (not part of ibaAnalyzer).
4.5.2 Notifications
The Notification tab provides 4 means of communication triggered by a selected status
of the extraction process. The following statuses are available:
On completion
On success
On failure
On failure (1st. failure only)
E-Mail address
Enter address and select extraction mode.
Net send computer name
Enter computer name and select extraction mode. Browse the network if required (<…>).
Command line
Enter command line script to be executed when extractor status achieved and select
extraction mode.
24 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
Issue 1.0 25
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
4.6 Renumbering
If multiple files opened and several signals are to be extracted from several files, it is
likely that multiple channels will have the same ID number and hence need to be
renumbered or otherwise they will not be able to be uniquely identified in the exported
media. ibaAnalyzer can do this renumbering automatically but will give a warning if it has
to do so before proceeding with the extraction.
The channel IDs are comprised of a module number and a position within the module.
The Renumbering tab allows the specification of an offset to the module numbers for
each file, hence enabling the user to prevent ID collisions and avoid automatic
renumbering.
The open .dat files are listed automatically in the "File" column.
Global module offset for channel numbering
This number will be added to data file channel numbers.
"Expression" column
The offset for each data file is entered in this field.
26 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
"Active" column
Channel offsets will only be made for active files. Extraction of channels in inactive files
leads to the following message.
Issue 1.0 27
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
28 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
5.2 Switches
The following switches are useful together with the ibaAnalyzer-DAT-Extractor
Switch /extract[:filename]
This switch is used to extract the data into a file using ibaAnalyzer-DAT-Extractor. The
desired extracted file name [:filename] must be added as a parameter.
The /extract switch means that ibaAnalyzer starts and loads the specified data file.
Thereafter, the measuring data is processed in accordance with the specified analysis
and extracted into a file. During this process, no ibaAnalyzer window is opened on the
screen, i.e. the extracting process takes place in the background. (An example is given
below).
Switch /append
This switch enables the appending of several data files specified in the call. These files
are then displayed in chronological order in the X direction. (An example is given below).
Switch /print
This switch ensures that the measuring data can be printed as a record or log in the
format defined in the selected analysis. The Windows default printer is used.
When the printing process is completed or after the print job has been triggered,
ibaAnalyzer is closed again. In the case of an error, however, ibaAnalyzer remains open
in order to display the error message. (An example is given below).
Switch /report[:filename]
If the [:filename] option is not used with the switch, the integrated report generator is
started and the data is printed to the Windows default printer using the report layout
specified in the analysis.
If the [:filename] switch option is used, the report will be written into a file rather than
being printed. The desired file type is determined by the file name extension. Many
customary formats are supported, including, for example, .pdf, .htm, .rtf, .tiff, .jpg, .xls,
etc. (an example is given below).
Combination
permissible
/append
/extract
or useful?
/report
/print
/append
/print YES
Issue 1.0 29
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
Examples
(Program path for ibaAnalyzer: c:\programs\iba\ibaAnalyzer\...)
1. Start with three data files which are then coherently shown one after another in the
X direction. The analysis rule included in the call effects the immediate display of the
desired data.
...\ibaanalyzer.exe demo00.dat demo01.dat demo02.dat analyse3.pdo
/append
2. Start with one data file and one analysis with automatic print:
...\ibaanalyzer.exe datfile1.dat analyse2.pdo /print
3. Start with one data file and one analysis with data extraction:
...\ibaanalyzer.exe datfile1.dat Extract.pdo /extract
4. Start with one data file and one analysis with report output on the printer:
...\ibaanalyzer.exe c:\samples\reportsample.dat
c:\samples\reportsample.pdo /report
5. Start with one data file and one analysis with report output as a pdf file:
...\ibaanalyzer.exe c:\samples\reportsample.dat
c:\samples\reportsample.pdo /report:c:\report\pdf\test.pdf
30 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
If you have a license for ibaAnalyzer, an extraction task can extract data from a .dat-file
and store it in a database or another file. The extractions are done with an analysis file
created using ibaAnalyzer. For more information, please see the ibaAnalyzer-DB
manual.
In the following, we describe the extraction-specific settings, which have been highlighted
in red in the previous figure.
Target
Extract to database/Extract to file
If you choose the option "Extract to database" all settings are not available (grey) as all
relevant settings can only be done in ibaAnalyzer-DB. Only if you choose "Extract to file",
you can do more settings.
Issue 1.0 31
Extract Interface for External Manual ibaAnalyzer-DAT-Extractor
Data File Formats
File type
Select here the required type for the output file.
Other documentation
For more notes about the file types, see the ibaAnalyzer-manual, chapter "Exporting
files".
Configuration steps
If you want to extract the data automatically from the .dat-files, proceed as follows:
1. Select the analysis file for Extraction tasks, by entering the path or search for the file
using the browser button.
2. Then, you can click on the ibaAnalyzer-symbol for checking if the right analysis file
has been loaded. The analysis file is opened in the ibaAnalyzer and can also be
edited here.
3. Configure the target of the extraction:
Select the type of the extraction (database or file) and leave out the following steps if
"Extraction to database" has been enabled.
4. Define the target directory.
5. If the target directory is located on a remote server, enter a user name and a
password for getting access to the remote server.
32 Issue 1.0
ibaAnalyzer-DAT-Extractor Manual Extract Interface for External
Data File Formats
Note
If you require support, indicate the serial number (iba-S/N) of the product.
Contact
Headquarters
iba AG
Koenigswarterstr. 44
90762 Fuerth
Germany
Phone: +49 911 97282-0
Fax: +49 911 97282-33
Email: [email protected]
Contact: Mr Harald Opel
Issue 1.0 33