+ Reply to Thread
Results 1 to 4 of 4

How to read data from txt file to an array?

Hybrid View

arthurcheuk How to read data from txt... 09-23-2008, 10:09 AM
Andy Pope A chart will only plot 32k... 09-23-2008, 10:37 AM
arthurcheuk u can do two or more series.... 09-23-2008, 01:13 PM
Andy Pope You will need to load the... 09-24-2008, 04:36 AM
  1. #1
    Registered User
    Join Date
    09-23-2008
    Location
    canada
    Posts
    2

    How to read data from txt file to an array?

    I have a set of data that's more than 65k but excel won't allow me to import all the data in a spreadsheet. All I need is to graph the data. How can I read data from this text file? There are about 180k data and the format of the data in txt is:
    "Record Length",125000,"Points", -22.3999994, 0.01626562
    "Sample Interval",0.00079999998,s, -22.3991994, 0.01626562
    "Trigger Point",28000,"Samples", -22.3983994, 0.01621875
    "Trigger Time", 0,s, -22.3975994, 0.01625
    "",,, -22.3967994, 0.01629687
    "Horizontal Offset", -22.3999994,s, -22.3959994, 0.01623437
    ,,, -22.3951994, 0.01623437
    ,,, -22.3943994, 0.01625
    -->to End of File
    so the data I need is starting next line of Horizontal Offset.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480
    A chart will only plot 32k points.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-23-2008
    Location
    canada
    Posts
    2
    u can do two or more series. In this case, there will be 6 series needed.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480
    You will need to load the data into a spread sheet using code.

    You will need to use the OPEN and INPUT commands to read the text file and put the required values into cells.

    Although given the amount of data I'm not sure how useful the chart will be.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 08-25-2008, 04:44 AM
  2. Finding data on a dump file, populating rows in a summary file
    By SBells in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2008, 08:29 AM
  3. Read Data from file
    By ethyl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-25-2008, 01:35 PM
  4. Access data from a delimited file
    By jonlemur in forum Excel General
    Replies: 1
    Last Post: 11-11-2007, 07:52 AM
  5. Excel file merged to WP Data file goes corrupt
    By plynn in forum Excel General
    Replies: 0
    Last Post: 05-30-2007, 11:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1