04-03-2009 09:06 AM
OK, I have one text file to read and extract the Values to table. The Problem is, in ParserLG.vi, I readout Array Size (Row Size (96)), after this I hav to read one by one everi single of them and serch for a Value in Row for device (Parsing) for a specific Time (Date-Time, (Date-Time is a Number of Row)). However, every time I execute this VI its readin the last Value insted of one after anather :(. Pleas HELP ME!!!
You`ll find all VI`s and sorce (text) File in Attachment
THX
Igor
04-03-2009 09:15 AM
04-03-2009 09:21 AM
04-03-2009 09:32 AM - edited 04-03-2009 09:33 AM
I'm not sure I completely understand, but it sounds like you just want to pull off the column corresponding to a specific device. That's just an index/search/subset operation:
04-03-2009 09:48 AM
04-03-2009 10:19 AM
04-03-2009 10:31 AM
I'm sorry, but I am simply not understanding what you want to do.
There is no time column. The date and time are in the same column. What is that picture supposed to show and how is it related to your text file? I also feel as if you're not telling us the whole story here.
If I had to take another guess it appears that what you want to do, in essence, is to transpose your text file. Each device that is in the text file becomes a row. Presumably, the device name goes in column 1. Then, you want to get the value for the time at 15 minutes. That time may or may not be in the text file (is this true?). If it is, it gets placed in that device's row in the "00:15" column. I can't translate the column headers - looks like either German or Dutch, so I don't know what those other columns are supposed to be. Is this correct?
04-03-2009 10:52 AM
you are right, the Names in columns are not important (its German), but you are right... i need Value for Device (every device get one row) under right Time in Table (if yyyy.mm.dd 00:15:00 15.0000-> in row for device under 00:15 shulld stay 15,00)
THX
04-03-2009 11:26 AM
04-06-2009 01:57 AM
Yes, it is possible for a certain time to NOT appear in the File and last Line (00:00:00) do not have same Date, but this (Date) is not a big problem