LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Rich_Tennant_Tech

Express Node for Data Control - to average different data speeds and prevent buffer over runs

Status: New

Through normal programming this can be done, but it does take someone that really understands the problem and how to deal with it.  My proposal would be more useful for a new to intermediate user or when all that's needed is a simple and quick solution.  

 

It would work like this:

 

A simple "Data Control" Express Node that could take data acquired using modules that run at different speeds (like a NI 9211 and a NI 9239 running on a cDaq chassis), that would automatically control the buffer size (through averaging as one option) to prevent a program crash.  Then output the data at a equally consistent rate which could then be graphed or logged at a set rate as determined by a user.

 

As we know if a 9211 is running at 4Hz and a 9239 is running at 20Hz, that could produce a buffer over run.  I'm suggesting that a "Data Control" node be written that a programmer could use to graph and log data at a selectable rate no higher than the slowest module.  In my 9211 & 9239 example it would be 4Hz or less, and that would occur because internally it would be automatically averaging the 9239 data.  If a lower speed is selected (like 1Hz) then both would get averaged before the data gets output at 1Hz.