Here's a 'lesson learnt" of......... "don't miss the obvious"
Whilst running in my newly built bike it got dark and I found the charging had stopped at some point, so I lost the lights 20 mins after turning them on. I ended leaving the bike at my brothers and borrowing a car to get home
During the rebuild I had put new bearings in the dynamo, cleaned it all up, and it tested out just fine on the bench using a drill to spin it and a mechanical regulator connected up which charged a 6v battery and ran a headlight bulb at the same. I fitted the dynamo and a DVR2 unit....and the charging was fine...at least for some of the 600 miles of running in
Before giving up and borrowing the car I tried the test of joining the field and armature connections together and started the engine, but the dynamo was not generating any volts between the connections and earth, so I concluded the dynamo was at fault and I was not going to be able to fix that at my brothers place.
So, after going the get the bike the next day (in daylight) I removed the dynamo and this is when things got "interesting". Joining the connections and spinning the dynamo using a drill it would generate up to 16 volts whilst lighting a 12v headlight bulb eg the dynamo seemed fine.
The dynamo would also run fine as a "motor" when connected to a 6v battery and the resistances of field and armature all measured OK.
The PROBLEM was that it seemed to me that the dynamo needed too many revs from the drill to start "self generating" almost like there was not enough "residual" magnetism in the field coil.
Anyway, after much messing about with the wires under the dynamo's cover (as I thought they must be shorting to earth) I fixed the problem by CLEANING the armature and brushes and on the bench it started self generating at a much lower rpm.
The armature did not look that bad and I've no idea why the armature had got dirty at all, within 600 miles of it being cleaned during the rebuild, but that cured the problem and the charging is working fine now.
If it happens again at least I will know what to do to fix it, and I will then get new brushes as maybe they have degraded in some way.
In other posts people have had problems with having to reflash the field multiple times to get the dynamo to work, but I wonder if the issue they had was actually a dirty armature?