Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I transfer data from lookout to microsoft sql server 2005/2008?

Ok, if that doesn't work, is there a way to import the national instruments database (datasource) into mysql? I did it using excel and microsoft query and it worked. Thanks for your help in advance.
0 Kudos
Message 11 of 39
(3,999 Views)

The database used by Lookout is quite complicated and is in Microsoft SQL Server format.  The conversion from MS to MySQL is not that good and is not an always running solutions.  

 

You are getting closer to a solution.  If you have MS Office Access or OpenOffice Base you can edit, insert and test your MySQL syntax using ODBC.

 

Mike 

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 12 of 39
(3,993 Views)

So since the national instruments database is in microsoft sql format, can it be opened and viewed in microsoft sql?

0 Kudos
Message 13 of 39
(3,982 Views)

I have one more problem,

 

I don't see the national instruments odbc driver in the data sources administrator under User DSN. Do you know how I can fix this? Could it me because I'm running on windows server?

 

Robert

0 Kudos
Message 14 of 39
(3,978 Views)

Robert,

NI has code examples posted on queries to the Citadel database to get data.

 

To query the Citadel database their should already be a System DSN setup with the database set in the settings of Lookout.  

http://zone.ni.com/devzone/cda/tut/p/id/6668

 

Good luck,

Mike

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 15 of 39
(3,975 Views)

SQL server 2005/2008 has an import/export wizard. Can I just use that to connect to the data source (odbc)?

0 Kudos
Message 16 of 39
(3,973 Views)

Robert,

Maybe we need a few more details on how you want to use the data.  Virtually any data analyzing and reporting can be done using the native database.

 

Mike

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 17 of 39
(3,971 Views)

All I want to do is view the data from the citadel database in sql server 2005/2008 the same way as in microsoft query. Thanks

0 Kudos
Message 18 of 39
(3,969 Views)

OK. Use the link I provided in the previous post it contains all the necessary syntax to query the database from Microsoft Query, Excel Access and other tools.

 

There is no need to send the data to MySQL or another database unless you are doing additional archiving or very specific functions that the Citadel/MS SQL database cannot.

 

If you have a time frame you need to have this accomplished and need more direct help I can provide my services to you, http://scada.forshock.com which you found earlier.

 

Thanks and good luck,

Mike

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 19 of 39
(3,967 Views)

I really need to view it in either sql server or mysql, and the data source is not set up correctly, meaning I cannot see the odbc driver in the data sources administrator. I know that you can import data source in sql server.

0 Kudos
Message 20 of 39
(3,963 Views)