Signal Express Large TDMS File Recording Error

Hello,
I have the following application and I am looking for some tips on the best way to approach the problem with Signal Express:
I am attempting to using Signal Express 2009 (Sound and Vibration Assistant) to collect random vibration data on three channels over an extended period of time -- about 20 hours total.  My sample rate is 2kHz.  Sampling at that rate over that period of time invovles the creation of a very large TDMS file, which is intended for various types of analysis in signal express later or some other application later on.  One of the analysis functions to be done is a PSD (Power Spectral Density) plot to determine the vibration levels distributed over a band of frequencies during the log. 
My original solution was to collect a single large TDMS file.  I did this with Signal Express recording options configured to save and restart "in current log" after 1 hour worth of data is collected.  I configured it this way because if there is a crash/sudden loss of power during data collection, I wanted to ensure that only up to an hours worth of data would be lost.  I tested this option and the integrity of the file after a crash by killing the SignalExpress process in the middle of recording the large TDMS file (after a few save log file conditions had been met).  Unfortunately, when I restart signal express and try to load the log file data in playback mode an error indicating "TDMS Data Corrupt" (or similiar) is displayed.  My TDMS file is large, so it obviously contains some data; however, Signal Express does not index its time and I can not view the data within the file.  The .tdms_index file is also present but the meta data.txt file is not generated.  Is there any way to insure that I will have at least partially valid data that can be processed from a single TDMS file in the event of a crash during mid-logging?   I don't have too much experience dealing with random vibration data, so are there any tips for generating vibration level PSD curves for large files over such a long time length?
My solution to this problem thusfar has been to log the data to seperate .TDMS files, about an hour in length each.  This should result in about 20 files in my final application.  Since I want to take a PSD, which ends up being a statistical average over the whole time period. I plan on generating a curve for each of these files and averaging all 20 of them together to get the overall vibration PSD curve for the 20 hour time period.

JMat,
Based on the description of your application, I would recommend writing the data to a "new log" every hour (or more often). Based on some of my testing, if you use "current log" and S&V Assistant crashes, the entire TDMS file will be corrupted. This seems consistent with what you're seeing.
It would be good if you could clarify why you're hoping to use "current log" instead of "new log". I'll assume an answer so I can provide a few more details in this response. I assume it's because you want to be able to perform the PSD over the entire logged file (all 20 hours). And the easiest way to do that is if all 20 hours are recorded in a continuous file. If this is the case, then we can still help you accomplish the desired outcome, but also ensure that you don't lose data if the system crashes at some point during the monitoring.
If you use "new log" for your logging configuration, you'll end up having 20 TDMS files when the run is complete. If the system crashes, any files that are already done writing will not be corrupted (I tested this). All you need to do is concatenate the files to make a single one. If this would work for you, we can talk about various solutions we can provide to accomplish this task. Let me know.
Now there is one thing I want to bring to your attention about logging multiple files from SignalExpress, whether you use "current log' or "new log". The Windows OS is not deterministic. Meaning that it cannot guarantee how long it takes for an operation to complete. For your particular application, this basically means that between log files there will be some short gap in time that the data is not being saved to disk. Based on my testing, it looks like this time could be between 1-3 seconds. This time depends heavily on how many other applications Windows has running at the same time.
So when you concatenate the signals, you can choose to concatenate them "absolutely", meaning there will be a 1-3 second gap between the different waveforms recorded. Or you can concatenate them to assume there is no time gap between logs, resulting in a pseudo-continuous waveform (it looks continuous to you and the analysis routine).
If neither of these options are suitable, let me know.
Thanks, Jared 

Similar Messages

  • How do I open/view Signal Express Data .tdms files? (Absolutely Brand New User!)

    Hi everyone,
    I've inherited this data recording software from a previous engineer and tried it out for the first time the other week. Mind you I have no manuals or help really here, so bear with me that this is probably a very basic question.
    I had a set-up using the Labview Signal Express ver.2.5 and NI-USB-6008 monitoring two voltages. I currently want to see the playback of the .tdms files which are located in my C:\Documents and Settings\TechSupport\My Documents\SignalExpress Data\08042009_015232_PM folder (3 files, voltage.tdms, voltage.tdms_index, and voltage_meta). I opened LabVIEW Signal Express and clicked "File", "Import", "Logged Signals From SignalExpress TDMS Files", and go to select the "voltage.tdms" file, but receive the error of "You cannot choose this folder name; a file of that name already exists".
    Does anyone know what I'm doing wrong?
    Thanks for any and all help (and let the sarcastic comments begin )

    Sometimes, selecting current folder instead of open is a valid workaround. 
    Also, can you identify the program responsible for creating the log data? Are you able to view this data using another progarm like LabVIEW or DIAdem?
    Regards,
    Glenn
    Regards,
    Glenn

  • Write to measurement file Express VI - TDMS file has separate "channels" for each data point

    Im trying to write a VI to measure and record thermocouple data from an Advantech T/C DAQ. Using the "DAQNavi" express VI provided by them, connected to the Write to Measurement File express VI, I have managed to read in the data and create a TDMS file. However, when I open the TDMS file, each time step of temperature data is entered as a separate channel, instead of all of the channel data going into one tab. Obviously this is a huge problem as it creates hundreds of tabs after just a few seconds. Any thoughts as to what causes this?

    Hi glibby,
    How did you configure the Write to Measurement Express VI? Please select "one header only".
    If you have your own timestamps to write, please merge your timestamp channel and measurement channels with "Merge Signals" before passing them to the Write to Measurement.
    Best Regards,
    Mavis

  • Opening large tdms files in excel takes forever, can anything be done?

    After recording some daq channels for 4 hours my file is 120mb large, with about 20columns of data and 150k rows. Opening this in excel takes at least 5min, several not responding screen fades, and growing fear that all my data is impossible to get to.
    What can I do about this? Is there a split tdms file option I can use or a way to speed up excel maybe?
    Solved!
    Go to Solution.

    The solution is to not make the TDMS files so large. Perhaps modify the code so it starts a new file every 1/2 hour or something. Could you post a screen shot of the part of the code that is doing the saving?
    Something that just occurred to me is that the TDMS file format is optimized for writing - not reading so stuff is just sort of streamed into the file with an index keeping straight what goes with what. The results is a file where the data from individual channels can be very fragmented, like parts of a file on a hard drive. I think there is a routine for defraging a TDMS file. Alternately, you could save the data in a temporary file (not necessarily TDMS) and resave it to the final TDMS file after all the data is collected.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • TDMS File Move Error

    Hello,
    I need some help to make work this process with a TDMS file:
    1) I choose a TDMS file with the function FileNameGet.
    2) Use the DataFileLoad function, loading this TDMS file into my Data Portal
    3) After some process, I save my data in another folder with another name as a TDMS File (DataFileSave)
    4) Now, I want to remove the previous file from the initial folder, I tried to functions FileMove and DataFileDelete, all of them give me the following error
    It's clear to me that DIAdem is holding some link with the initial file and it's blocking the operation of moving or delete it. I thought when I saved my Data Portal as another file, this would be realeased, but did not happen...
    What variable should I clean to make this task with sucess.
    Thanks

    Hello,
    yes you can use the commands  BulkDataLoadingMode = 24210 or better BulkDataLoadingMode = eBulkDataLoadingImmediately to change the loading option. But this will set the loading option for the whole DIAdem session, not only for the execution of the script. Therefore you should set the option back to the original value like  eBulkDataLoadingOnWriteAccess at the end of your script.
    But in most cases the loading performance of big TDMS files will be better when using the loading option "Load bulk data on modification of channel data".
    Perhaps also try the commands DataFileMove or DataFileDelete. These commands will also work in combination with the loading option "Load bulk data on modification of channel data" without throwing an error. The benefit is, that you need not change the loading option. If it won't work, please add the diadem version number to your answer.
    Best Regards       

  • Deploy  large war file (131M) error

    hi,
    I want to depoly an war (131M) application to oracle 10g application server (9.04),when I deploy to server use this command :dcmctl deployapplication -f ../myapp.war -a my aaa -rc /myapp, error occurred as below:
    ADMN-705003
    评估阶段失败。这可能是由于评估中使用的适配器的异常错误造成的。
    基本异常错误::
    java.lang.OutOfMemoryError:null
    请致电 Oracle 技术支持。
    java.lang.OutOfMemoryError
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_R
    EMOTE_SERVER(RMIConnection.java:1527)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java
    :1480)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocati
    onHandler.java:55)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Rec
    overableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingle
    Instance(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unkn
    own Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown
    Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvalua
    teDeploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate
    (Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
    at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    I have modified dcmctl as
    if %found%==true %ex% -jar -Xms256M -Xmx1024M %jarpath% %cmdString%
    if %found%==false %ex% -jar -Xms256M -Xmx1024M %jarpath% %cmdString% -o %ohome%
    these are the last two lines in the dcmctl.bat file.
    I search on metalink and found this document:
    Subject: On Deploying an EAR file You Receive Errors: ADM-705003 and/or Memory Errors
    Doc ID: Note:290662.1 Type: PROBLEM
    Last Revision Date: 26-NOV-2004 Status: MODERATED
    The information in this document applies to:
    Web Services - Version: 9.0.4
    Oracle Containers for J2EE - Version: 9.0.0.0 to 10.10.10
    This problem can occur on any platform.
    j2ee deployments (WAR, EAR files) using dcmctl or dcmservlet
    Symptoms
    On deploying an EAR file, get this error on the server:
    ADMN-705003 and / or this error on server or client:
    java.lang.OutOfMemoryError
    Cause
    Too large EAR file
    Fix
    -- use compression in creating the archive
    NOTE: in jDeveloper, the default is not-to-compress. See the checkbox under the Options page of the deployment profile's Properties
    (right-cleck deployment profile icon, select Properties then find the Options page)
    - if error from client, increase jDeveloper deployment-client heap size:
    (right-cleck deployment profile icon, select Properties then find the Options page)
    - if error from server, increase iAS deployment-server heap size
    In EMWebsite for the target OC4J Node, select Server Properties and Java Options
    set to e.g., -XmX512M for 512M
    References
    Note 223063.1 - Installing 9iAS Fails While Deploying OC4J Applications With No space left on device Error
    but when I edit java Options any content,oc4j home instance can't startup,how can i do ?
    thank you very much
    lixinzhu

    Hi Li,
    You can have two parallel installations of Application Server, which I would strongly recommend. One instance of 10.1.2.0.2 (upgraded to 10.1.2.2) for Forms and Reports (and maybe Portal, Discoverer etc too), and one instance of 10.1.3.2 for your J2EE code.
    If you have multiple servers, then you can cluster those OC4J's, which is great. If you have two servers, you can as well have one for 10.1.2 and one for 10.1.3 making better performance over all. However, there's no problem having both 10.1.2 and 10.1.3 on the same server.
    The 10.1.3 server can use the Web Cache (as well as Apache) from the 10.1.2 server.
    Regards,
    Martin

  • Analyzing large TDMS files

    I am developing an application that will measure an AC voltage at 100KHz for 4 hours. I need to calculate the voltage and frequency drift during 30 second intervals. My plan is to parse the data into small chunks (typically 1 second), calculate the RMS voltage and frequency, and determine the magnitude of drift that may be occurring. I have been able to collect data during short time intervals and analyzed it with the Tone Measurement VI and  RMS VI, but am not sure how to break up large data files into smaller chunks for analysis and store the results.

    When you read a TDMS file, you can specify how many samples to read and where to start reading from.  All you need to do is read the data in chunks and process each chunk individually.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Break large TDMS file into small files

    hello all
    My TDMS file is around 3g, and needs changed into around 10M size files. 
    I ran McRorie's splitFiles.vi ‏15 KB in this page.  and set the number of samples per file as 5000000, however, I cannot get the results I need. every small file is only 1KB, and no data inside. What is the possible problem in this?
    Also, I tried to write a vi based on sample vi(Read TDMS File) by adding one "write to measurement file.vi". However, when I set the small file size as 10M Byte inside the"write to measurement file.vi", the first file could be around 20M, and the next few files may be correct as 10M, and then it just stop splitting, edding with a file even much larger than original file. I uploaded my vi here, maybe someone  can help to find some mistake for me. 
    Thanks very much!
    Wuwei Mao
    Solved!
    Go to Solution.
    Attachments:
    Read TDMS File.vi ‏54 KB

    Hi Wuwei,
    After giving the correct data type to TDMS Read node in splitFiles.vi, it works as expected. ( See the attached two VIs: createFile.vi and the modified splitFiles.vi)
    Because I don't know how you created your TDMS file, I write a new 3G bytes TDMS file, which has one group and one channel. The data type of samples is unsigned 16-bit Integer. The total number of samples is 1610612736. Then I set the number of samples per file to 5000000 as you did. So after splitting, each file size is 5000000*(16/8) bytes (around 10M bytes).
    Please make sure the followed steps have been done before you run the splitFiles.vi:
    1. The TDMS file will be split has been put on the proper path;
    2. The correct group and channel names have been given;
    3. The correct data type to TDMS Read node has been given.
    Because your second option using "write to measurement file.vi" to split TDMS file will lose some information, such as group and channel names. So I suggest using the method used by splitFiles.vi to accomplish your goal.
    Jie Zheng
    NI R&D

  • Attempt to Open or Create TDMS file gives error -2501

    This is an odd one:
    I don't know what's causing this, but when trying to open or create a tdms file I'm getting the -2501 error. The file name I'm using worked before, but if i hit the stop button, I can no longer use that file name. If I change one letter in the file name it works fine until I stop the program from running, and then I start getting the error again. 
    Speaks is Perplexed

    Speaks wrote:
    how do I upload to it? 
    Copy that address in to your Windows explorer and it will show up like a normal folder directory would.
    Edit: I dropped my own random file in there to test it out and it uploaded... but now I can't delete it or open it. Sorry for taking up your server space, NI! 

  • Analyzing large TDMS files in time invervals

    We have TMDS files that are several hours long (sampled at 1024 S/s).
    We would like to measure the number of zero crossings and peaks in blocks one second long over the entire recording.  I can see that FFT has a Time Interval function, but I don't see any function of this nature for statistics. 
    As an additional "nice" to have we would like to have these blocks overlapping 75%.
    Carsten Thomsen

    Hi Carsten,
    Are you wanting to convert a Tachometer pulse to a Revolutions channel?  If so, I have a VBScript I can send you.  If not, what do you do with the number of zero crossings and peaks?  Are you counting just negative peaks/zero crossings, just positive peaks/zero crossings, or both?  How do you define a peak?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Why can I only import one TDMS signal at a time in Signal Express?

    I have dozens of data files which were originally recorded as LabVIEW waveform files.  I converted them all to TDMS in LabVIEW in hopes that I could import them to Signal Express (with the S&V Suite) for further processing.  Each data file contains more than 20 channels.
    When I try to import them to SE, I am unable to import the entire group.  Instead, I am limited to one channel at a time.  This would take days to import all channels, and is not what I want at all.  Is there some way to import an entire group of channels at once?
    JR

    I was using the "Logged Signals from LabVIEW TDMS file" import; perhaps I had installed it on SE 2.5 before upgrading to 3.0.  Regardless, I downloaded the ZIP file, and ran the msi with the "Repair" function.  This did not change the functionality.  I then used your suggestion, and redigitized one of the files with the Express VI set for TDMS.  Same deal, although instead of the channel names I had been able to specify using the TDMS subVIs, now it lists them all as "Voltage_x", where x is a channel number beginning with 0.
    I've attached two images as examples of what I'm experiencing.  The first (temp1.JPG) shows where I've tried to select the entire group.  You can see that "Convert File" is not enabled, and the sample information has not been read.  The second image (temp2.JPG) shows where I've selected a channel.  I am only able to select one channel, not a range.  The "Convert File" button is now enabled, and sample information is correctly displayed.
    Attachments:
    temp1.JPG ‏57 KB
    temp2.JPG ‏57 KB

  • How to compare signals from two different .tdms files?

    i'm developing a lie detection system in labview.so inorder for that i need to compare the threshold physiological signals from the .tdms file with the signals i acquire continuelsy from the subject for each question asked.i use respiration monitor and heart beat monitor together with the sensorDAQ to acuire the physiological signals.so which are the function i should make use of?i have the following toolkits
    1. advanced signal processing toolkit
    2. adaptive filter toolkit
    3. digital filter design toolkit
    4. biomedical toolkit
    please give me advise on this.
    thank you.
    Solved!
    Go to Solution.

    Lie detector systems (polygraphs) generally work by looking at the physiological responses to the own subjects baseline, and do this in real-time.  You could use a file that represents the stored "baseline" for the subject, but the overall environment, circumstances, general state of the subject, etc. may not be similar enough to easily see subtle changes.
    From the stored file, you might determine a set of parameters or thresholds that indicate "normal, relaxed" for each signal.  You could read the file into your LabVIEW program, process each channel, and save these parameters.  Then when you have the new data, you can read the new data file in and process it in a similar way and then determine whether the parameters are outside the limits that you established for a "lie".
    You may get more responses to this question if posted in the Biomedical User Group
    Visit the NI Biomedical User Group at:
    www.ni.com/biomedusers

  • Problem viewing data after import TDMS file

    Environment SignalExpress 3.0. Windows XP.
    I have a number of logs created and saved in a SignalExpress 3.0 project. I'm trying to import a single log into a new project and view the data in a data view window.
    So I do:
    Open SignalExpress
    File->Import->Logged Signal from SignalExpress TDMS files
    Navigate to the log folder named - "25062009_135820_-_Nano_Carbon_Pyrograf_T1"
    Double click the tdms file named - "Voltage.tdms"
    I see the following tree structure in the Logs pane :
    Logs
        - 25/06/2009 13:58:20
            - Nano Carbon Pyrograf T1
                - Voltage - Dev3_ai0.
    If I then try to drag Voltage - Dev3_ai0 onto a data view it doesn't work.
    I've inspected the original project which I used to create the log  tried to import above. Comparing the tree structure it looks:
    Logs
        - 25/06/2009 13:58:20 - Nano Carbon Pyrograf T1
            - Voltage
                - Dev3_ai0
    In this project I can drag Dev3_ai0 onto a data view with no problem.
    Notice the difference in tree structure in the Logs pane? I'm pretty sure SignalExpress is parsing the log wrongly when it imports it!
    Mike

    Hi Mike
    I know that we have communicated over email but I just wanted to respond here so others can see the workaround.
    I have investigated the issue and have been able to reproduce the issue, even in Signal Express 2009. The problem is caused by the name you specify for the log when you begin recording. If the character "-" is present at any point in the name of the log, Signal Express does not import the tdms file correctly. This is not an issue with the tdms file, as it opens fine with LabVIEW, but must be an issue with Signal Express. I have reported this as bug under reference #182846. For now, you should not use the "-" character in the name of your log.
    Regards
    Rich
    NI | UK

  • How can I read in a TDMS file into Sound and Vibration Assistant

    I have recorded a signal from 2 channels from a PXI 4496 DAQ card. I recorded this signal with the TDMS file format from a VI in Labview. I would like to import these signals into the Sound and Vibration Assistant for freq. analysis. In sound and vibration assistant there is an import logged tdms from signal express but I can not seem to import my original signal?  How can I import this data? 

    Hello All,
    I am trying to read TDMS file using LABVIEW. The TDMS file is created by me for reading data from one wire devices.
    I have created simple vi. attached below which read data from TDMS file. I am able to read other tdms files, I have with this program but not which one created by me. I am not able to attach file with .tdms exentiont. So I have attached it with .xlsx extention. Can anyone please guide me where is the problem in TDMS file? Am I missing anything while creating it?
    Thanks
    Attachments:
    EditTDMS (1).vi ‏14 KB
    data.xlsx ‏17 KB

  • Read multiple tdms files

    Two questions:
    1) how can i rename the different signals in the tdms file? Now they are names "untitled x". I am looking for an elegant solution, because i record about 200 different Signals.
    2) Is there an "easy way"  to select, read and concatenate multiple TDMS files to show them in a graph?

    I had a similar goal with grouping plots and  rearranging them on the X-axis, so I put together this pretty quickly to search a range of TDMS files for a specific channel, should be able to adapt it pretty easy to suit your needs, once you manage to rename your channels.
    Attachments:
    Record Grouping.vi ‏48 KB

Maybe you are looking for

  • How do I delete payment information from my Apple ID

    I know that in the previous versions you were able to just click on the box that said none and that would be it, but, in the newest version I cannot delete my payment information. I am asking this, because my brother put a Visa gift card on my accoun

  • ICal and CalDAV: Added items in sunbird do not appear in iCal

    Hello, I hope the question fits the forum and has not yet been answered. Sorry if it is the case. Anyway, here is my problem. I have this CalDAV account that I want to use both on my mac using iCal and at the office using sunbird (computer on linux).

  • Album not available in iTunes or Google

    I'm trying to find a download or CD of 1967 "I'LL BE HOME FOR CHRISTMAS" by "THE LIVING TRIO".  It appears to be widely available on vinyl, but no download or CD.  GrooveShark has a good copy, but only for streaming.  I can't find it on Google or iTu

  • Query on a table with indexed date field

    I have a table with a date column which is indexed. If I run a query like "select column1 where date_field='20-JAN-04' for example it is fast and uses index. If I run select column1 where date < '20-JAN-04' it is slow and doesnt use the index. I logg

  • Connecting via iSQLPLUS in 10G 10.2.0.1.0 environment

    Hello all: I have just instaleled 10G 10.2 on my windows server. I am trying to connect as SYSTEM or any other user via web link http://it_b.hut.com:5560/isqlplus/, I can see the workspace window, however when I try to run any SQL statement, I am get