Jump to content

Read From file


Recommended Posts

I want to read data from a text file. The text file consists of data set out in lines, as below:

Sat 23/10/2004 The coordinates (64.822, 1.770) were recorded at 23/10/2004 21:25:48

I'm then using a scan from string function in order to extract the coordinate pairs 64.822, 1.770 into an array...

The read from file works fine, its gettin the data into the array which is causin problems. It should read the coordinates from each line, extracting the cordinates to an array.

I can get the scan from string to add the coordinates from the 1st line of the file into the array, but it doesnt seem to be moving onto the next line of the file?

I'm quite new to this lab view thing.

ANy help?

Regards

:wacko:

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.