12-11-2005 11:04 PM
12-12-2005 08:53 AM
If you want a database that includes report options, you might want to look at Microsoft Access. As long as your requirements are fairly small, it will probably work just fine. It includes a tutorial on database design. Access is really a front end to the Jet database and can have reports that you design to include graphs and special queries. NI sells the Database Connectivity toolkit that gives you the ability to read and write to any database. There are also free tools available if you're comfortable with the database query language called SQL.
12-12-2005 10:47 PM
12-13-2005 08:12 AM
First of all, a database stores data. It is not a fancy report generator. Access adds some of those reporting tools and there are numerous add ons that will display data in any format you want. I haven't done it personally, but you can add a Microsoft Chart to an Access report and that may be all that you need. Designing reports in Access is probably a topic for a different forum. You can also use Excel to retrieve data from Access and display it there. I've done that and it's not hard to do. You can write a LabVIEW program to retrieve data from any database and display it. This is all assuming that what you have stored in the database is the raw data. If you are generating graphs/charts in LabVIEW and also want to store the image, you can save the graphs as .png or .jpg files and save those to a table.
I don't understand your statement that you are importing data from a spreadsheet to Access. Unless you have a real need for the spreadsheet file, it's just as easy to write directly to the database.
12-13-2005 10:38 PM
Hi,
How do I write a LabVIEW program to retrieve the raw data from the Access database?
Sammmy
12-14-2005 08:11 AM
You can buy the Database Connectivity Toolkit which has some nice, easy to use, functions for writing to and querying a database. You can donwload LabSQL from http://www.jeffreytravis.com/lost/labsql.html. As does the DCT, this uses ADO (a technology from Microsoft) to communicate with databases. Unlike, the DCT, you basically have to know or learn the database query language called SQL. Using SQL, you would do a SELECT command to retrieve a recordset. Both the DCT and LabSQL work with Access, SQL Server, Oracle, MySQL, etc. With Access, you could also use ActiveX to read/write. Of the three options, this is my least favorite. There have been examples of Access ActiveX posted to this forum.