As the title says. I tried some of my own code and the wiki example but all it ever returns is nil. I have the AM 4.2 beta 8 and 4.1 beta 5 plugin.
I assume its a bug but please let me know if anyone has it working.
New RPN script function not working
New RPN script function not working
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: New RPN script function not working
Works fine for me with AM 4.2 beta 8 and 4.1 beta 5 plugin.
Yves
Yves
Re: New RPN script function not working
Hmm, Did you run the exact code given in the wiki example? I’ll check again.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: New RPN script function not working
Yes I tried first with the demo code.
I implemented rpn in many instruments mainly to replace fs2020_variable_write.
Be aware that reading a variable works only when the function is executed. The callback is not automatically executed when the variable change as it is the case with fs2020_variable_subscribe.
fs2020_rpn does not work with input events (B:) and component variables (O:)
Yves
I implemented rpn in many instruments mainly to replace fs2020_variable_write.
Be aware that reading a variable works only when the function is executed. The callback is not automatically executed when the variable change as it is the case with fs2020_variable_subscribe.
fs2020_rpn does not work with input events (B:) and component variables (O:)
Yves
Re: New RPN script function not working
Ok thanks I’ll try again.Yes I tried first with the demo code.
I don’t see the need to specifically do that across the board but more for specific ones that can’t be reliably read with the normal subscribe. It’s why I asked for this feature in the first place.I implemented rpn in many instruments mainly to replace fs2020_variable_write.
Yep fully understand that. It’s not a subscribe. You have to request it whenever you want an update. I wasn’t expecting the B,I,O vars to work due to the long standing issue with access to them. They had better resolve that soon.Be aware that reading a variable works only when the function is executed. The callback is not automatically executed when the variable change as it is the case with fs2020_variable_subscribe.
fs2020_rpn does not work with input events (B:) and component variables (O:)
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: New RPN script function not working
I have it working now so thank you for confirming it was ok. Not entirely sure what caused it not to work before.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D