Frédéric-O DUCHEMIN Posted March 18, 2018 Report Posted March 18, 2018 Hi Paul and everyone can help me, I have started this thread here avoid the end of this post How I can old return offsets once the value is return ? Mean If strobe is 'ON' and nothing is changed the "FSUIPCConnection.Process()" doesn't need to return me value I have already. Thanks Regards Fred
Thomas Richter Posted March 18, 2018 Report Posted March 18, 2018 Hi, think about how should FSUIPCClient.dll know that there is a change without reading it. The check if there is no change and no further action should be done is in your hand only. Thomas
Frédéric-O DUCHEMIN Posted March 18, 2018 Author Report Posted March 18, 2018 Hi, I think you don't have read the link bellow or here: So you would be read I have offsets & function for that And my purpose it's about holding value it's calling at every FSUIPCConnection.Process() Regards Fred
Paul Henty Posted March 18, 2018 Report Posted March 18, 2018 Process() always brings back the current value. If you only want to do something when a value changes then you need to store the old value in a variable. The variable would need to be declared at the form or module level. Then after you Process(), you need to compare the current value with the old to see if it's different. Paul
Frédéric-O DUCHEMIN Posted March 18, 2018 Author Report Posted March 18, 2018 Ok Paul Have you a concrete example with this example I can make my functions like mid-AIR refuel, PMDG Offsets, and remove timers Thanks Fred
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