hexagon logo

degrees radians

hello
How do I cycle in pcdmis degrees radians.
but not vb code. can be assignment..

example : 85.75° = 85° 45'
Parents
  • You can try : (angle value is your measured value)
    ASSIGN/V1= ((angle value)-(FORMAT("%d", anglevalue))*60
    ASSIGN/ANGLE=FORMAT("%d", anglevalue)+"°"+V1+"'"
    It should work in a report comment.
    I'm not at the CMM, if FORMAT("%d", anglevalue) doesn't work, you can try with ROUND(angle value) with a test if V1<0.5, you will have to add 1 to angle value.
Reply
  • You can try : (angle value is your measured value)
    ASSIGN/V1= ((angle value)-(FORMAT("%d", anglevalue))*60
    ASSIGN/ANGLE=FORMAT("%d", anglevalue)+"°"+V1+"'"
    It should work in a report comment.
    I'm not at the CMM, if FORMAT("%d", anglevalue) doesn't work, you can try with ROUND(angle value) with a test if V1<0.5, you will have to add 1 to angle value.
Children
No Data