Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Binary to TDM File Conversion Utility

0 ratings | 0.00 out of 5
Print

Downloads

Filename: bintotdm.zip
Requirements: View

The Binary to TDM conversion program reads a simple binary file containing sine waveform data and converts it into the TDM file format. The TDM file format is ideal for data storage because of the following reasons:

-The ability to easily save descriptive information with test data, which makes it conducive for post-test data mining
-Channel groups that provide structure to data (for example, Group 1 = all temperature sensors, Group 2 = all pressure sensors)
-Easy-to-use API that abstracts the low-level file I/O normally associated with saving data
-Useful built-in functions for querying specific pieces of information from a TDM file, and selective loading capabilities

Complete the following steps to run this example program:

1) Open BinToTDM80.vi
2) Click the Run button
3) When prompted, select BinaryFile.dat. The TDM file will be saved to the LabVIEW Data directory under the name TDMfile.tdm. The data will be graphed, and the path to the TDM file will display on the front panel.
4) You also can run Read TDM File.vi or Data Viewer.vi, available from the Example Finder, to read and graph the new TDM file data.

For more information on the benefits of using the TDM files for data storage, please refer to:
http://zone.ni.com/devzone/conceptd.nsf/webmain/8FC230FC9BC4DE478625707B005E6825

Requirements


Filename: bintotdm.zip

Software Requirements


Application Software: LabVIEW Full Development System 8.0
Language(s): LabVIEW

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).