08-18-2009 02:35 AM
Solved! Go to Solution.
08-18-2009 03:01 AM
Hi labviewproject,
if you write the data to the file, then you can count the number of lines in your code instead of reading it from the file.
Mike
08-18-2009 04:28 AM
Hi mike
may i know what function i should use to count the number of lines?
08-18-2009 04:34 AM
Hi labviewproject,
i can't open your vi at the moment, but if you write the data to the file, then you know how many lines you write, so you can count them. Store this value in a shiftregister to work with it.
Mike
08-18-2009 07:30 AM
08-19-2009 12:35 AM
08-25-2009 04:08 AM
Hi,
I have decided to stop reading lines of record in my vi. Is there a function that can set a specific time such as 00:00:00 and not the date so i can that i could compare it with the current time. When the specfic time matches the current time, my textfile will be recreated and the name is set as the current date. I have look through the labview examples & the threads but found that most of it is about time elapsed. If anyone have done this before or knows how to set the specific time, please help me by telling me what function i could use. Thanks.
08-25-2009 04:30 AM
Hi
If you want to create new file after say 24 hrs why dont you use timer? You can even try Timestamp to get current time.
Best of luck
08-25-2009 04:45 AM - edited 08-25-2009 04:46 AM
08-25-2009 04:50 AM
NitinD wrote:
Here is my solution. Decide on a set format for date. If the file already exists, then append to that file, else create a new file.Message Edited by NitinD on 08-25-2009 03:16 PM
ooops sorry... In the false section, the operation should not be default (open) but create... My bad... please let me know if its not clear...