FTView SE v8.1 setting up ODBC for datalog

KristienP

Member
Join Date
Jan 2015
Location
Nova Scotia
Posts
44
Hi All,

I have a client looking to be able to query logged data from FactoryTalk SE into Excel for internal reporting. The application hasn't been setup yet, but this is a requirement.

It appears I need to setup the Data Logs in FTView SE to write to ODBC instead of File Set. The issue is... I have no idea how to configure an ODBC server, or even what software I require. In the last 8 years I've been programming, this has never come up before, somehow.

There is a knowledgebase article (29789) on querying data, but not on how to setup the ODBC server.

I'm fairly lost, and could really use some direction.Thanks!
 
So do you know if they have a SQL Server database available? Ideally you would log data to a database like this. Which database they are using is information you would need to know.

OG
 
Well, you'll have SQL in order to make SE work. Required component.

Now, it will be the express version probably, but no reason you can't use that to test the waters.
 
In VBA you can connect to SQL without needing to mess with ODBC. Something like this:
Public Const strCnn As String = "Provider=SQLOLEDB;Data Source=SQLSERVERNAME;Initial Catalog=DATABASENAME;UID=USERID;PWD=PASSWORD;"

PS. This works with the free SQL desktop version as well.
 
Thank You!! That is exactly what I needed to see. I figured it wasn't too complicated, I just didn't know where to begin.
His followup article on creating an SQL database is helpful too, because his example uses the TagDB that is setup by default. RA Tech Notes say NOT to use that for Data Logging in several places.
 

Similar Topics

I've been messing around with trying to find a way to clear all PlantPAx AOI latched alarms via the Alarm Banner or Summary objects. So far, I can...
Replies
2
Views
1,735
Let me start by saying Im totally new to VMWare, but it has now moved out of IT's realm of control and into mine... Our plant runs 5 different...
Replies
11
Views
3,248
Is there a way or how can I set a parameter value in Factory talk ME. Basically, I'm accessing a UDT with #1#2.TagValue and would like to set it...
Replies
1
Views
1,171
Hello Experts, I planned to write those tags via panel view plus and is it possible to set Bulit-in Alarms Configuration of Analogue input via...
Replies
6
Views
2,971
I am creating a global object in FTView SE 13. I want to have a string read from the PLC and display (in this case the tagname). So lets say...
Replies
4
Views
167
Back
Top Bottom