LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Upsampling to 2Ghz with 4.7GHz sampling rate gives an error of memory is full.

When i upsample my 48khz(time doamin) signal to a 2Ghz frequency(using 4.7GHZ Sampling rate) labview 8.5 gives me an error of memory is full. It goes as far as 2MHz for Upsampling and after that there is the memory error. My 48 KHZ signal is 1 sec in duration and i evn tried using half the samples that is for 0.5 seconds but it does not goes up to 2GHz. How can i resolve this issue ?
0 Kudos
Message 1 of 8
(3,456 Views)

Use a much, much smaller portion of your signal.

 

One second of a 2 GHz signal is 2 billion samples.  If there was only 1 byte per sample, that would require 2 GB.  Since each sample probably requires more than that (a double representation needs 8 bytes), you could be up to needing 16 GB of memory.  Far more than your PC would have.

 

A jump from 48 KHz to 2 Ghz is pretty large, 41,667 times.  Are you sure you are going to get any reasonable data after upsampling?

0 Kudos
Message 2 of 8
(3,448 Views)

Use the sytem task manager to monitor how much memory you are using. Windows by default limits you to 2G total (OS plus app plus data). There is a "switch" that will make Winodws "3 Gig aware" if you have more physical memory.

 

The other limitaion is that LV works with contiguous buffers. If it can not find a single block of memory large enough, you get that error.

 

THe only work-arounds are "divide and conquer" types like work with smaller chuncks of data etc.

 

Just trying to help,

 

Ben

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 8
(3,447 Views)

 

Hey thanx both,

 

 

                          Regarding getting reasonable data at that frequency what i am doing is checking the performance of a mixer at Microwave frequencies once i get the data to 2Ghz than ill down convert the data to baseband from that frequency using a mixer and where ill take some readins. Howevever write now i am not even being able to upconvert the signal from basband to 2GHz. Therefore i wanted to get help in that respect. Thankyou

0 Kudos
Message 4 of 8
(3,442 Views)
so if anyone of you or anyone else can help me in this regard id be highly grateful. 
0 Kudos
Message 5 of 8
(3,416 Views)

As Ben said, you will need to work on smaller chunks of data at a time.

 

What do you want to do with the data once you have it?  Save it to a file?  Where is the data coming from?

 

Try working with only 1000 samples of the original waveform at a time and upsampling that.  Save to a file.  Go back and use the next 1000 samples.  Repeat until you've reached the end.

0 Kudos
Message 6 of 8
(3,411 Views)
I am assuming this microwave mixer is a physicle device that you are testing? What type of hardware are you using to generate this 2GHz RF signal?
Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 7 of 8
(3,406 Views)

here is a helpful set of hints and tips for when LabVIEW is consistantly running out of memory. It backs up much of what has already been written on this thread.

 

Why do I get "Memory is Full" Error in LabVIEW?

 

Thanks guys,

Rich Roberts
Senior Marketing Engineer, National Instruments
Connect on LinkedIn: https://www.linkedin.com/in/richard-roberts-4176a27b/
0 Kudos
Message 8 of 8
(3,353 Views)