Jump to content

TextFile VI


Recommended Posts

Posted

The following vi which is modified by me and my groupmate has some errors which we hope to resolved. When the button is pressed, the time will be logged to the textfile. However, the textfile will have many empty lines and many lines of data. I wish to have the time logged only once when i press the button and no empty lines in between.

TextFile 372009.vi

Posted

Thanks miao,

i place my write in file into the case structure & the empty lines are gone. however, the textfile still capture more than 1 line of data everytime the button is pressed. i could not access the vi which you had modified as im currently using v8.5. Do you mind saving it in a lower version? Many Thanks.

TextFile 872009.vi

Posted

You have many lines in your text files, cause when you push the button, it will stay in true, and you don't put a sleep.

I correct your vi in LV 8.5.

I put a delay in your while loop, and change the "commut action" (??, i don't know the word in english, sorry) of your boolean. It will put himself at "false" after you push the button.

Sorry, i'm not very good in english.

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.