LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can't aquire 286M (maximum) samples in 5122

I have 5122PXI 8186 with 512 MB ram.. and 1GB system RAM...

This sytem has capacity of aquiring maximum No. of 286M samples... I can aquire it if I don't SAVE in file on my Hard disk..
If I try to save it in Binary format .. It gives error "Memory Full".. My data type is I16... and I am successful to save the data upto 150M samples in file.. but not more than that...

Can any one suggest me the way... or why this problem is occuring?/

Thank you.

0 Kudos
Message 1 of 4
(2,907 Views)

Here is a suggestion which might help, it has worked for me in the past with large file writes.  Instead of writing the entire file at once, write it in a subvi with multiple smaller segments.  This way there will not be two full copies of the data (this is possible depending on the code). 

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 2 of 4
(2,902 Views)
Thanks Paul...


Is it possible to aquire whole data at once.. and fetch it in chunks... using subvi?... Coz I have an application in which I have to aquire data at once....

If you have any example ... It will be help full....

Hit
0 Kudos
Message 3 of 4
(2,825 Views)
Hey CYBORG

Thanks for contacting National Instruments support.  This is the same question as the one you posted earlier on the forums.  The specifications do say that you can only acquire 256M samples not 286.  We are still curious to view your code on this issue.  Depending on your number of records your total memory can be decreased.  It takes a certain amount of memory overhead to maintain each record.  Thanks

Regards,
Kenn North
Principal Product Manager - Search, Digital Analytics
http://ni.com/search
0 Kudos
Message 4 of 4
(2,815 Views)