Hi,
I acquired data from my experiment in the form of a series of data files. The data in each column has 2 columns, time and amplitude. Now I want to recombine the data and analyze it. I tried using the merge signals and I get data added side by side. I need the data to continue so that I have a longer and single column with all my time records and likewise for my amplitude record. I have attached 2 of the data files as an example. I use labview 7.0
Thanks,
Mac T. Green.
Combining Data files
-
- beginner
- Сообщения: 14
- Зарегистрирован: 19 мар 2008, 01:57
- Версия LabVIEW: 7.1
- Откуда: United States
- Контактная информация:
Combining Data files
- Вложения
-
- data_001.txt
- (524.49 КБ) 368 скачиваний
-
- data_002.txt
- (533.92 КБ) 364 скачивания
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
-
- beginner
- Сообщения: 14
- Зарегистрирован: 19 мар 2008, 01:57
- Версия LabVIEW: 7.1
- Откуда: United States
- Контактная информация:
Re: Combining Data files
I can combine three files as shown in the attached file.
I now need help in incorporating this scheme into a
loop so I can combine a large number of files.
I now need help in incorporating this scheme into a
loop so I can combine a large number of files.
- Вложения
-
- FileOpen7.vi
- (1.09 МБ) 402 скачивания
-
- data_001.txt
- (524.49 КБ) 341 скачивание
-
- data_002.txt
- (533.92 КБ) 350 скачиваний
-
- data_003.txt
- (540.48 КБ) 363 скачивания
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: Combining Data files
If the count of files is unknown, you have to use a while loop, else use a for loop.
Therefore you should define a shift register (right click on the loop) where your signal will be saved, and in the loop use the build array VI to append the new signal from file to the shift register.
Should you show the signal live reading data from files?
If yes, so place your last two VIs into the loop, else out of the loop.
Therefore you should define a shift register (right click on the loop) where your signal will be saved, and in the loop use the build array VI to append the new signal from file to the shift register.
Should you show the signal live reading data from files?
If yes, so place your last two VIs into the loop, else out of the loop.
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: Combining Data files
Where is the problem? You will find the while loop in the Programming->Structures->While Loop.
You have to take only
Read LabVIEW Measurement File.vi
and Sample Compression.vi
into the loop. And you have to define a shift register (right klick on the loop).
Show me your block diagramm WITH the loop, so we can discuss your problems.
You have to take only
Read LabVIEW Measurement File.vi
and Sample Compression.vi
into the loop. And you have to define a shift register (right klick on the loop).
Show me your block diagramm WITH the loop, so we can discuss your problems.