260 likes | 442 Views
Documenting LabVIEW Data & Data Mining with LabVIEW and DIAdem. Presentation with self paced training exercises. Presentation Overview. Saving data using LabVIEW Data storage VIs Exercise 1- Using the LabVIEW data storage VIs Mining technical data using LabVIEW and DIAdem
E N D
Documenting LabVIEW Data&Data Mining with LabVIEW and DIAdem Presentation with self paced training exercises
Presentation Overview • Saving data using LabVIEW Data storage VIs • Exercise 1- Using the LabVIEW data storage VIs • Mining technical data using LabVIEW and DIAdem • Exercise 2- Data Mining with LabVIEW and DIAdem
Databases File I/O Choices for LabVIEW Users Complexity Custom Binary & XML Files TDM Files Simple ASCII Files LVM Files End User Beginner Intermediate Advanced
TDM- Intersection of Easy-to-Use and Flexible Complexity Databases Flexible Custom Binary & XML Files TDM Files Easy Simple ASCII Files LVM Files End User Beginner Intermediate Advanced
Looking From the Acquisition Side Business as usual Acquire it Look at it Save it Forget About it
The Challenge Data is often missing key descriptive information necessary to interpret the results properly ? Spending time filling in the gaps Read it Look it
? Problems Compound Preventing the efficient flow of information, creating extra work for all Data Producers Data Consumers ?
Test characteristics: • Test name • Unit • Comments • Maxima, minima • Etc… • Conditions external to the test: • Operator’s name • Date / Time • Location • Temperature of the environment • Etc… Test values The Solution Flexible data storage model improves the efficient flow of information
Comparing Traditional File I/O • National Instruments TDM Files • Combines XML + Binary • Flexible • Small footprint • Easy to create (Complete API) • Easy to extend, customize • Designed for measurement data Evolution of Traditional File I/O
TDM Files XML Header (*.TDM) • Root • Description • Title • Author • etc Binary (*.TDX) • Group • Name • Description • etc. • Channel • Name • Comment • Unit • Max & Min • etc Channels Groups
LabVIEW Storage VIs Write TDM Files Combining the flexibilityand structuring of XML together with the compactness that Binary files offer • Capable of storing: • Analog waveforms • 1D arrays of numeric values, strings, time stamps • DAQmx waveform attributes • Additional user defined properties
TDM file Exercise 1: Storage VIs Demo Read data Acquire & Write data LabVIEW Data Viewer
Where is Your Test Data? ? ? ? ? ? ? • Can you easily locate test data that you need to work with? • Do you know what tests your coworkers have run? ? ? ? “Data Chaos”
What are the Relationships in Your Data? • What happened in tests with similar conditions? • Was there a test run with these specific conditions? • What tests were run last week? “Data Mining”
What do the Analyzed Results Look Like? f(x) “Data Analysis and Report Generation” • Are you analyzing and reporting results consistently? • Is reporting test results is tedious, boring and time intensive?
f(x) Solution Overview Storing Mining Analyzing
The First Step to Data Mining, is Creating a Data Index Data Index • Data Indexing • Consolidates all descriptive information into a searchable table • Automatically sweeps descriptive properties into the Data Index • Data Index contains links to original data file path & location • In this solution the actual data is not saved in the Data Index
Example LabVIEW Application for Data Mining Datamine • Self configuring data mining example application built in LabVIEW . • Get both the source code and EXE • Does not require MS Access to run
Features of Example data mining Application • Self configuring, data mining application that provides advanced searching on your test data • Automatically imports all meta information from TDM files and all files supported by a DataPlugin* into a self configuring data management system • Automatically updates Data Index as new data files become available Hey, I found a new data file! *see ni.com/dataplugins
Exercise 2: Data Mining using LabVIEW and DIAdem Find all the tests where….. “Data Mining”
Exercise 2 set up Distortion & Linearity Test • Demo Set Up • Characterizing op amps • Testing generates 100’s of datasets • Looking to characterize offset voltages • Searching for chips with very specific operational parameters • Comparing and analyzing data posttest
Additional Information • Please contact Tom.Ferraro@ni.com (512-683-6841) for additional information regarding this presentation. • www.ni.com/diadem