You have two knock sensors on your engine, one in the front near the starter.
And another near the rear of the engine, near the center between the cross member and oil pan.
Unplug the sensor and use your DVOM and put the red probe on the single wire on the plug.
Put the black probe on a good ground, with the ignition key in the run position, not with engine running. You should have voltage.