A Nanofactory system integrates an STM tip into a TEM specimen holder. The tip contacts the object and allows the electrical characterization of selected nanosystems while observing them in the TEM. Current-voltage characteristics of carbon materials such as sp2-hybridized graphene ribbons or sp1-hybridized chains of carbon atoms have already been studied.