Thread-based microfluidics under the electron microscope, including ESEM mode: from programmable microstructures to complex functions. Examples for detection of microbuckling, kinking, swelling, turbulence effects etc. using KSA and other techniques.