Doug,
If your dynamo hasn't been used for some time, there may not be anything wrong with it, other than it has lost it's residual magnetism. To rectify this, remove the 2 wires from the dynamo, then with another length of wire, connect the live side of the battery to the 'F' terminal for about 3 seconds. (There will be a spark and about 3 amps discharge from the battery). This will re-magnetise the field coil to the correct polarity to match the battery. Then reconnect the 2 wires and run the engine. If there is still no charge, you will need to check out the regulator.
Regards,
Eddie.