Jackson
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by Jackson
-
-
Hi Pete,
thank's and have nice holidays.
Jackson
-
Hi Pete,
thanks for your quick replay. I understud now, how to deal with tis two offsets. But according to the Lua plug-in, I have to dig out, how this works, but seems to be more comfortable.
Is there a place, where I can see an example of a script with an event.offset ?
I will go through your Lua documents, supplied with FSUIPC.
Jackson.
-
Dear Pete,
I have already started, to built my own cockpit. Now I'm trying to change ECAM views of the airbusX with a lua script. I have a switch connected via Opencockpit I/O cards. The sioc script is the following.I found out quite hard, that I have ti change letters into ASCII code and use offset with length 1 and write every letter separate.
But how can I get FSUIPC to know, the name is complete and to start the action.
Enclosed the Sioc sript.
Have a nice time over the years change.
Best regards
Jackson.
Var 201 Name Para, Link FSUIPC_OUT Offset $0D6C Length 4 // Parameter for Var 0202Var 202 Name Prog1, Link FSUIPC_OUT Offset $0D70 Length 1 // ProgramVar 203 Name Prog2, Link FSUIPC_OUT Offset $0D71 Length 1Var 204 Name Prog3, Link FSUIPC_OUT Offset $0D72 Length 1Var 205 Name Prog4, Link FSUIPC_OUT Offset $0D73 Length 1Var 206 Name Prog5, Link FSUIPC_OUT Offset $0D74 Length 1Var 207 Name Prog6, Link FSUIPC_OUT Offset $0D75 Length 1Var 208 Name Prog7, Link FSUIPC_OUT Offset $0D76 Length 1Var 209 Name Prog8, Link FSUIPC_OUT Offset $0D77 Length 1Var 210 Name Prog9, Link FSUIPC_OUT Offset $0D78 Length 1Var 211 Name Prog10, Link FSUIPC_OUT Offset $0D79 Length 1Var 212 Name Prog11, Link FSUIPC_OUT Offset $0D7A Length 1Var 213 Name Prog12, Link FSUIPC_OUT Offset $0D7B Length 1Var 214 Name Prog13, Link FSUIPC_OUT Offset $0D7C Length 1Var 215 Name Prog14, Link FSUIPC_OUT Offset $0D7D Length 1Var 0102 Name Eng_SW Link IOCARD_SW Input 2{IF &Eng_SW = 1{&Para = 160&Prog1 = 76 // L&Prog2 = 117 // u&Prog3 = 97 // a&Prog4 = 32 // Leerzeichen&Prog5 = 65 // A&Prog6 = 83 // S&Prog7 = 95 // _&Prog8 = 65 // A&Prog9 = 105 // i&Prog10 = 114 // r&Prog12 = 98 // b&Prog13 = 117 // u&Prog14 = 115 // s}}Var 0104 Name Bleed_SW Link IOCARD_SW Input 4{IF &Bleed_SW = 1{&Para = 161&Prog1 = 76 // L&Prog2 = 117 // u&Prog3 = 97 // a&Prog4 = 32 // Leerzeichen&Prog5 = 65 // A&Prog6 = 83 // S&Prog7 = 95 // _&Prog8 = 65 // A&Prog9 = 105 // i&Prog10 = 114 // r&Prog12 = 98 // b&Prog13 = 117 // u&Prog14 = 115 // s}}
How to get Values from a Lvar to FSUIPC Offset or SIOC.
in User Contributions
Posted
Hello all,
I would like to built my Homecockpit and have soldered my first cards from opencockpit together. I tried as well some programming with SIOC, to toggle some switches with a lua script and FSUIPC offsets.
But now, I have no clue, how to get values like AP Altimeter or HDG from a Lvar to the 7 segment displayor other values after initialising my Airbus X Extended within FSX.
If somebody cn just give me a hint, would be very useful.
Best Regards
Jackson