Logging Continuous Data to Multiple Files in LabVIEW SignalExpress Primary Software: LabVIEW Signal Express>>Development SystemPrimary Software Version: 2.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I am recording data for a long period of time in LabVIEW SignalExpress. I want to protect against all my data being lost in the case of a power failure or a system crash. Is there a way to log my data continuously, but have it be saved in a series of files? Solution: There are two ways to do this with LabVIEW SignalExpress. You can do it by manipulating your recording options, or by having a step that saves the data for you. Manipulating the recording options gives you the ability to save the data as a TDMS file and is the best solution for recording larger amounts of data. Figure 1 shows the recording options being manipulated simply to save the file every ten seconds.
Figure 1: Manipulating Log Recording Options
The other option is to have a LabVIEW SignalExpress project that includes the Save to ASCII step. This step is called every iteration of the program and can be used to write a new file every time through. The main challenge with this solution is storing an ASCII file, which takes up much more space per data point than a TDMS file. Figure 2 shows the Save to ASCII step.
Figure 2: Save to ASCII Step Related Links: KnowledgeBase 4749D2UK LabVIEW SignalExpress 2.0 Known Issues KnowledgeBase 47T8OQ84: Optimizing LabVIEW SignalExpress for High Speed or High Channel Count Logging Attachments:
Report Date: 02/28/2007 Last Updated: 09/05/2008 Document ID: 46RIGRT7 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||


