12-11-2009 07:44 AM
I make something like these in 8.6.1
but in Labview 7.1 I cant make it x(
could any1 upload a vi that change the name of the file and continuos writing the file for each 5 hours??
Thanks
12-11-2009 07:51 AM
12-11-2009 08:06 AM
Attached a 7.1 example which writes to a file every 5 hours.
Christian
12-11-2009 08:51 AM
Hey Christian
Thanks for the example
but I'm having some problems here
I'm using the write [I16] file
and when the time have passed, like 5 hours
the program close the file
and when will start the other one
i receive an error:
Error1 : Occurred at Write File +[I16]: Write file
Possible reason: An input parameter is invalid
I make equal yours, i will upload the VI so if you can
take a look and see what I'm doing wrong! =/
I put the value to compare as 10 only to make the test faster.
Thanks
12-11-2009 09:01 AM
You will need to change the loop tunnels of the file reference to shift registers.
Christian
12-11-2009 09:07 AM - edited 12-11-2009 09:09 AM
ohh really thanks Chris!
Now it works!
12-11-2009 10:04 AM
Hey Christian, Now i have one problem when I'm trying to read the files I splited.
The first file, I can read it perfect, but the second and the others I receive the same error as I was receiving at write, but at Read File +[I16]
I tryed to change the loop tunel to shift register, but still don't work.
Any other clue to give me?
Thanks
12-11-2009 10:17 AM - edited 12-11-2009 10:17 AM
12-11-2009 10:27 AM
well I'm uploading the VI
and I'm selecting the correct file for reading
always when I execute this program I have to select which file will be read!
Thanks
12-11-2009 10:32 AM
Hi EduU,
apart from that horrible block diagram:
You only open one file and read from it continuously. I thought you had splitted your data into several files and now you read from one file only?
Please cleanup your VIs before posting...