Meter the sender unit with a DMM. Be very, very careful. Remember, your "empty tank" is full of petrol vapour and if 12 volts finds it's way directly onto that sender it could be very bad indeed. Make ABSOLUTELY sure the new gauge is compatible and wired up properly.