Sample format – Spectrum Brands MI.20xx User Manual
Page 53
![background image](/manuals/154775/53/background.png)
FIFO Mode
Programming
(c) Spectrum GmbH
53
The following example shows how to sort the channel data when using 4 channels in FIFO mode:
Sample format
The sample format in FIFO mode does not differ from the one of the standard (non FIFO) mode. Please refer to the relating passage concerning
the sample format in the standard acquisition chapter.
for (i = 0; i < (lBufferSizeInSamples / 4); i++)
{
Data[0][i] = FIFOBuffer[i * 4 + 0];
Data[1][i] = FIFOBuffer[i * 4 + 2];
Data[2][i] = FIFOBuffer[i * 4 + 1];
Data[3][i] = FIFOBuffer[i * 4 + 3];
}