we could solve the original issue by changing the downsample mode to aggregate.
However, a new problem arises, which is that during the:
"while(hasAutoStopped == data.FALSE && get_str_latest_values_status == PicoStatus.PICO_OK)" loop,
the function "GetStreamingLatestValues" is called and returns "13" as the status. Checking the manual, this is not a valid status reply for this function. Also, the syntax for calling this function in the example does not correspond to that given in the manual.
in addition, the trigger function is never fulfilled, therefore we are not able to acquire any data in streaming mode (no problems in block mode).
Help would be highly appreciated.