cellular55 Posted January 3, 2015 Report Posted January 3, 2015 Hi, I have created a macro to try to automate some CDU actions, but that does not seem to run and in FSUIPC log I get the message "... not useful because it causes an exception". Other macros I have created for the same aircraft are good, only the one trying to manage the CDU is having issue. There is an explanation for that? Also using in a LUA the controls managing the CDU (listed in the PMDG SDK) seem to create problem: the first time you call the control to simulate for example the push of the button L1 (ipc.control (70166,1)) everything goes okay, but after if you simulate to push again the same button nothing happens. Any help will be really appreciated. Thanks and kind regards Joe
Pete Dowson Posted January 5, 2015 Report Posted January 5, 2015 I have created a macro to try to automate some CDU actions, but that does not seem to run and in FSUIPC log I get the message "... not useful because it causes an exception". Other macros I have created for the same aircraft are good, only the one trying to manage the CDU is having issue. There is an explanation for that? Yes. It means the code used in the CDU is not standard and cannot be called in the standard way used by Mouse Macros without crashing FS. The Mouse Macro-making facilities detect this and report it so you don't end up crashing FS. Also using in a LUA the controls managing the CDU (listed in the PMDG SDK) seem to create problem: the first time you call the control to simulate for example the push of the button L1 (ipc.control (70166,1)) everything goes okay, but after if you simulate to push again the same button nothing happens. This will be a function of the way PMDG implemented things. I expect the button needs "unpushing" in order to allow it to be pushed again. I don't really know much about PMDG add-ons I'm afraid. Pete
cellular55 Posted January 7, 2015 Author Report Posted January 7, 2015 hHi Pete, thanks for the reply. Problem solved with LUA solution: the problem was related the parameter value of ipc control statement. I found the solution looking into the user contribution section. Thanks again and kind regards Joe
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