On-line versus off-line analysis from a microfluidic device