Have You Seen Historian Lately?Click here to check out all the new features in the latest version.
Supercharge your GE solution! Download a free trial of Proficy Operations Hub, CSense analytics, and more. Learn more about the Proficy 2022 releases, by signing up for one of our upcoming events.
Import Historian Data Into Excel by Creating a UDL File
About this task
This topic describes how to create a UDL file with connection information and then
import Historian data into Excel using the UDL file. You can also provide the connection
details manually or
using the sample UDL
file.
Procedure
Create a UDL file with connection details:
Create a text document.
We recommend that you use the My Data Sources
folder in the My Documents folder.
Rename the file extension .UDL.
Double-click the .UDL file.
The Data Link Properties window
appears.
Select Provider > Historian OLE DB Provider > Next.
The Connection section appears in the
Data Link Properties window.
Leave these fields empty to use the default server and the currently logged-in
user. Otherwise, do the following:
Enter the name of the Historian server in the Data
Source field.
Clear the Blank Password check box.
Enter a Windows username and password.
Select the Allow Saving Password check box if
applicable.
Select Test Connection to confirm that the data source,
username, and password provide a successful connection, and then select
OK.
The Select Database and Table page appears in the
wizard.
Select Data > Import External Data > Import Data.
The Select Data Source window appears.
Select the .UDL file that you have created, and then
select Open.
The Select Table window appears.
Select the table that you want to query, and then select
OK.
The Import Data window appears.
Note: If you want to
run a SQL command instead of the default table command setting, refer to
Edit SQL Queries in Excel.
Select OK to import the column data from the selected
table.