06-01-2010 01:54 PM - edited 06-01-2010 01:56 PM
The company I work for is getting ready to implement PM reports and dashboards. We would like to know if DataFinder can be queried using SQL or an ODBC link for direct communication between DIAdem/DataFinder and EPM. This would also allow us to access test data for other applications used in our production process.
Is this possible, and if so how? - for now generalities are OK.
06-01-2010
02:08 PM
- last edited on
02-12-2025
11:41 AM
by
Content Cleaner
Hello SDonovan,
The only ways to query the NI DataFinder are:
There is no direct link to the NI DataFinder via SQL or ODBC. It is possible to pass query results from either DIAdem or the LV DF toolkit to third party applications.
Feel free to contact me (call (888) 280-7645 and ask for me) if you have more specific questions. Maybe we can figure this out better if I have a better understanding of your application.
Otmar
06-01-2010 02:28 PM
OoKay,
Is there a way to programmatically pass parameters to DIAdem or LV DF to do the samething? We have a webpage that uses PHP (old version) or ASP.NET (new version) to capture a serial number for the part being tested and I want to be able to pull up the test history (mined from the TDM XML) for that one part. We also want to use pass/fail rates to monitor tester health via an EPM Dashboard (Tripwires at 3 in a row for same step, any 5 in an hour, any 10 in 4 hours)
06-02-2010
07:24 AM
- last edited on
02-12-2025
11:41 AM
by
Content Cleaner
If you are using ASP.NET .. then Measurement Studio can solve the working on TDMS through web pages.. It supports this file format and have TDM Streaming .NET Class Library
othewise use ADO in VBS to fetch the data.. You can use ADO objects for all databases for which an OLE DB driver is available.
Hope it helps
HS
06-02-2010 08:33 AM
Hi SDonovan,
Sure, both LabVIEW and DIAdem have ActiveX Servers you can communicate with from outside compilers. Alternatively you could create a file with a list of commands in it and start either a LabVIEW program or the DIAdem application with a DOS command, with the intention to execute all the commands you'd put in the file.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
06-02-2010 01:06 PM
H Sh,
One of our engineers had been told that DataFinder uses a varient of MySQL for internal data storage. We should be able to use ADO from ASP.NET (C#) to get to this data.
But...
We can see the mysqld processes in the task manager but we don't have a password to login to the MySQL database with.
If we do this we would want a user up that has SELECT permission only so that the data is not corrupted, but to do that we need administrative access to the MySQL Server.
Is there a way to add users to the MySQL database or a way of getting the root password?
Thank you for the help.
06-03-2010 03:04 PM
There are obvious advantages to creating an SQL interface to the datafinder.