03-06-2007 08:02 PM
03-06-2007 08:38 PM
Imho, you'd be better off writing to a database and for that many clients, a real database like SQL Servier, MySQL, or Oracle. You could use the Database Connectivity Toolkit or LabSQL from http://www.jeffreytravis.com/lost/labsql.html. The toolkit provides a lot of functions that isolate you from learning the database programming language called SQL.
If you use an actual database, the client does not have to be written in LabVIEW. Data can be viewed with Access, Excel, and a host of web based apps.
03-07-2007
11:19 AM
- last edited on
01-28-2025
09:51 AM
by
Content Cleaner
Greetings.
The LabVIEW DSC Module sounds like an excellent solution to this problem. In particular, DSC includes the Citadel database. To use it, you simply enable datalogging on LabVIEW shared variables connected to the FieldPoint items you want to log. The live and historical data will be available over the network to any client using the DSC RTS. DSC includes a historical data viewer component that allows you to view and export data from local or remote databases.
An alternative would be to write your own logger and viewer appliations that periodically writes variable values to an SQL database using the Database Connectivity Toolkit. You could write client applications to retrieve data from this database and display the data.
03-07-2007 08:56 PM
03-08-2007
09:07 AM
- last edited on
01-28-2025
09:53 AM
by
Content Cleaner
Hi Jesse,
The Citadel database is not a relational database. It's highly optimized for storing lower-rate (non-waveform) channel-by-channel, or "trace" measurement data. Another option you can consider is using DSC and Citadel on the server then writing a utility to export the data from Citdael to an SQL database. --That would solve the problem of having to write a logger application from scratch. You would only have to write the relatively simple application to export the data from Citadel and import it into a relational database.
You could accomplish this two ways. First, DSC includes a set of VIs that will retrieve historical data from Ciatdel. You could use LabVIEW to parse this data and write it to a table in a relational database. Second, Citadel actually includes a locally accessible ODBC interface. (You can query Citadel using an SQL query from the local computer). You could query Citadel using this interface, then write the result to a table in a relational database.
To view Citadel in its native format or query a Citadel database using ODBC from a remote comptuer that comptuer would need to have a licensed DSC RTS installed.
03-08-2007 06:56 PM