LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read file

Solved!
Go to solution

hi

 

 i am trying to generate some data and write to a file and read back from it. when i read the file  the last value is not being read. can u help me out. i have attached my file.

 

thanks in advance 

0 Kudos
Message 1 of 13
(3,736 Views)
Why are you using an express vi for everything? What type of data are you trying to read in real time? why are you using a configure formula when you just want to add 4 values? you can use a compound arithmetic right?
0 Kudos
Message 2 of 13
(3,733 Views)
i do not have the real time values right now. so i am juz trying to generate values and check if they can be read so that later i can use them with real time data. and i have used the formula node since later i might have to perform some other operations on those values.
0 Kudos
Message 3 of 13
(3,728 Views)
your answer is not at all specific. You are not clearly explaining from where you want to read the data or the data format
0 Kudos
Message 4 of 13
(3,721 Views)
i will be reading values from current, voltage sensors. i might have to write out those values onto a file and read the file later and perform some operations on it. the data i read from sensors will be continuously varying...
0 Kudos
Message 5 of 13
(3,718 Views)
and since i don not have the real time set up ready now i want to know how to read from a file.. that s why i am generating some data and trying to read from it..
0 Kudos
Message 6 of 13
(3,716 Views)

Hi Divya,

 

Although there are better methods than this...but just try looking at the VI, is this what u are looking for??

 

Sorry by mistake i had attached the old vi (your vi) only,

Now i have edited and attached a modified vi..plz have look..

Hope it helps

 

Regards,

Krunal

Message Edited by Krunal K Patel on 01-22-2010 12:15 AM
0 Kudos
Message 7 of 13
(3,692 Views)

hi krunal

 

i am not able to open the file u sent.. i have only labview 8.0.. so could you pls save it accordingly and re-send it

 

 thanks in advance

0 Kudos
Message 8 of 13
(3,687 Views)

Hi Divya,

 

Just try the below modification, as shown in the image. Let me know if i understood ur problem correctly, and then maybe I may try to explain in detail

 

regards,

Krunal

0 Kudos
Message 9 of 13
(3,677 Views)

hi krunal

 

tats exactly wat my problem was.. thanks a lot.. and can u tel me what better methods are there for this? i tried writing the same onto a spreadsheet file.. but no data was being written..!

0 Kudos
Message 10 of 13
(3,663 Views)