Error message "not enough memory to complete this operation"

Signal acquisition, processing and output
Ответить
pescecannuccia
beginner
beginner
Сообщения: 24
Зарегистрирован: 28 янв 2013, 14:47
Версия LabVIEW: 2012
Контактная информация:

Error message "not enough memory to complete this operation"

Сообщение pescecannuccia »

Good afternoon everyone,
I have very recently started to familiarize with the Labview environment for learning needs and I'm encountering some difficulties to reach my goal.
As mentioned in the title I'm working with signals acquired in the laboratory and saved to text files; each file weighs about 80MB. I'm looking at how to perform various trasformazioni like the fft. However when I try to do this (the FFT of a signal saved on text file), labview tell me that I haven't enough available memory to complete the operation. Can anyone explain how to circumvent this issue?

Thanks in advance to those who try to help me.
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
doctor
Сообщения: 2456
Зарегистрирован: 16 авг 2008, 02:12
Награды: 3
Версия LabVIEW: 7.1 10 11 12
Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
Контактная информация:

Re: Error message "not enough memory to complete this operat

Сообщение mzu2006 »

Please, post your code. Most likely it is caused by improper setting of some parameters.
pescecannuccia
beginner
beginner
Сообщения: 24
Зарегистрирован: 28 янв 2013, 14:47
Версия LabVIEW: 2012
Контактная информация:

Re: Error message "not enough memory to complete this operat

Сообщение pescecannuccia »

Hi mzu 2006,
first of all, thank's for your quick answer.
I attached my code in wich there are more operations that only the FFT of a signal "read" from a tect file.
What do you mean qhen you write that probably it is caused by improper setting of some parameters?
I'm a beginner...
Вложения
Effettua la FFT da un segnale salvato su un file di testo.vi
(32.9 КБ) 300 скачиваний
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
doctor
Сообщения: 2456
Зарегистрирован: 16 авг 2008, 02:12
Награды: 3
Версия LabVIEW: 7.1 10 11 12
Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
Контактная информация:

Re: Error message "not enough memory to complete this operat

Сообщение mzu2006 »

You are using a 2 dimensional FFT. Is that something you want to use? Probably, no.
Then, just get the second column and feed it into regular 1D fft.
pescecannuccia
beginner
beginner
Сообщения: 24
Зарегистрирован: 28 янв 2013, 14:47
Версия LabVIEW: 2012
Контактная информация:

Re: Error message "not enough memory to complete this operat

Сообщение pescecannuccia »

The file that I attach is a smaller fac-simile of the files that I've to processing (taked in the same test laboratory). As output of the "fract/exp string to number" I've a matrix of data with 2 columns and 865 rows ( first column is the time and the second one is the values), and when I wire this output with the input of the FFT, automatically it becomes a 2D real FFT. Why should I use a 1D FFT? Note that, with this small text file as input, the VI runs well.
I want you know that this problem (not enough memory to complete this operation) occurs also when i try to plot contemporarily 2 files, always of the same weight (about 80Mb).
I've attached also this last VI in this message.
Moreover I did what you suggest, but the VI doesn't run...
Вложения
raw-taco-14.txt
(27.58 КБ) 237 скачиваний
Creare grafici da files di testo.vi
(17.52 КБ) 246 скачиваний
Immagine1.png
Immagine2.png
Аватара пользователя
mzu2006

Professionalism Tutorials Black
doctor
doctor
Сообщения: 2456
Зарегистрирован: 16 авг 2008, 02:12
Награды: 3
Версия LabVIEW: 7.1 10 11 12
Откуда: St-Petersburg (RU), Phila, Boston, Washington DC
Контактная информация:

Re: Error message "not enough memory to complete this operat

Сообщение mzu2006 »

pescecannuccia писал(а): I've a matrix of data with 2 columns and 865 rows ( first column is the time and the second one is the values), and when I wire this output with the input of the FFT, automatically it becomes a 2D real FFT. Why should I use a 1D FFT?
Because, your data is 1D. Moreover, FFT algo does not know about time. So extract second columnd, feed it to 1D FFT and then figure out the time scale according to the first column (see http://www.ni.com/white-paper/4278/en for details).
pescecannuccia писал(а): Moreover I did what you suggest, but the VI doesn't run...
Because you did not extract the 2-nd column.
pescecannuccia
beginner
beginner
Сообщения: 24
Зарегистрирован: 28 янв 2013, 14:47
Версия LabVIEW: 2012
Контактная информация:

Re: Error message "not enough memory to complete this operat

Сообщение pescecannuccia »

Ok, thank you very much mzu2006; you opened my mind with your suggest.
Exuse me if I continue to disturb you, but I need your help...
I've attached in this message:
1) a framework that represents what I must do.
2) the VI that does the first step of the framework (Calculate the log[FRF]).
What do you think? is it ok conceptually?

Instead, for the second step in the framework, must I create a new VI in wich I recall the VI attached or the log[FFTh(n)],saved in a text file, always from the VI attached?
Because in the VI "Calculate the log[FRF]" I can't add another sequence to read data from a text file; the error message still appear..
Вложения
Calculate the log(FRF).vi
(19.5 КБ) 259 скачиваний
framework of signal processing.txt
(495 байт) 325 скачиваний
pescecannuccia
beginner
beginner
Сообщения: 24
Зарегистрирован: 28 янв 2013, 14:47
Версия LabVIEW: 2012
Контактная информация:

Re: Error message "not enough memory to complete this operat

Сообщение pescecannuccia »

The two VIs that I attached in this message represent my effort to translate the steps in the framework to process my signals that I wrote.
What do you think about them?
Вложения
Calculate the log(FRF) and save it into file text.vi
The fisrt step of the framework to process signals
(30.24 КБ) 248 скачиваний
Reconstruction of the input.vi
The second step of the framework to process signals
(17.1 КБ) 262 скачивания
Ответить
  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Signal processing»