I call a DLL that reads from a digitizer. If I digitize 8192 16-bit samples, the routine spits out an array of 16384 bytes.
I need to cocatenate these byte pairs back into a 16-bit word.
Eaxmple:
Byte(0) > Byte(1) = Word(0)
Byte(2) > Byte(3) = Word(1)
Byte(4) > Byte(5) = Word(2)
I wrote a VI to do this however it takes 14 ms to execute (acording to the profiler) for 16384 bytes. This seems excessive considering a 8192 point FFT is < 1 ms.
Does anybody have an idea that is quicker?