I use a Volt Ohm Meter and select continuity. Putting one lead on your power cords AC plug end and the other inside it's female IEC, you get a "beep" when you match up both ends. Make note of what goes where.
Next test your household wall outlets. They are marked internally as hot and neutral. If you don't know which way yours are wired, use the same VOM to determine.
Put the hot lead (red) in one vertical hole and the ground (black) in the round ground hole. If you read 120 volts, your red lead is connected to the hot. If you get zero you found the neutral.
Match that with previous results of beeping out the IEC and you have everything labeled where it goes.
As a personal note, I find it easier to draw a picture of the IEC results and where the hot and neutral are in the wall socket. Saves brain cells when your in the heat of soldering or trying to figure out what to connects to what.
Next test your household wall outlets. They are marked internally as hot and neutral. If you don't know which way yours are wired, use the same VOM to determine.
Put the hot lead (red) in one vertical hole and the ground (black) in the round ground hole. If you read 120 volts, your red lead is connected to the hot. If you get zero you found the neutral.
Match that with previous results of beeping out the IEC and you have everything labeled where it goes.
As a personal note, I find it easier to draw a picture of the IEC results and where the hot and neutral are in the wall socket. Saves brain cells when your in the heat of soldering or trying to figure out what to connects to what.