aims Posted July 6, 2015 Share Posted July 6, 2015 Hi Sir, I notice inside the PcommServer Manual there is a method GetVelocity() and GetNetActualPosition(). But Inside the library (my version is 1.0), I can see the GetNetActualPosition() but I CAN NOT See GetVelocity(). How do I read the velocity of the motor in Turbo Clippper (i am a bit confuse on the calculation)? what method should I use to read the velocity? Could you please explain or give some example on the formula? Link to comment Share on other sites More sharing options...
steve.milici Posted July 6, 2015 Share Posted July 6, 2015 What is the version reported from the properties page of the executable: "C:\Windows\System32\pcommserver.exe"? Link to comment Share on other sites More sharing options...
aims Posted July 9, 2015 Author Share Posted July 9, 2015 version 1.0. what is the latest version? Link to comment Share on other sites More sharing options...
steve.milici Posted July 9, 2015 Share Posted July 9, 2015 The latest version is 4.4.0.0. Are you sure it shows 1.0? Can you show a screen grab of the properties window? Link to comment Share on other sites More sharing options...
aims Posted July 10, 2015 Author Share Posted July 10, 2015 my apologize. I look in the VSE 2010 COM reference is show PCom lib 1.0 so I though is 1.0. In the properties window is show 4.3.3.0. So, what would you suggest me on how to read the velocity? Link to comment Share on other sites More sharing options...
steve.milici Posted July 10, 2015 Share Posted July 10, 2015 I have checked with the programming department - this function has been removed. I would suggest using getresponse() with the motor velocity online "v" command. Link to comment Share on other sites More sharing options...
aims Posted July 12, 2015 Author Share Posted July 12, 2015 Yup...this what i am currently do. P for position and V for velocity But i dont why my UI will pop error on invalid data received on the velocity value after a few second. I am still debuging the UI, perhap it is because of my mistake on the calculation. By the way, could u please provide me the formula to calculate velocity based on the data received by using getresponse(#1V)?? i am sorry tat i am a bit confuse on what is explain in the manual. Because of the problem, i thinking of using other method then i found out the DPRam method. Unfortunately, it is removed. Thank you Link to comment Share on other sites More sharing options...
steve.milici Posted July 13, 2015 Share Posted July 13, 2015 To convert this to counts/msec multiply the response by 8,388,608/I10. If you can provide more details on the nature of the conversion you need we can be more descriptive. Link to comment Share on other sites More sharing options...
aims Posted July 14, 2015 Author Share Posted July 14, 2015 Alright, I think I got this. will try myself. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts