An optical waveguide, comprising a substrate and multiple layers of solid state material disposed on the substrate, a non-solid core extending through at least one of the multiple layers, an intersecting waveguide portion for use in injecting light into said non-solid core, one or more antiresonant reflecting layers adjacent to the non-solid core whereby light is substantially prevented from leaking out of the channel in a transverse direction, and an electrical component in fluid communication with the non-solid core to control sample material movement through the non-solid core.