07-22-2009 10:01 AM
07-22-2009 10:59 AM
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?
07-22-2009 11:03 AM
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
07-22-2009 11:10 AM
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
07-22-2009 03:11 PM
07-22-2009 03:23 PM
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.
07-22-2009 03:43 PM
07-29-2009 06:10 AM
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,