Giuseppe Reda Posted October 12, 2023 Report Posted October 12, 2023 Hi, i would like to know if it's possible to send to an offset (for example 0x66D0) a value (such as 0/1)when the threshold it's reached or leaved ... in my case the default value of 75% and eventually how to do ? Thanks in advance. Giuseppe Reda
John Dowson Posted October 16, 2023 Report Posted October 16, 2023 Yes, it is possible using a lua script. You would need to monitor the brake position offsets (0x0BC4 & 0x0BC6) using event.offset, and then write/update your offset depending upon the value for each brake. John
Giuseppe Reda Posted October 21, 2023 Author Report Posted October 21, 2023 Hi, Mr John, thanks for reply. Good news that ! I never used LUA but i will give a look around that and surely i will solve my problem. Thanks again. Regards. Giuseppe Reda
John Dowson Posted October 21, 2023 Report Posted October 21, 2023 Give it a try and post your script if you have any problems. You probably want to auto-start the lua - see the Advanced User guide on how to do this. And if you have any issues, first try debugging yourself using the provided lua debug logging facilities. John
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now