The required magnetic field can be introduced into a component in a number of different ways.
1.Using a permanent magnet or an electromagnet that contacts the test piece
2.Flowing an electrical current through the specimen
3.Flowing an electrical current through a coil of wire around the part or through a central conductor running near the part.