LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creeping memory use when using NI-9477

Solved!
Go to solution

Hi, I am writing digital outputs (4 line outputs, on demand, 10 updates per second) in a loop using DAQ assistant. When I use an NI-9477 as the output device the application memory use increases about 10MB per 15 minutes and will eventually run out of memory.

 

If I use a USB6009 as the output device the memory use is stable. Same code is used, the only difference is the physical channel.

 

Any suggestions as to what might be causing this behaviour ?

 

Digital Out.png

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

never mind, i can't read

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 4
(2,249 Views)

It doesn't help the problem you are asking about,

 

but don't convert to a cluster to undbundle.  You should just use Index Array with the bottom border dragged down until you have 4 outputs.

0 Kudos
Message 3 of 4
(2,237 Views)
Solution
Accepted by topic author JPP

Thanks for the tip Ravensfan.

 

To distill the code down to the bare essentials, one of the two VI's here leaks memory- the NI-9477 one. The other doesn't...

 

 

Anyway, the solution to my problem is to convert the express VI to DAQmx code. Smiley Happy

 

Download All
0 Kudos
Message 4 of 4
(2,224 Views)