Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi Pete!

 

I am building an Airbus x Extended FCU.

 

I already read out all the LVars that I will need for Displaying the Heading, Altitude, Speed, Vertical Speed. Now I'm stuck!

 

For the Arcaze Board I need to write the LVar Data in the Offsets of FSUIPC. I don't know how to do that! Could you/anyone give me an example or a ready *.lua file ( :razz:)?

 

Thanks

 

Allrounder

Posted
For the Arcaze Board I need to write the LVar Data in the Offsets of FSUIPC. I don't know how to do that! Could you/anyone give me an example or a ready *.lua file ( :razz:)?

 

 

Sorry, I don't understand. You are already reading the data you want, using a Lua plug-in I assume? Where do FSUIPC offsets come into it? What do you actually need to achieve?

 

Regards

Pete

Posted

I'm not even sure that works with the extended, that was for the original Airbus from years ago and the display facilities in LINDA are specifically for VRinsight hardware, they are no use to anyone else. I suppose you could use them to research building your own scripts though.

Posted

I'm not even sure that works with the extended, that was for the original Airbus from years ago and the display facilities in LINDA are specifically for VRinsight hardware, they are no use to anyone else. I suppose you could use them to research building your own scripts though.

It work very well with Extended

 

More a new list of LVars product by aerosoft.

 

I am an Hardsimmeur and my cockpit work with SIOC + FSUIPC + LUA.

 

http://www.super-marche.com/fs/IMG_08.jpg

 

I think that 95 % of Airbus instructions is possible.

 

Excuse my English lnagage

 

Michel

Posted (edited)

Hi there!

 

Thanks for your Replies! 

 

Your happiness is here :

 

http://forum.aerosoft.com/index.php/topic/37876-lua-scripts-for-airbusx-real-throttle%3B-upd-16th-sept/

 

Michel (a fan of AXE)  :razz:

 

 

I already know this File, but is this not just for Inputs? However I created a *.lua File that should write Speed, Altitude, Heading, Vertical Speed in free Offsets. 

 

a = 0
while a < 255 do
b = 0
c = 0
d = 0
e = 0


--IAS
b = ipc.readLvar("L:AB_AP_Speed_Select")
--HDG
c = ipc.readLvar("L:AB_AP_HDG_Select")
--ALT
d = ipc.readLvar("L:AB_AP_ALT_Select")
--VS
e = ipc.readLvar("L:AB_AP_VS_Select2")


--Writing Speed
ipc.writeUB(0x66C0,b)

--Writing Heading
ipc.writeUB(0x66C1,c)

--Writing Altitude
ipc.writeUB(0x66C2,d)

--Writing Vertical Speed
ipc.writeUB(0x66C3,e)

ipc.sleep(800)
end

I don't know if the Code Will work, because I still don't have my Arcaze Board. What do you Guys think? Would it work?

 

@Pete

I hope now you know what I want it to do ;)

 

@Gardan (Michel)

How did you write the Data in the Displays? With the File in the Link you gave me?

 

Thanks!

 

Philipp

Edited by xxallrounderxx

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.