Concatenate with DIAdem TDMS files, depending on the time

This question is in French and English.

Hello

I'm trying to find a way to concatenate/merge several files TDMS analog measurements with DIAdem 2012, in order to have more than one file. I be provided with attachment 1.

I am beginner in DIAdem and don't know not the language of the script code. En 986KO on this forum, I found the script 'Import data from several Files.VBS use', and changed lines 17 and 18 not 'csv' by replacing "tdms" (as it was stated on another topic on the forum). This script also appealed to "concatenate groups."

The problem is that the TDMS files contain several groups (the slots on frame of measures Canada) each containing several different channels. This script concatenates so each group and the result makes more sense the script to modifier is certainly "CONCATENATE Groups", but in what way?

Thank you

Olivier

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I'm trying to find a way to concatenate/merge several files TDMS analog measurements with DIAdem 2012, in order to have at the end only one file. You can find these files with my mail 1.

I am a beginner in tiara and do not know the language of the script code.

By searching on this forum, I found the script 'Import data from several Files.VBS use' and changed lines 17 and 18, replacing 'csv' by "tdms" (as demonstrated in another topic on the forum). This script also uses "groups of concatenate.
The problem is that the TDMS files contain several groups (pointing to the slots on the frame measurements), each containing several different channels. If this script concatenates each group and the result is meaningless. I think the script that needs to be changed is "CONCATENATE Groups", but how?

Thank you

Olivier

Hi Oliver,.

Try to run the script you downloaded once for each group and encodinng group to load in the assignment of "ChannelSet" in line 10 using the index group, like this:

ChannelSet = "[1] / *" or ChannelSet = "[2] / *".

I just found out that this example breaks in 2014 DIAdem because the 'DataFileHeaderAccess' command has been relegated and replaced by a new.  I need update soon.

Brad Turpin

Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

  • DateTime file back at the time UNIX

    I have some old pictures I scanned and sets the file date time via the touch control to a date earlier than the time UNIX (January 1, 1970). It works, but only for a period of time, when the file returns to the time UNIX. As I understand it, HFS + supports the beaches of dates January 1, 1904 - February 6, 2040, and touch not to complaint using the date, so I'm surprised by the behavior.

    Here is an example:

    $ touch t 194310010000 testfile

    $ ls-l testfile

    -rw - r - r - 1 personal bnixon 0 1 October 1943 testfile

    After a certain period of time (I've not been able to determine a model)

    $ ls-l testfile

    -rw - r - r - 1 bnixon personal 0 31 December 1969 testfile

    Note that I am in the Central time zone, December 31, 1969 makes sense once the time zone is applied to the date/time UTC of January 1, 1970 00:00:00.

    Any thoughts on what could be the cause and how to prevent? Or are the date before the time UNIX not supported? I ran the disk first aid, and there are no errors.

    OSX is a UNIX certified 2003 operating system and UNIX systems hate dates wrong files before the DAYS of UNIX itself. Therefore, the operating system is saying that it does not include the date of your imposed file and puts it at the TIME, the first valid date in UNIX.

    You will need to either organize your photos in the dated folder names (e.g., 1943), incorporate the photo date in the name of your file, or as a comment via Get Info Finder, whenever the date is outside the valid range of UNIX data. You can then specify the Finder, for example, to show you all the images in 1943, where this date is in the name of the folder, name of file or comments.

  • Extract strings in the tdms files and write the strings in the file txt or lvm

    Hi all

    I'm struggling to extract strings from a file of tdms to write them in a txt file.

    The strings were written in tdms is a time stamp data recorded to a compact RIO.

    I put the chain in a different group from the PDM, but when I use the function read tdms with the group name, as I said, an error message is always take place.

    Thanks for all the help.

    PS: I have attached an example of tdms file I got over here.

    Kind regards

    Yifeng

    I tried your attached file and it seems that everything goes file. I have attached the screenshot of my VI here, what do you want?

  • Open several files depending on the size of Trim

    Hi all

    Please help for my application, this should be very urgent.

    Request:

    1. selection of a user folder

    2. open all files

    3. recover the Trim size (width of paper) + name of the Document

    4. set the width of the Document (lower to higher)

    5. yet once open the files according to the minimum width of document

    Try the Script:

    #target Indesign
    
    var  myFolder = Folder.selectDialog("Select the Folder contains Indesign Files");
    var myFiles = myFolder.getFiles("*.indd");
    myWidthArray = new Array();
    
    for(i=0; i<myFiles.length; i++)
    {
        app.open(myFiles[i]);
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;  
        
        var myDocument_Width = Math.round(app.activeDocument.documentPreferences.pageWidth);
        var myReq = myDocument_Width + app.activeDocument.name;
        
        myWidthArray.push(myReq)
        
        app.activeDocument.close();
        }
    
    alert(myWidthArray)
    var myPoints = myWidthArray;
    myPoints.sort(function(a, b){return a-b});
    alert("myPoints: " + myPoints)
    
    
    //here need help
    for(k=0; k<myPoints.length; k++)
    {
        app.open(myPoints[k].document.name)
        }
    

    Thank you

    Siraj

    Hi try this code

    #target Indesign 
    
    var  myFolder = Folder.selectDialog("Select the Folder contains Indesign Files");
    var myFiles = myFolder.getFiles("*.indd");
    var myWidthArray = new Array(); 
    
    for(var i=0; i
    

    Thank you

  • New file depending on the size of the current selection?

    Is there a way to make a new file based on the current selection?

    Copy the selection to the Clipboard.

  • Problems with my auxiliary stop content on the time line

    Drop-down menu opens with 'where's so-and-so file

    I go to 'search' in the file appears multiple times. Not clear on what to do with it. Need of procedure step by step here.

    When the draft programme to load up, I see the files uploaded into the program. so not sure why it wonder was a file.

    I have several files in my project and all my equipment is here.

    My calendar is there with all the transitions, inserts etc but no A / V the whole project is offline.

    In the past when I save and close the project I do not alter files or folders, but the problem comes back.

    Thank you

    Gil

    Gil

    Wonderful news "everything seems to work. Great job to earn your success.

    Your follow-ups have been appreciated.

    Best wishes. Feel free to let me know if you need additional information about your workflows in Premiere Elements.

    RTA

  • BlackBerry Desktop 4.5 with Curve 8330 smartphones - depends on the sync Config

    Hello

    When I try to change the configuration of the synchronization options, I get a screen "Select Device Application" ad calendar, Notepad, etc. and when I double-click on any one of them the DM freezes and does not return. The button "Advanced...". "works very well.

    Someone at - he seen this before? Suggestions? I; ve tried rebotting, reconnected, reinstall DM...?

    Thank you very much

    ~ Lance

    Hello

    I think you should post your question on the set of "Blackberry Desktop Software". The current Board's questions for the device of the curve. You can get there by going to the home page of this forum or by clicking here:

    http://supportforums.BlackBerry.com/Rim/Board?Board.ID=BlackBerryDesktopSoftware

  • Fill in the select list with two different queries depending on the user's group

    Hello

    I finished my first production application using apex. I have a Select list that takes its values from a sql query. Now, I want this different query for each user based on the group. Basically each user sees only the projects they are responsible - that works fine. But I want all the people of the admin group to see all the projects - how can I do this?

    Thank you very much!!!
    Henrik

    Hello

    Try this

    SELECT s.caption || ' - ' || s.sapnr display_value
          ,s.sharedservice_id return_value
    FROM   sharedservices s, sharedservicelead l
    WHERE  (   s.sharedservicelead_id = l.sharedservicelead_id
            OR s.ssldeputy_id = l.sharedservicelead_id
           )
    AND    l.username = :app_user
    UNION
    SELECT s.caption || ' - ' || s.sapnr display_value
          ,s.sharedservice_id return_value
    FROM   sharedservices s
    WHERE  HTMLDB_UTIL.get_groups_user_belongs_to(:APP_USER) = 'capacitymanagement'
    

    See you soon

    Ben

  • Delete files older than the time period

    I have a sub (attached) vi which I have short after a period of time checks the files and comapres them against a time constraint. If this time constraint is met the files are deleted or moved. My current Setup uses file vi information to check the path of the folder. I want to delete or copy files after a period of time. In view of the last exit of change on the file information this only checks the date of last modification of the file, and I want that it checks the files in the folder. How can I do this?

    Hi CAEHP

    I finally get it to work. I join all of the finished program. Feel free to use and change around to meet your needs. The finished application to remove or move the files in the specified folders older than the set time. You can also set the frequency with which the application to check the folders.

    Hope this helps

  • FPGA programming depends on the time

    I think my problem is simple, but I need help...

    In an FPGA VI, I acquire an entry and compare it to a control (if the input is greater than the order, the contiues code with an error response).

    What I want to do is to add a condition of time.

    I want to continue only with the error response if the entry is greater than the order and she was superior to the command for x amount of time.

    What is a good way to do this?

    Thank you.

    I adapted the code for the example of watchdog of 2013 below. Rather than wait for the watchdog to kill himself, he expects the IO above the threshold of safety. It is set in milliseconds, but you could use ticks of better resolution, just make sure to keep your loop in mind.

    You can see an example of the documentation on the code works if you need

  • I am getting a message that Microsoft Visual C++ has been prompted to close unexpectedly - is there a way to fix this with a download - it is all the time

    Microsdoft Visual C++ Runtime Library

    Runtime error

    Program c:\Windows\system32\nuvsvc.exe

    This application has requested the execution in an unusual way.  Please contact the appication for more information support team

    nvvsvc.exe is part of the Nvidia installer, probably a Service that is running.  It is important to mention the idea of updating your video card drivers.

    NVIDIA driver downloads
    http://www.nvidia.com/content/drivers/drivers.asp

    Default screen resolution should appear on the web site of the monitor or laptop computer.

    http://www.Google.com.au/search?q=nvvsvc.exe&SourceID=IE7&RLS=com.Microsoft:-to THE: IE-address & ie = & oe = & redir_esc = & ei = 0whJUMGEJLCYiAfKooCADQ

    What are the files on the E: drive you mention?  What program created them?  They are in a backup program, if so which backup program?

  • By using the date class to change the alpha of an object depending on the time (GMT)

    Hello

    I'm trying (and evil) to get my head around AS3 and build a flash webpage. I have 2 layers in the timeline, each containing a clip corresponding to the size of the page with instance names backgroundDay and backgroundNight.

    What I'm wanting is for the background to change to the day and night, so that from 18:00 to 06:00 backgroundDay alpha becomes 0 to show backgroundNight behind.

    I've been scouring the internet and haven't found anything, so if anyone can help it would be much appreciated.

    Thank you very much

    Sophie

    Yes, you could use a timer. Something like this:

    var t:Timer = new Timer (1000);
    t.addEventListener (TimerEvent.TIMER, timerHandler);

    t.Start ();
    function timerHandler(event:TimerEvent)
    {
    var d: Date = new Date();
    backgroundDay.alpha = (d.hoursUTC > 5 & d.hoursUTC)< 18)="" 1="" :="">
    }

  • depends on the time and date

    Hi all

    I have a query like the following:

    Select to_char (sysdate, 'FMMon DD, YYYY HH12:MI AM') as 'DateTime '.
    Double;

    When I have a request to 14:14, I get this:

    sept 19, 2012 14:14

    However, when I ask at 14:01 I get this:

    sept 19, 2012 14:01

    I need to be 19 Sep 2012 14:01 instead. How can I achieve this?

    Thank you.

    Hi bavani85

    Try this

    Select to_char (sysdate, 'My DD, YYYY HH12:MI AM') as 'DateTime '.
    Double;

    IFTIKHAR

  • Import data from the .tdms file and comparing with the measured .tdms file

    Greetings,
    I want to make an application that writes the values measured in a .tdms file.
    But I want to do a separate database in a .tdms file that contains the theoretical values.
    After the measurement, the application must compare the measured values with the theoretical.
    If the application needs to read that a cell of the .tdms file.
    Is this possible?

    Thank you

    Here are some materials:

    http://www.NI.com/white-paper/3727/en

    http://www.NI.com/white-paper/5696/en

    I also recommend that you can start with examples of PDM in LV to get acquainted.

  • The decisive TDMS file size when running.

    I have a request where the .tdms file can grow very quickly, due to the amount of stored data - 7 channels of data acquisition in 50 000 samples dry.

    I want to determine when the file has reached about 2 GB and close the .tdms file and create a new one with a different/timestamp name.  I want to break these files due to portability problems.

    It is, how to determine the size of the .tdms file?  When I try to give the Sub - VI "to get the size of the file" the .tdms, a GPIB controller file path must be in error of the charge occurs.  Also, the refnum of the tdms file is not the same as the file refnums, so the Subvi "get file pointer" will not accept the PDM refnums.

    I could probably calculate somehow what is happening in the PDM file, but that seems to be a workaround and will not exact due to the header information.

    You can't get the size directly from the refnum file, but you can probably still get the size another way. Use the file/directory information of the pallet of Advanced File i/o. It takes a path as input, not a refnum. This should give a specific semi file size value, although it will be possible that there is data to cache that has not yet been emptied to the file. Yet, when you talk about the file sizes in the range of 2 GB, it should be close.

    It is roughly the same thing that I look in Windows Explorer as the TDMS file size expands as it is written.

Maybe you are looking for

  • I can't get Firefox on my MacBookPro, my user profile is not available. Help!

    I got a message at the bottom of my screen telling me that my navigation could be faster if I "refreshed" Firefox, so I refreshed. I lost my favorites and a few other things (I forgot it would happen) and the thought restart my MacBookPro could recei

  • Unknown error when you try to configure Firefox Sync

    I'm trying to set up Firefox Sync, but I fill my email address on the first line I first the message 'invalid email account' (or similar), but then when I continue to fill with [email protected] he says just "unknown error." I tried several different e-mai

  • HP Pavilion g7-2341dx Notebook PC updated?

    I own a HP Pavilion g7-2341dx Notebook PC and I want to do the updates as ssd, ram, drive bd and upgrades to 1080 p.  My question is drive bd burner I would need and is it still a screen 1920 x 1080 compatible I can bolt on my laptop? I had used. If

  • Internet Explorer 8 linking do not to ISP

    Internet Explorer 8, love, downloaded updates on Saturday, December 12 and now I can not IE8, you connect to the ISP. Played with the port, reloaded the IE8 and none of the ideas. Mozolla FireFox works very well and I tested it on several computers t

  • updates on my lap top

    my laptop has tried to make the updates since Sunday and its not going anywhere that it stuck what can I do