Operating principles of inline samplers