Going off the E36 Bentley manual, test the airflow meter like so,
First check voltage - peel back the harness boot from the airflow connector. Find your pins, looking from the drivers side front wheel fender they should appear like so:
4
5 3
Blank
Blank 2
1
Turn on the ignition key, then check for approx 5V between terminal 1 and ground (earth). Turn off the ignition. If voltage is very low or absent, check wiring from airflow to ECM.
Next test, check the airflow meter itself.
Take off the intake boot, connect multimeter (in ohms setting), between terminal 1 & 2.
Swing vane inside airflow meter through it's travel and watch the resistance. It should change steadily without interuption. If this checks out move onto next test.
Now check the Intake Air Temperature sensor which is integrated into the airflow meter. Connect multimeter (in ohms setting) to terminals 4 & 5. Check the resistance depending on air temperature. Compare your results to these references:
1. 14 +or- 2 degress F (-10 +or- 1 degree C) Resistance should be 7-11.6 Kilohms
2. 68 +or- 2 degress F (20 +or- 1 degree C) Resistance should be 2.1 - 2.9 Kilohms
3. 176 +or- 2 degrees F (80 +or- 1 degree C) Resistance should be 0.27-0.40 Kilohms