Opening TDMS files in Excel - column limit

Hi all,
I'm saving data I obtain using LabVIEW as a TDMS file and have downloaded the add-in to open the files in Excel:
http://zone.ni.com/devzone/cda/epd/p/id/2944
I'm using Excel 2007, which has a column limit of 16384 and a row limit of 1048576.  Each of my datasets is 1024 rows values large and I have 10,000 datasets in total - well within either limit.  However, the Excel importer will not open the file - pop-up errors occur and Excel opens multiple files.  Has anyone encountered this before?
Miika

Have the same issue.  As requested, I've attached a file with 300 dummy groups, each of which as 4 channels of dummy data.
When loaded into Excel, only the first 254 groups are shown:
Certified LabVIEW Architect
Wait for Flag / Set Flag
Separate Views from Implementation for Strict Type Defs
Attachments:
abc.vi ‏3381 KB

Similar Messages

  • Tdms files in excel

    I have used a NI c-RIO 9075 to log data in a TDMS file. The wirte to a Measurement file was used and all the data saved to a file of my choice. The issue is that when i open the file in excel each data point is saved in a different worksheet and there is so much data that it takes several minutes to open the file. Is there a way around this issue without redoing the tests? 

    adamharden25 wrote:  The issue is that when i open the file in excel each data point is saved in a different worksheet and there is so much data that it takes several minutes to open the file. Is there a way around this issue without redoing the tests? 
    That sounds like you wrote the file wrong.  Each wooksheet should be a different Group.  So if you change your group for each sample, you will get a different worksheet for each sample.
    Can you post any code and/or a TDMS file for us to look at?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to automatically open csv files in Excel on imac

    I am migrating back from Google Chrome to firefox and would like to have the browser automatically open csv files to Excel on my mac desktop. The step to have them saved in the download folder and then go in an open it in Excel adds an unnecessary action. In the earlier versions of Firefox on my windows machine this worked as desired. Any help will be appreciated.

    The Yahoo Finance server sends the file with the ''Content-Type: application/octet-stream'' header. This is a generic MIME type that doesn't describe the type of file. Therefore you will always see a download prompt, regardless of your download preferences.
    * [https://developer.mozilla.org/docs/Web/Security/Securing_your_site/Configuring_server_MIME_types What are MIME types? | MDN]
    To get around this issue, install the Force Content-Type add-on.
    * https://addons.mozilla.org/firefox/addon/force-content-type/
    In the Add-ons Manager, Extensions category, click the Options button next to Force Content-Type. Create two rules as follows:
    * URL: '''(.csv)$''' Old Content-Type: '''text/plain''' New Content-Type: '''text/csv'''
    * URL: '''(.csv)$''' Old Content-Type: '''application/octet-stream''' New Content-Type: '''text/csv'''
    You should then be able to select what you want to do with CSV files (i.e. open them directly rather than save), and check the "Do this automatically…" option.
    You're welcome.

  • Cannot open TDM files with compiled applications

    I need to open TDM files using my EXE application, but it doesn't work in computers with only LabView Run Time installed. (It does if LabVIEW is installed, and it also does if I run my VIs). It doesn't display any error, and it doesn't extract any data.
    I've tried installing DSC Run Time as well, but it doesn't work either.
    Is this some Lisencing restriction?
    Do I need some extra installings?

    Regardless of the forum location ... make sure you have checked "NI USI" in your installer build specification.
    Herbert

  • Why can't I open .csv files in Excel 2013?

    We purchased (20) new machines all with Office 2013 (OEM) version.  We can no longer open .csv files with Excel 2013.  When we go to a machine with Office 2010 it opens perfectly.  The issue is with some change to Excel.  I see a lot
    of complaints on the internet about this issue.  Since we have OEM versions of Office, I am not entitled to a downgrade to 2010.  I need to know what Microsoft is doing to fix this issue, or need them to grant us rights to downgrade. 

    Hi,
    In regarding the issue, I had tested in Excel 2013 of my PC. It seems worked fine. Thus, I suggest you try to do the following methods to test.
    1. Import the CSV file into Excel 2013. Click Data tab>From Text
    http://superuser.com/questions/407082/easiest-way-to-open-csv-with-commas-in-excel
    2. Did you get en error message "SYLK: File format is not valid" when you open CSV file?
    If it was, please try to follow the link to fix the issue:
    http://support.microsoft.com/kb/323626
    3. Please try copy one of the CSV file to notepad and save it as a new name to test.
    4. You'd better upgrade the lastest patches.
    Regards,
    George Zhao
    TechNet Community Support

  • Nilibddc dll: opening tdms files with corrupt index files

    Hi there,
    i have a question regarding error handling, when using the nilibddc.dll.
    I want to use nilibddc.dll to open .tdms files. At the time i'm experimenting with some error cases and got stuck in one case:
    When i try to open a .tdms file with a corrupt .tdms_index file i get the error code -6211 (DDC_StorageCouldNotBeOpened).
    The .tdms_index file is corrupt because of errors while copying the file.
    The problem i noticed is, that i have a file lock on the corrupt .tdms_index file after DDC_OpenFile(...) (i can rename it, but i can't delete the file!?).
    As you can see in the code snippet - it isn't really special...
    int ddcError = 0, length;
    DDCFileHandle file = 0;
    ddcError = DDC_OpenFile (FILE_PATH, NULL, &file);
    // here i get ddcError == -6211
    if( ddcError == 0 )
    // do something with the file...
    ddcError = DDC_CloseFile(file);
    if( ddcError == 0 )
    cout << "no error - everything done" << endl;
    system("PAUSE");
     Do i miss something here? Should i use DDC_FreeMemory in somehow to release opened handles?
     I also tried to use the DDC_OpenFileEx(...) with readOnly set to true. But this doesn't change anything!
    Thanks in advance for help,
    Daniel
    Solved!
    Go to Solution.

    Hi there,
    thanks for the replies (and sorry for my late answer).
    The code above is from a simple Visual C++ Project that i use to run some tests with the dll.
    If i posted the question in the wrong topic please let me know - i found some other posts dealing with the dll so i thought i'm right here.
    I attached a tdms and the corresponding "corrupt" tdms_index file.
    The file handle stays 0 when i debug my code with that file and i receive the error -6211.
    I want to use the dll as part of an application that runs as system service. It reads and writes information from/to existing tdms files. After the information is read the application moves the files. So, if the tdms_index file gets corrupt (by whatever) i have the problem, that the index file is locked as long as the service is running and the file can't be moved. I can't tell how often this happens (hopefully never) but if i can do something against it, i would like to integrate this precaution.
    Thanks in Advance for any information & have a nice day,
    Daniel
    Attachments:
    samplefile.zip ‏3 KB

  • How to open TXT file with excel 2007

    With Excel 2003  if we right click the txt source file name, there will be an option to open the file Excel, but with Excel 2007, then we right  click txt fiel name , there is no option of open the file with excel, is this mean that we have to copy the txt file to excel file to manipulate the source file? Any idea how to do this?

    just find out that we can use the browser to find the excel and open the file, next time the excel option will be there.

  • 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

  • Automatic Import of TDMS file into Excel

    I was looking at the NI TDMS import plugin for Excel and it seems that the newest version of the plugin uses the COM API which could allow the import function to be used automatcially. There is a short info page about this here http://zone.ni.com/devzone/cda/tut/p/id/10207 but I'm new to Excel Macros and VBA so I'm not sure how to go from this tutorial to what I am wanting to do.
    Specifically, I am wondering if anyone knows (and could post an example of) how to do the following:
    From within a labview VI, the user would select a path to a tdms file. Once this path is selected, the VI would call the TDMS import excel plugin and run it on the file.
    Solved!
    Go to Solution.

    After playing with things, I have worked out the solution to this and I am posting it for everyone in case it can be of some use. In order to use this solution to work out of the box, you will need the report generation toolkit. If you don't have that, you would need some other way of launching Excel from labview and running a macro. Hopefully someone who has the knowledge on how to do that will post that portion in this thread for those who don't have the toolkit
    To start out, open excel and in the menubar select Tools -> Macros -> Visual Basic Editor. The source for the macro you will create is:
    Sub TDMImport(fileName)
    'Get TDM Excel Add-In
    Dim obj As COMAddIn
    Set obj = Application.COMAddIns.Item("ExcelTDM.TDMAddin")
    obj.Connect = True
    'Confirm only importing "Description" properties for Root
    Call obj.Object.Config.RootProperties.SelectAll
    'Show the group count as property
    Call obj.Object.Config.RootProperties.Select("Groups")
    'Select all the available properties for Group
    Call obj.Object.Config.GroupProperties.SelectAll
    'Import custom properties
    obj.Object.Config.RootProperties.SelectCustomProperties = True
    obj.Object.Config.GroupProperties.SelectCustomProperties = True
    obj.Object.Config.ChannelProperties.SelectCustomProperties = True
    'Import the selected file
    Call obj.Object.ImportFile(fileName, False)
    'Record down the current workbook
    Dim Workbook As Object
    Set Workbook = ActiveWorkbook
    End Sub
    Once you have copied/pasted this into the editor go to the menubar and hit File -> Export File and save the macro as a .BAS file
    You will also need to go to Tools -> Macros-> Security and select the Trust Visual Basic Project option in order for the macro to be called from LV.
    Once all this is done, you can use the attached VI (Saved in LV 8.6) Simply supply the path to the BAS file and the TDMS file via the front panel controls and click run and the TDMS import will happen automatically.
    Attachments:
    Automatic TDMS Excel Import.vi ‏14 KB

  • Opening a file from Excel

    I have an .htm file in the server. The location is /Data/Webfolders/<appset_name>/appset publications/file.htm
    How can I open this .htm file from excel? Is there any evmnu command available for the same.

    Hi,
    Thanks for the help. I think I will go with OSCLD command.
    However, if I want to use the command in custom menu, how should I define it. I used the below command in the Action column of the custom menu EV_DEFAULT tab.
    OSCLD("Quality","Reporting Planner.htm", , ,1)
    But the above statement is not working.

  • Open .csv file in Excel

    If I double click a .csv file in Windows Explorer, then Excel runs and the file is opened.
    Is it possible to get LabVIEW to do this?
    The problem is, I don't know which version of Excel will be installed, and I also need to accomodate future versions.
    Everything I've found with a search seems use to system_exec.vi with a constant pointing to the location (in c:\program files\microsoft office....etc) of a particular version of Excel
    So what I want is to have a button which fires an event which takes the specified .csv file and runs whatever version of Excel is installed to open the file.
    Solved!
    Go to Solution.

    Oooooooh almost.
    It's on the right track, but, as is explained here, there needs to be a further pair of quotes in the command line.
    So it actually needs something like cmd.exe /c start "" "c:\path\file.csv"
    If the extra quotes aren't there then it opens a command prompt window with the path and filename as the window title (WHY???)
    But using START is the correct solution, so I'm going to credit you with that.
    Thanks.

  • How to embed and open PDF files within excel

    I constantly need to embed PDF files onto Excel documents as well as extract/open/view PDF files from Excel documents. I am unable to do so with a macbook, i know that there is a workaround but it's such a tedious process. Is there a software i can buy or setting that i can do so that i can embed and open PDF files easily as i need to view these files multiple times a day for work.
    please advise

    Download and install Adobe Reader: Adobe Reader Install for all versions
    Open the PDF file using it. If security restrictions don't prevent it you could also print it.

  • You do not have permissions to open this file on Excel Services.

    Hi all,
    I am recieving this error:
    I have setup a trusted location to the document library where the Excel spreadsheet resides, and I still recieved the error.  I changed the location to the entire site and I still recieve the error.  I am the Sharepoint Admin, so I have full
    rights to all.
    I am on SharePoint 2007.
     I set the location as Http://sitename/document Library name
    Location type = Windows SP Services
    Checked trust Children
    there are no extrernal connections so I took the defaults for all other options.
    Any help would be greatly appreciated.
    TIA,
    Joe

    Hi,
    I understand that when you try to open an excel file in browser, you received Access Denied error.  You can check the excel service settings in Central Administration like this :
    Open Central Administration -> go to Operations tab. Ensure that the Excel Service is running
    Open Central Administration -> go to your configured Shared Service -> click Excel Service Settings. Set  File Access Method:  ensure that it is not using Impersonation, instead the Option Process Account should be enabled.
    Open Central Administration -> go to your configured Shared Service -> click add new trusted file location.
    field URL: here you can specify a report library or the whole portal
    Location Type: should be Windows SharePoint Services
    Children trusted: defines whether the children should also be trusted or only the defined path
    For more information, please refer to this site:
    MOSS Excel Services you do not have permissions to open this file:
    http://developers.de/blogs/nadine_storandt/archive/2007/09/06/moss-excel-services-you-do-not-have-permissions-to-view-this-workbook.aspx
    Thanks,
    Entan Ming
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please [email protected]
    Entan Ming
    TechNet Community Support

  • Error when opening XLSX file with Excel 2003 SP3, file does open but in read only mode with temporary name

    I am using Excel 2003 SP3 and have the Office 2007 compatibility pack installed.  When I open Office 2007 formatted Excel files (XSLX) directly in Windows Explorer, I receive the following error if I do not have Excel already opened:
    "Windows cannot find '<path to file>'.  Make sure you typed the name correctly, and then try again.  To search for a file, click the Start button, and then click Search."
    Even though I receive the error, the file does open; however, it opens in Read Only mode with a name such as "Xl0000024.xls".  The number seems to increment up each time it happens.
    Now here is the strange part.  If I have Excel already open and try to open the file in Windows Explorer, the file opens fine in Modify mode with no error and with the correct file name.
    I Googled the error I was getting and found KB211494.  It says I should uncheck the box in Options on the General tab that says "Ignore other applications", but this box is already unchecked in my case.  Any other ideas?  This is
    really frustrating as a small percentage of our company has upgraded to Office 2007 with the rest still on Office 2003.

    This may be a file association problem.  To solve that:
    In Windows 7:
    1. Right-click the file,
    2. Select "Open With" 
    select [Your Program Here]
    3. Check always use this program. 
    In Windows XP:
    1. Locate the file as you have described above
    2. Right click the file
    3. Select Open with from the pop-up menu
    4. Click Choose default program…
    5. Select Excel in the Recommended Programs box
    6. Check Always use the selected program to open this kind of file
    7. Click on OK.
    1.  Make Excel not available from Office 2007 listed under Programs and Features in Control Panel.
    2. Take a registry backup using the steps given here
    3. In the registry editor window expand HKEY_CLASSES_ROOT and navigate to .xls right and delete it.
    4. Exit Registry Editor
    5. Undo Step 1 to make Excel available.
    6.  Restart the computer and verify it the issue is fixed.
    If this answer solves your problem, please check Mark as Answered. If this answer helps, please click the Vote as Helpful button. Cheers, Shane Devenshire

  • Adobe Reader tries to open all files even Excel and Word docs.

    When I try to open files that are sent to me, the Adobe Reader tries to open them all instead of an Excel file getting opened automatically by Excel and a .doc being opened by Word.
    The message I get by the Reader says it cannot open it, of course. (I have Windows Vista on my HP computer if that is the problem.) Someone told me to take the default off of the Reader so the files open and download in the proper software program, but I am unable to find such a "default" option in the Reader program properties.
    I never had this problem with any previous Windows version, so not sure if it is my computer, or the Reader. How can I fix this so when I download or open a file, it automatically opens in the right software?

    This means that the file associations of the various Office programs have been muddled up somehow. Try an Office repair install; that should correct the file associations.

Maybe you are looking for

  • Program logic

    Hi Friends, I am working in Project system module in that i have to upload budget data to wbs through BAPI. I have the WBS element "T-20111.1.1.1" this is lower most level i need to the find out all the WBS element corresponding to the lower level ti

  • SBBOD Question (yep, another one)

    Hi Community! I know there are thousand of topics about this issue (which makes me think WHY Apple haven't have fixed it YET!!!!! STEVEEE!!! I trusted on you!!! =( ) out there, but I have tried ALL the things suggested in EVERY single forum, web, etc

  • UJS_ACTIVATE_CONTENT crashes on Laod Data into Appset step. BPC57NWSP2.

    I had some problems using  UJS_ACTIVATE_CONTENT. Maybe you or someone else working on BPC can help me. <br> I am testing BPC75NW SP2 on a clean SAP NW 7.01.<br> My server has only the ABAP AS <br> <br> <br>I upgraded all software components to SP6 <b

  • Planning 9.3 Applciation migration from test to prod

    Hi Guys, I wnated to migrate my planning applciation from Test to Production instance, In both the instances I have Oracle 10g as a repository for my applications. Please send me the steps to Migrate the same. My Test instance has one Planning applci

  • Logo Link size/dimensions?

    Good Morning, Can someone what the size and/or dimension limits are for the Logo link on a Email Security Virtual Appliance 600V? Thank you, Joe