loading
 
AVM Angle and VB-Script
UlliS from Germany  [42 posts]
11 year
Hello EDV,

the follow code dosnĀ“t work with VB-Script...

AVM_angle = GetVariable("NV_LOCATION_ANGLE")
AVM_angle = AVM_angle * 57.29
SetVariable "AVM_angle", AVM_angle

- Ulli
EDV  [328 posts] 11 year
Try to use this code:

AVM_angle = GetFloatVariable("NV_LOCATION_ANGLE")
SetVariable "AVM_angle", AVM_angle * (180 / 3.1415926535897932384626433832795)
UlliS from Germany  [42 posts] 11 year
Works fine!

Thank you EDV...

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index