Jump to content

extract data from .txt to array


Recommended Posts

hi all,

I m pretty new to labview and already searched quite a few forums.

My problem is:

I got 2 .txt file with numbers - all seperated by tabs - 12 columms and 5 rows each.

I want to extract each number columm by columm and row by row to labview to be able to substract both .txt file. Basically I got 2 Tables with number and I want to calc. the difference in each line and row.

How can I get the numbers out of my .txt file to do some math with them?

thnx for any help!

Link to comment

QUOTE (TobyD @ Mar 11 2009, 03:14 PM)

Just curious...why did you use the sequence structure here?

Because when I tested it on my computer I disconnected the path constants and I wanted to know which file was loaded first.

I would have made the dependence with an error wire instead if I could but the 'read spreadsheet file.vi' doesn't have any :thumbdown:

Link to comment

QUOTE (Antoine Châlons @ Mar 11 2009, 06:32 AM)

Because when I tested it on my computer I disconnected the path constants and I wanted to know which file was loaded first.

I would have made the dependence with an error wire instead if I could but the 'read spreadsheet file.vi' doesn't have any :thumbdown:

:thumbup: OK

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.