LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

r

Darnell:

 

As I mentioned in a post to another one of your questions, since you are reading a text file, you have very little reason to read a text file one character at a time.

Why not read one line at a time and parse each line one at a time?

Look at the ChillerParser.zip project I posted to your question here: http://forums.ni.com/ni/board/message?board.id=180&thread.id=42623

Take another look at the RunCallback function in ChillerScript.c.

 

Also note that your OPEN_TEXT_FILE function will generate a runtime error if your file has more than 250 bytes.

0 Kudos
Message 11 of 11
(816 Views)