LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The PF Usage (computer’s memory) begins to increase until the vi stop and leave work.

Hello everybody I have an Acquisition system for analog signals, I’m using 2 PCI-6133, for connecting the analog signals, I’m using 2 modules (BNC-2110) and DAQmx for developing my application, there are 8 channels for each board (Total= 16), PCI-6133 can acquire 2.5 MS/s/ch (Mega samples by second by channel), as you can see in the include vi I’m only acquiring a part of that sampling, I’m using only a waveform graph for 16 signals. The problem is that the PF Usage (computer’s memory) begins to increase until the vi stop and leave work. I’m not really sure if the parameters are introduced correctly or I have programming errors. The BNC-2110 modules has 2 digital entries, I made a bridge between them, and I built an external/analog timer with a 555 CI for acquiring each 5 seconds and not acquiring for another 5 seconds, please, I need your help. Thank you very muchGod Bless you
0 Kudos
Message 1 of 5
(2,751 Views)

If I read your code correctly, you are creating, configuring, starting, acquiring, stopping and clearing multiple DAQmx tasks 10 times a second.

 

Each time you create.... a new DAQmx task, the required resources (memory buffers to store the data) are set aside to do the acq. These resources are not released by LV until you exit LV.

 

So you can avoid repeatedly allocating new resources by butting all of your "create - start" before the loop and only do acquisition tasks INSIDE the loop. Similarly move the stop and close to to after the loop.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 5
(2,745 Views)

Hello Ben

 

Thank you, I dont understand you very well, so, could you help me, making the changes in my vi? please, 

 

See you

Thanks 

 

0 Kudos
Message 3 of 5
(2,705 Views)
Actually the changes that Ben is proposing are the changes I helped you out with on your other post, the one in spanish.
Salvador Mikel
National Instruments
Ingeniería de Aplicaciones
www.ni.com/soporte
0 Kudos
Message 4 of 5
(2,686 Views)