Jump to content
The simFlight Network Forums
Sign in to follow this  
xxallrounderxx

Writing LVars in FSUIPC Offsets

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • 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.