Hello pico-team,

I compiled c-examples provided for 2208 and unfortunatelly I get false valuse in CollectStreamingImmediate mode. The output(stream.txt) looks like:

For each of the 2 Channels, results shown are....

Maximum Aggregated value ADC Count & mV, Minimum Aggregated value ADC Count & mV

Max ADC Max mV Min ADC Min mV Max ADC Max mV Min ADC Min mV

ChA -112 = -68mV, 0 = +0mV ChB 9664 = +5944mV, 0 = +0mV

ChA 2241 = +1378mV, 0 = +0mV ChB 2242 = +1379mV, 0 = +0mV

ChA 5232 = +3218mV, 0 = +0mV ChB 5232 = +3218mV, 0 = +0mV

ChA -18596 = -11439mV, 0 = +0mV ChB -18596 = -11439mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

ChA 0 = +0mV, 0 = +0mV ChB 0 = +0mV, 0 = +0mV

Reading block seems to worke fine and deliver correct data in block.txt

From block.txt:

Block Data log

Results shown for each of the 2 Channels are......

Maximum Aggregated value ADC Count & mV, Minimum Aggregated value ADC Count & mV

Time Ch Max ADC Max mV Min ADC Min mV Ch Max ADC Max mV Min ADC Min mV

0 ChA 19712 = +12125mV, 6016 = +3700mV ChB 0 = +0mV, 9664 = +5944mV

2 ChA 19712 = +12125mV, -18596 = -11439mV ChB 0 = +0mV, 2242 = +1379mV

4 ChA 19712 = +12125mV, 6016 = +3700mV ChB 0 = +0mV, 5232 = +3218mV

6 ChA 19712 = +12125mV, -18596 = -11439mV ChB 0 = +0mV, -18596 = -11439mV

8 ChA 19712 = +12125mV, 2272 = +1397mV ChB 0 = +0mV, 0 = +0mV

10 ChA 19712 = +12125mV, 2242 = +1379mV ChB 0 = +0mV, 0 = +0mV

12 ChA 19712 = +12125mV, 2272 = +1397mV ChB 0 = +0mV, 0 = +0mV

14 ChA 19712 = +12125mV, 2242 = +1379mV ChB 0 = +0mV, 0 = +0mV

16 ChA 19712 = +12125mV, -19200 = -11811mV ChB 0 = +0mV, 19968 = +12283mV

18 ChA 19712 = +12125mV, -19456 = -11968mV ChB 0 = +0mV, 19712 = +12125mV

20 ChA 19712 = +12125mV, -19200 = -11811mV ChB 0 = +0mV, 19968 = +12283mV

What could be the reason for this different behavior? What do I wrong? I had already tested different Settings for timestamps and voltage values.

My goal is to write an application which start 2208 in streaming mode. GnuPlot\Octave shall catch the stream and visualize it live?

Is is a good approch to use streaming mode for such application? Maybe reading a blocks would be a better solution? Could you give me a hint?

Thanks & Regards

camilzi