LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS File Write-High Sampling Rate.

Hi, 

    I am Acquiring data at 31 Mhz from PICO 2208B. Total Ram taken during acquisition is 900 MB. When I write the acquired data to TDMS file ram shoots up to 2000MB and throws error"Not enough memory to perform this operation".

How can rectify this issue.

0 Kudos
Message 1 of 4
(1,886 Views)

Hi Anbarasan,

 


@ANBARASAN wrote:

I am Acquiring data at 31 Mhz from PICO 2208B. Total Ram taken during acquisition is 900 MB. When I write the acquired data to TDMS file ram shoots up to 2000MB and throws error"Not enough memory to perform this operation". How can rectify this issue.


Don't collect this huge amount of data in RAM, but write instantly to a file (located on a fast SSD)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(1,856 Views)

Hi GerdW,

               Thanks for your reply. I am writing every 100 ms data to tdms file. I am Using SSD Hard disk.I could understand the word "instantaneously writing to file".Can you explain me.

 

0 Kudos
Message 3 of 4
(1,850 Views)

Hi Anbarasan,

 


@ANBARASAN wrote:

I could understand the word "instantaneously writing to file".Can you explain me.


I guess you don't understand what I meant with "instantaneously": instead of collecting data in an array you should write the data immediatly to a (TDMS) file. (Maybe it could help to use a producer-consumer pattern when your PICOscope reads the signal at 31MHz samplerate.)

 

You still haven't provided any code…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(1,840 Views)