Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Appending Data to the Same File when Logging in LabVIEW SignalExpress



Primary Software:
Primary Software Version: 3.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am trying to acquire my signals using LabVIEW SignalExpress and log the data to a file. However, every time I run my project, a new data file is created. I have written an external code which looks for a specific file and would like to keep appending my data to the same file. How can I configure LabVIEW SignalExpress to append data to my data file?

Solution:
LabVIEW SignalExpress allows you to save all of your data to the same file. However, you may need to go through and reorganize the data, because you will not be able to control columns or rows. The key is to save the data, not the logs. The following steps will explain how this can be done.
  1. After the step where the data is collected, right click and navigate to Load/Save Signals»Analog (or Digital) Signal»Save to ASCII/LVM



  2. In the File settings tab,choose an export file path to a text file. Choose Append to file to avoid making multiple text files for each data point. Choose Generic ASCII (.txt). In the X values, choose One column per channel.  

  3. In the Signals tab, add all the signals you would like to write to file.



  4. Add another step in the process to analyze your data.
  5. After the analysis, repeat steps 2 & 3. Make sure to choose the same file path. The data will be saved to the same file, but will later need to be organized within that file.


Related Links:
Knowlege Base 46RIGRT7: Logging Continuous Data to Multiple Files in LabVIEW SignalExpress

Attachments:





Report Date: 05/02/2007
Last Updated: 01/15/2010
Document ID: 491D0F49

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit