There are 3 main types of signal types that are likely to be fed to an ecu, first is hall effect, this is an open collector npn transistor with a limited collector current, generally 5mA max load. This type assumes pullup for npn or pulldown for pnp. Generally 10-22k, this type can be approximated to a signal gen biased above 0v with a diode pointing towards the generator.
Next up is totem pole, this is still transistors. 0.3/0.7v to 1v less than sender.supply, generally 500uA loading, this is essentially the same as the first without the diode.
And finally is inductive, this is a high impedance current mode differential signal, and its amplitude begins very small for small signals 50-70mV for 1kmph, getting up to 400mv around 10kmph, and peaking at around 2.8v at 120kmph, if you just want to feed in an input then set it for about 2.5v or 5v pk-pk, 0v centered.
There are some others like coil and points but i doubt that would be fed to an ecu.
If in doubt begin with inductive.