How can I read fast 50 MB Excel file in LabVIEW

Hi,
I have created a datalog file containing string i/p and having extension ".exl". File size is around 50 MB. When I read this file using LabVIEW, it takes 1/2 hour to display data in Array. How can I minimize this read time in LabVIEW. Or is there any options available to create large datalog files with string i/p and read it fast?
Examples are well appriciated.
Thanks.

What kind of file is it? If you are writing datalog files, there is no reason for giving them excel (.xls) extensions. Excel cannot read datalog files. The other way around, native excel files cannot directly be read by Labview.
In general terms this is what you may look into:
-use a compact file format like (real)datalog, fully binary or at worst plain ascii text file.
-you do not have to read the whole file into memory at once, depending on your application.
-look at your (RAM) memory space: it sounds like you are running very low on memory and the OS needs to pagefile most of it. Try closing all unnecesary programs and/or buy more memory. Also look for memory hogging inside your code: releasing data that is no longer needed will free memory used by labview. "Uninitialized" arrays for example may seriously slow down a computer.
my two cents,
aartjan

Similar Messages

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • How can I read the printer snapshot file printers.xml

    How can I read the printer snapshot file printers.xml

    XML files are typically viewed using a web browser.
    Open the XML file and the default program should open it automatically.  If you are prompted to select a program, use the option that lets you choose a program and brows through the directories for your browser (for example, use Internet Explorer, Firefox, etc.).
    If need be, you should be able to right-click the file and select open with to choose the program to open it with.
    There are other XML viewers out ther, but web browsers are typically the default as XML is a web language.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How can I Read/write a ascii file?

    How can I Read/write a ascii file? like this:
    101     0.0000     -1.0000 +
    102     -0.1887     -0.9485 +
    103     -0.3578     -0.8639 +
    104     -0.5022     -0.7516 +
    105     -0.6177     -0.6177 +
    106     -0.7018     -0.4689 +
    107     -0.7533     -0.3120 +
    108     -0.7723     -0.1536 +
    109     -0.7603     -0.0000 +
    110     -0.7198     0.1432 +
    111     -0.6543     0.2710 +
    112     -0.5682     0.3796 +
    113     -0.4660     0.4660 +
    114     -0.3531     0.5284 +
    115     -0.2345     0.5660 +
    116     -0.1152     0.5791 +
    117     -0.0000     0.5689 +
    118     0.1069     0.5375 +
    119     0.2020     0.4876 +
    120     0.2823     0.4224 +
    121     0.3457     0.3457 +
    122     0.3911     0.2614 +
    123     0.4180     0.1732 +

    import java.util.*;
    import java.io.*;
    class BallB{
         public static void main (String args [])
         throws Exception {
              String str=" ";
              String myString="";
              try {
                FileReader fr = new FileReader("test.txt");
                BufferedReader br = new BufferedReader(fr);
                   FileWriter fw = new FileWriter("test1.txt");
                   while(str!=null){
                        myString = str+"\n";
                        str = br.readLine();
                        fw.write(myString);
                   br.close();
                   fw.close();
              }catch (Exception e) {
                   e.printStackTrace();
    }

  • How can i read Thai language in file .txt?

    AttN; Whom may concern.
    How can i read file txt in other language (Asian language such as Japanese, Thai, or Korea)?
    Please let me know urgent... I have to use it urgently...
    Best Regards,
    Sae
    Solved!
    Go to Solution.

    Hello Sae,
    Welcome to the Sony Community.
    What is the model number of the Reader Digital Book?
    The Reader supports the text file (.txt) formats as well as the following two formats:
    - EPUB file (.epub) EPUB (OPS version 2.0) supported
    - PDF file (.pdf) Support is based on the PDF 1.6 specification.
    The default language setting on your Reader Digital Book does not affect the language the book is in. To read books in a foreign language, you will have to purchase them specifically in that language.
    Thank you for your post.

  • How to Read data From Excel File in Labview 8.5?

    We can read it from xls file, but it is encrypted..... we need exact data...

    i have attached that excel file...i want to extract the full data from that file..how i can read it...when i read by using "Read from spreadsheet file" function, data was in encrypted form....so please send me the correct way...
    Attachments:
    stn_auto.xls ‏40 KB

  • How can I add/retrieve Word/Excell files to iCloud?

    I have an iCloud Account that I haven't used in the past. How can I add/delete/retrieve files such as Word & Excel files?

    To save arbitrary document types in iCloud on MacOS X 10.9.5 have a look at Winston Churchill's User Tip: 
    See this link:  Using iCloud to sync multiple document types.
    This will work between Macs, but not for mobile devices.

  • How can i read data in pagemaker file (PMD) using Visual Studio C# NET ?

    I have bunch of data in .PMD file (Page Maker Document). Which contains mathematical equations and chemistry formulas, I am a .NET developer, and I am writing code for one of the educational learning system. For that I need to read and store mathematical equations/ chemistry formulas from .PMD file into database then display on the browser page.
    Is it possible to read data from .PMD file using C#.NET, do I need to use any external libraries. How can I import .PMD to MATHML (Mathematical Markup language)?
    Any existing examples for C#.NET?
    Please help me regarding this.

    I can't claim to know much about visual C# Net, but I do know a bit about pagemaker. It really can't handle equations. there are a few work arounds involving things like baseline shifts and multiple text boxes, but generally equations were created in different programs and placed in pagemaker in picture or eps files. Either way the chances of extracting usable data out of pagemaker is very slim.
    Jay

  • Can I read a general excel file from BADI!!!

    Hi People,
    The requirement goes like this.
    The user enters values (say a, b, and some amount) in some excel sheet (not in the BPC-like format), now the requirement is to read this excel sheet in the BAdI and do what ever calculations and other member findings i.e. based on the values of a, b i should be able to find out other dimension values and calculate other amounts and bring it finally to and appropriate form that fits into the application and write it back to the application.
    The primary question is whether i can read a general excel sheet which is not in the form of BPC-like from a BAdI? if its possible, how?
    Hope you understand this poor explanation. any help is much appreciated..
    Kind Regards,
    Surya Tamada.
    Edited by: surya.tamada on Mar 23, 2011 9:15 AM

    Hi Surya,
    Yes, you can do everything in BAdI, even read data from unrelated spreadsheet. Question is, why do you need BPC then?
    You can verify those values you have in that spreadsheet against Dimensions or if you going to verify those in BAdI you'll duplicate BPC effort. I'd strongly recommend not to go that route.
    In ancient times I used FM WS_DOWNLOAD, but now it says 'obsolete', so may be try FM SDOK_WS_DOWNLOAD.
    Hope you don't have to use it in BPC,
    Gersh

  • 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

  • How can i read my 1080 50p files from my panasonic camera

    Hi all newbie here can someone give me the name of software that can read my panosonic HDC-HS700 1080-50p files from my camera i can read the HA 1920 files okay but just cant read the 1080 file, people tell me that the imac doesnt support the 1080-50p files but surely there must be some software that can read from my camera.
                 Regards to all Pete.

    Hi  EZ  Jim, 
    After reading and following the info you sent through, i realised that the question i asked was totally wrong.
    my question is that my mac cant read or even see the 1080/50p on the hard drive of my cam, because apparently the Panasonic HDC-HS700 is not compatible with Apple can you beleive that, so now i have got to go out and by the software from Panasonic install on a crappy windows machine and then onto a portable hard drive and then back into my Mac.what a load of c--p.
    So thanks EZ for your help it was in any event usefull info that you gave me,
    My very Best regards Pete.
    EZ Jim wrote:
    You're welcome.
    We will watch for your status update.
    (Hope you and Fido have a nice walk! )
    Message was edited by: EZ Jim
    Mac OSX 10.8.3

  • How can I read my iPhone backup files?

    I would like to have a readable version of my text message backup files. I have found the file but I can't read it in its current database format. Please help!

    Why not read them on your phone? Or if the screen's too small for that to be comfortable, email them to yourself and read them on the Mac.

  • How can I read two channels with fieldpoint and labview

    I'm trying to read two or more channels with the TC 120, and I follow the examples of sopport page, but doesn't work.
    What can I do?

    For more information about reading or writing to or from multiple channels in Fieldpoint, please refer to:
    How Do I Read or Write to Multiple Channels on a Fieldpoint Module in LabVIEW?
    This should enable you to read multiple channels. The only other option available is to use one fp open.vi, multiple Create Tag.vi's and multiple FP Tag Read.vi's.

  • How can I read content from PDF file stored in Oracle 9i XMLDB

    Hi Friends:
    Now I have met one question that I don`t know how to read some String , for example "Hello", from the PDF file stored in the Oracle 9i XMLDB, I have stored that PDF file into the XMLDB now, any suggestions are appriciated . Thank you in advance.

    You may be able to do something with Oracle Text. The following shows how to get an HTML rendiditon of a binary document. I think you can also get plain text instead of HTML
    set echo on
    spool xfilesUtilties.log
    connect sys/&1 as sysdba
    grant ctxapp to &2
    connect &2/&3
    begin
      ctxsys.ctx_ddl.create_policy(policy_name=>'XFILES_HTML_GENERATION', filter=>'ctxsys.auto_filter');
    end;
    create or replace package xfiles_internal_11010
    authid definer
    as
      function renderAsHTML(sourceDoc BLOB) return CLOB;
    end;
    show errors
    create or replace package body xfiles_internal_11010
    as
    function renderAsHTML(sourceDoc BLOB)
    return CLOB
    as
      html_content CLOB;
    begin
      dbms_lob.createTemporary(html_content,true,DBMS_LOB.SESSION);
      ctx_doc.policy_filter(policy_name => 'XFILES_HTML_GENERATION',
                            document => sourceDoc,
                            restab => html_content,
                            plaintext => false);
      return html_content;
    end;
    end;
    show errors
    create or replace package xfiles_utilities_11010
    authid current_user
    as
      HOME_FOLDER   constant varchar2(700) := xdb_constants.HOME_FOLDER;
      PUBLIC_FOLDER constant varchar2(700) := xdb_constants.PUBLIC_FOLDER;
      function renderAsHTML(sourceFile VARCHAR2) return CLOB;
      function transformToHTML(xmldoc XMLType, xslPath VARCHAR2) return CLOB;
    end;
    show errors
    create or replace package body xfiles_utilities_11010
    as
    function renderAsHTML(sourceFile VARCHAR2)
    return CLOB
    as
    begin
      return xfiles_internal_11010.renderAsHTML(xdburitype(sourceFile).getBLOB());
    end;
    function transformToHTML(xmldoc XMLType, xslPath VARCHAR2)
    return CLOB
    as
      html clob;
    begin
      select xmldoc.transform(xdburitype(xslPath).getXML()).getClobVal()
        into HTML
        from dual;
      return html;
    end;
    end;
    show errors
    grant execute on xfiles_utilities_11010 to public
    create or replace public synonym xfiles_utilities for xfiles_utilities_11010
    quitMessage was edited by:
    mdrake

  • How can i read comments from properties file in the right order??

    Hello
    I want to build a console that read a properties file and print to the screen the property name, property value and property description and the developer can change the name or the value or the description of the property and update the property file.
    But the problem in using the properties class that it doesn�t read the comment and not save the properties in their order so I can�t couple description and name of the property.
    Does any one know any utility that do the job or know how to solve the reading the comments problem???
    Thank you a lot?

    sorry but i dont understand how the solution of using
    a dot ( property_key.description ) helping me to
    solve the problem?
    please try to explain it agin.
    thank youYou wrote:
    "I want to build a console that read a properties file and print to the screen the property name, property value and property description and the developer can change the name or the value or the description of the property and update the property file."
    So i'm as developer imagine that somebody edit properties in GUI or console. So you have 3 text fields: property name, property value, and propety description. Then developer save edit changes, then text fields maped to properties file and:
    text field "property name" and text field "property value" construct property:
    name=valuetext field "property name" adding ".description" and text field "property description" construct property:
    name.description=descriptionFor one described property, you will have put two properties.
    Thanks!

Maybe you are looking for

  • Mail crashes when viewing emails with attachments sent from outlook

    This problem is intermittent -- and I have a hard time reproducing it consistently. This crash seems to creep up every two weeks. When I click on an email that was sent from outlook that contains an attachment (usually word documents), mail immediate

  • Superdrive no longer supported!

    Hello! I have an iMAC I received as a gift from late 2007. For some reason, I no longer can burn CDs or DVDs, or read them for that matter. I get a message that says, 'Your Mac does not have a supported Superdrive. Please note that while you will be

  • GI - GR relationship tables.........?

    Dear all,    I want to track the status of STO ( from STO -GI-GR ) status in one report. From EKBE , I get the PO history, So I am fetching data upto GR from there. It gives the relationship between STO and GI , STO and GR etc. But I want to relate G

  • Maxlength of HTMLDB_ITEM

    I successfully created a tabular update form. I set the length of the popup_from_lov to length of 60, but the maxlength of the editable area never increases past 20. This also occurs for popup_from_query. I looked at the html source and its maxlength

  • Overwrite database fields

    Hello, can I overwrite database fields in Crystal Reports Designer? I have reports, which are based on a business view. In this view I have many kpi columns with Euro values. This view also have columns which have stored the local currency. Until now