If you don't have voltage at the ammeter, you will not have any at the headlight switch. I am assuming that you checked both sides of the ammeter? In that case, there is something wrong with the wire that comes up from the starter and is routed to the ammeter.