Using a gas tach in a diesel can be done, but it is not just a matter of plugging it into the W terminal. There needs to be some electronics make the signal similar to the ignition signal. Andrew