Importing and Exporting Data in LabVIEW SignalExpress
Primary Software: LabVIEW Signal Express>>Development System
Primary Software Version: 2.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem: How do I read data from a file or store data to a file in LabVIEW SignalExpress?
Solution: LabVIEW SignalExpress allows you to read data from a file and store data to files in several ways. There are different methods and file formats depending on how you would like to define your data. The LabVIEW SignalExpress Help describes how to import (load) and export (save) data from different file types:
Importing Data:
- Logged signals from a LabVIEW SignalExpress project :
You can import logged signals into a project from another LabVIEW SignalExpress project file. Select File » Import » Import Logged Signals From Another Project to select a project file from which you want to import logged data. LabVIEW SignalExpress adds all logged data from the specified project into the Logged Data window.
- Logged signals from TDMS files:
You also can import a logged signal from a .tdms file you previously created in LabVIEW SignalExpress. Select File » Import » Import Logged Signals From SignalExpress TDMS Files to navigate to a folder containing LabVIEW SignalExpress .tdms data. Select Current Folder to add the data. LabVIEW SignalExpress adds the .tdms data as a separate log in the Logged Data window.
- ASCII text, .lvm, SPICE, PSpice, and Multisim files:
Use the steps in the "Load/Save Signals" menu to import files into LabVIEW SignalExpress. You can import signals from ASCII text, .lvm, SPICE, PSpice, and Multisim files. After you import data, you can use the data as an input signal for other steps.
Exporting Data:
"You can save or export a signal or value to a file in LabVIEW SignalExpress in the following ways:
- Right-click an output on a step and select Save Value from the shortcut menu to save the signal or value to a text file.
- Right-click an output on a step and select Copy Value from the shortcut menu to copy the data to the clipboard. You can paste the data into Microsoft Excel.
- Open Microsoft Excel and drag the output to an Excel worksheet.
- Use the "Save to ASCII/LVM" step to write signals or values to a text file after a step or series of steps completes execution.
- Use LabVIEW SignalExpress data logging features to create logs of your signals in the .tdms file format.
- Right click a logged signal in the "Logged Data" window and select the Convert to ASCII option to save logged data in the ASCII format.
- Enable the Automatically export log file to ASCII file option in Tools » Options under the "Logging" category. This will export the log file to an ASCII file after the log file's creation.
When you use the Save to ASCII/LVM step, LabVIEW SignalExpress saves signals and values in the LabVIEW measurement data file format, which is a tab-delimited text file you can open with a spreadsheet application or a text-editing application. Refer to the "Specification for the LabVIEW Measurement File (.lvm)" application note for more information about this file format."
Note: Exporting data is not the same as data logging. Data logging is used to record, save and analyze measurements. Exporting data is a means to view logged data in another application like an ASCII text editor, Microsoft Excel, or DIAdem.
Related Links: KnowledgeBase 4MGBOQD4: Exporting LabVIEW SignalExpress Data to One Worksheet in Microsoft ExcelKnowledgeBase 4EE8LLM6: How Do I Get the Timestamp for SignalExpress Generated TDMS File in DIAdem?KnowledgeBase 49884D84: LabVIEW SignalExpresss Save to ASCII/LVM Express VI Always Appends to File in While LoopKnowledgeBase 4CHFOP84: Unable to Clear All Import Signals for "Load from ASCII" Step in LabVIEW SignalExpressKnowledgeBase 4FIBL6SK: Unable to Import TDMS Files Created in LabVIEW into LabVIEW SignalExpressKnowledgeBase 4A68RJ9S: Unable to View LabVIEW SignalExpress Technical Data Management Streaming (TDMS) files in LabVIEW
Attachments:
Report Date: 02/12/2008
Last Updated: 06/30/2008
Document ID: 4IBDB909