03-23-2014 05:43 PM
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 ?
Solved! Go to Solution.
03-23-2014 07:38 PM - edited 03-23-2014 07:39 PM
never mind, i can't read
03-23-2014 08:08 PM
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.
03-23-2014 08:30 PM
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.