Storing and Retrieving Data
A few years ago, a colleague and I looked at all of the ways in LabVIEW you can store and retrieve data. The list was not only large but it was a bit embarrassing how incompatible all of the methods were. For exampleMechanisms for performing data capture
- Print VI front panel, at completion or manually triggered
- Generate screenshot of VI manually and paste into report
- Log at completion, Use the front panel playback feature
- Log at completion and use the "enable database access" function to retrieve the data
- Generate report from front panel using reporting toolkit
- Ascii Files - write to spreadsheet file
- Binary file - write binary array to file
- Load/Store XML file
- Datalog File - write and read cluster using file primitives
- Database Toolkit
- DataSocket to File
- LabVIEW DSC Module
- LabVIEW Express File Storage VI
- You can open LabVIEW data files (the LabVIEW "measurement file format") in DIAdem. It's a configuration based program that lets you retrieve and manipulate data sets. No more writing a program just to get your data back
- The LabVIEW Data storage VIs. The object of these VIs was to allow structured data to be stored in multiple different representations. The data could be stored in a measurement file, a DIAdem file, or ASAM-ODS databases. And again, the data could be read from DIAdem without writing a program to do it.
Hopefully, this will give you leg up when you try and implement an application that reads and stores technical data. One day, I'd love to see you have a virtual notebook. Something you can use to store random bits of data but still be able to retrieve it and query it. Find all of the runs of data that gave you the answer "5". Ah, someday...
0 Comments:
Post a Comment
<< Home