pilotjohn Posted December 29, 2022 Report Posted December 29, 2022 Hi Everyone, I'm looking to see if anyone managed to get the Caravan condition lever to work through FSUIPC? It seems to be using SET_FUEL_VALVE_ENG1, but something's off. It has 3 positions: cutoff, low and high. When moving the lever in the sim, I see the events but both high and low have a param of 1, and cutoff 0. Sending these form FSUIPC gets me cutoff at 0, and low at 1, but I can't seem to get into "high" from "low" or from "high" to "low" (sending 1 as param). I found an Lvar called Condition_Lever_CutOff_1, which is set to 2.0 when the level is high, but setting this via FSUIPC does nothing in the aircraft. PJ
John Dowson Posted January 2, 2023 Report Posted January 2, 2023 Have you tried using the provided presets: ? John
fdcomet Posted February 10, 2023 Report Posted February 10, 2023 On 1/2/2023 at 8:44 PM, John Dowson said: Have you tried using the provided presets: ? John Hi John, Is it possible to share the whole list or where I can find it, thanks!
John Dowson Posted February 10, 2023 Report Posted February 10, 2023 See https://hubhop.mobiflight.com/presets/ Please read the documentation on the WASM and using presets, in the Advanced User guide. John
fdcomet Posted February 10, 2023 Report Posted February 10, 2023 2 hours ago, John Dowson said: See https://hubhop.mobiflight.com/presets/ Please read the documentation on the WASM and using presets, in the Advanced User guide. John Thank you very much John!
Gabe_62 Posted February 17, 2023 Report Posted February 17, 2023 I use a combo of FSUIPC and Axis & Ohs and Streamdeck profiles .... hence the A & Ohs... loads of presets. Could someone explain why I can watch sim variables as they occur but only L vars ... not B vars. Why can't I see B vars occur ? The Black Square Caravan has a 3 position condition lever and I can switch between Cutoff and Low/Ground idle easily... but the High Idle is a B Var and I can only get it to show its activated (I e after manually changing it using the mouse) but cannot "initiate" the change using a button. Why are things so complicated ? Sad face x5..... Thnx
John Dowson Posted February 17, 2023 Report Posted February 17, 2023 4 hours ago, Gabe_62 said: Could someone explain why I can watch sim variables as they occur but only L vars ... not B vars. B vars are "input events" - see https://docs.flightsimulator.com/html/Additional_Information/Reverse_Polish_Notation.htm (section Variable Types). We can only provide access to the variable types permitted in the SDK - A type (simvars) and k type (events) via simconnect, and L type (lvars) and h type (hvars) via the gauges API using the WASM. You may be able to use other variable types via calculator code, but you cannot read/know their value - if they have one. As a b-type variable is an input event, I doubt it has a value - it is what you input.... Then again, I know nothing about b type variables - maybe ask about those on the Asobo forums.... 4 hours ago, Gabe_62 said: Why can't I see B vars occur ? As I said, they are input events, whatever that means, and there is no provision in the SDK to access or know about such variable types. 4 hours ago, Gabe_62 said: The Black Square Caravan has a 3 position condition lever and I can switch between Cutoff and Low/Ground idle easily... but the High Idle is a B Var and I can only get it to show its activated (I e after manually changing it using the mouse) but cannot "initiate" the change using a button. I think the b var is for control. as it is an input event. Try listing the available lvars to see if the state is held in one of those. As I don't have this aircraft, and it isn't listed in the MF presets, I can't really help with this. 4 hours ago, Gabe_62 said: Why are things so complicated ? Ask Asobo / MSFS - it has been very difficult for us 3rd party developers to try and provide what we can with the APIs that they provide.... 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