Omicron Excel
Omicron Excel
2
OMICRON Test Universe Import into Excel 2003
Sample description
This sample shows how TU Data can be easily imported in MS Excel 2003 and how to create custom
reports.
The exported document will contain a State Sequencer with multiple shots used to test an under voltage
relay (between two voltages U1 and U2 that are read from XRIO). The external application reads the
exported result data and shows a report with a graphical representation of the trip time depending on the
voltage.
Sample for exporting Test Data to MS Excel 2003:
We assume an Undervoltage relay with inverse-time tripping characteristic t,trip = f(V) with V <
Vnom (e.g. AREVA PU321 with characteristic set for inverse-time undervoltage tripping)
Set the max. test voltage Vmax and the min. test voltage Vmin as well as the max. expected trip
time tmax in User Parameters section of Test Object
Run test: 10 voltage shots evenly spaced between Vmax and Vmin will be generated in State
Sequencer
Export the Data to XML
Import in Excel or .NET application
Get graphical representation tact = f(Vtest) of the tripping curve in the external application
Note:
1. The naming of the parameters may differ, according to the registry settings (e.g. VL1-E).
2. The sample documents can be found in the Test Library.
3
OMICRON Test Universe Import into Excel 2003
2. About importing
By importing data, you don't have to retype the test result data you want to analyze in Microsoft Excel.
You can automatically update your Excel reports and summaries from the original source because the
data is bound, i.e. the original file stays dynamically linked to the Excel spreadsheet thus updating any
changes in the original file.
4
OMICRON Test Universe Import into Excel 2003
The schema of the XML data file is displayed in the XML Source task pane. You can then drag elements
of the schema to the worksheet to map those elements to the worksheet.
Your XML data file is now bound to this map of the worksheet.
If you are opening an XML data file that does not refer to a schema then Excel will infer the schema of the
XML data file.
In order to place the fields on the worksheet you need to drag and drop them from the XML Source. First
place the fields from the AnalogOutSignal table as in the following picture:
5
OMICRON Test Universe Import into Excel 2003
To see the values of the fields you need to click on the Data menu, then XML and Refresh XML Data.
We need to filter the data in order to view just what we need for the f(VTest). Filter the Name column after
VL1-E:
6
OMICRON Test Universe Import into Excel 2003
Then we need to obtain the amplitude of the voltage only for the Undervoltage state. All odd states are
prefault and all even states are fault states so the values corresponding to the Undervoltage are the ones
having the ProgOrderNumber 2,4,6,…
We will create a column manually bound to these values (using formulas e.g. B70 "=C8"), named
VTestAmplitude and from the SequencerMeasurement table we will add the Tact field and refresh the
XML data.
7
OMICRON Test Universe Import into Excel 2003
7. Set the Chart Title "The tripping characteristic" and the X, Y axis and click Finish.
As mentioned above, these screenshots show the randomly generated OCC Demo-mode results. Testing
a real inverse-time relay should result in a gradually decreasing time-over-voltage characteristic.
8
OMICRON Test Universe Import into Excel 2003
Another way of modifying the data source is by writing a script that after each test run automatically
exports to the XML file. The characteristic with the new data can be updated in Excel by just using
Refresh XML Data or by reopening the excel document.
where the "XMLSample_Excel.XML", is the path to your data export xml document.
6. Save the script by saving the document (Ctrl+S or click File and then Save).
9
OMICRON Test Universe Import into Excel 2003
Support
When you are working with our products we want to provide you with the greatest
possible benefits. If you need any support, we are here to assist you!
Offering our customers outstanding support is one of our top priorities. At our
technical support hotline, you can reach well-educated technicians for all of your
questions. Around the clock – competent and free of charge.
Make use of our 24/7 international technical support hotline: +43 59495 4444.
Additionally, you can find our Service Center or Sales Partner closest to you at
www.omicron.at or www.omicronusa.com.
Browse through the knowledge library and find application notes, conference
papers, articles about daily working experiences, user manuals and much more.
Learn more about your product in one of the training courses offered by the
OMICRON Academy.
OMICRON electronics GmbH, Oberes Ried 1, 6833 Klaus, Austria, +43 59495
10