Problem using python scripting. Need help..!

I tried to make a speedometer as given in this link

But, its not working. Can anybody help me out with this?

This is my file : velo.blend (200 KB)

velo.blend (219 KB)
This should do it

Thanks a lot. My problem is solved. Can you tell me one more thing. I want to make a line graph of this velocity w.r.t. time in blender using python scripting. I googled for that, bt there was only the methods to make the 3D bar graph. help me.

Your best bet is to use drawLine()
I’ll have a go sometime, because i think it will be too hard for you :confused: