Jump to content


Photo
* * - - - 2 votes

Read from Text File


  • Please log in to reply
4 replies to this topic

#1 bulebell

bulebell

    More Active

  • Members
  • PipPip
  • 29 posts
  • Version:LabVIEW 2009
  • Since:2009

Posted 29 September 2011 - 05:57 AM

when i use this vi to read a txt file, the file is too big,and it overflow. in the diaplay window,it just show a little of the file. how can l handle with this problem? should i set a buff to solve it?

Edited by bulebell, 29 September 2011 - 05:57 AM.


#2 BigAngryHillMan

BigAngryHillMan

    More Active

  • Members
  • PipPip
  • 40 posts
  • Location:UK South Coast
  • Version:LabVIEW 2013
  • Since:2009

Posted 29 September 2011 - 09:07 AM

Can you post a example of your code and the text file you are trying to read, or a least the size of the file.

An astounding quality of work achieved through alcohol and low standards.


 


#3 bulebell

bulebell

    More Active

  • Members
  • PipPip
  • 29 posts
  • Version:LabVIEW 2009
  • Since:2009

Posted 30 September 2011 - 02:22 AM

I don't konw how to attach my vi.

#4 BigAngryHillMan

BigAngryHillMan

    More Active

  • Members
  • PipPip
  • 40 posts
  • Location:UK South Coast
  • Version:LabVIEW 2013
  • Since:2009

Posted 30 September 2011 - 06:52 AM

Press the "More Reply Options" button to attach your file.

An astounding quality of work achieved through alcohol and low standards.


 


#5 Cat

Cat

    The 500 club

  • Members
  • PipPipPipPipPip
  • 776 posts
  • Location:Maryland, USA
  • Version:LabVIEW 2012
  • Since:1994

Posted 30 September 2011 - 12:02 PM

Is "Read from Text File" actually throwing an error?

If so, what error is it reporting? How big is the file?

If not, (sorry if this is obvious) I assume you know you can expand the "text" indicator coming out of "Read from Text File" and right-click on it to make a vertical scrollbar visible? This will allow you to see all the text.
"It's only funny until someone gets hurt... then it's hilarious!"