Jump to content
Sign in to follow this  
FSlikerX

Aerosoft Airbus TCAS

Recommended Posts

Hi,

 

is there any LVar or any LUA-script whivh I can read The set transpoder squwack with?

 

Cheers

All the Transponder functions and Lvars/FSX offset can be found under the TCAS/XPDR section in the Aerosoft Airbus module 4.3 and in the Transponder section of common.lua (in fsx\modules\linda\system folder).


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

All the Transponder functions and Lvars/FSX offset can be found under the TCAS/XPDR section in the Aerosoft Airbus module 4.3 and in the Transponder section of common.lua (in fsx\modules\linda\system folder).

Thank you so much

All the Transponder functions and Lvars/FSX offset can be found under the TCAS/XPDR section in the Aerosoft Airbus module 4.3 and in the Transponder section of common.lua (in fsx\modules\linda\system folder).

Okay:

'local buffer = ipc.readUW(0x0354)

return string.format("%04x", buffer)'
if I wish just to shows this text via ipc.display(), what would the command look like?
( ipc.display(ipc.readUW(0x0354)) doesn't work correct)

Share this post


Link to post
Share on other sites

 

Thank you so much

Okay:

'local buffer = ipc.readUW(0x0354)

return string.format("%04x", buffer)'
if I wish just to shows this text via ipc.display(), what would the command look like?
( ipc.display(ipc.readUW(0x0354)) doesn't work correct)

 

 

 

Good programming technique would be for you to call the function rather than access the ipc.readUW(0x0354) directly, The advantage is that is returns a formatted string. I can't check myself but, if everything else is correct, you should use something like ipc.display(TCASfunction()).


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

Good programming technique would be for you to call the function rather than access the ipc.readUW(0x0354) directly, The advantage is that is returns a formatted string. I can't check myself but, if everything else is correct, you should use something like ipc.display(TCASfunction()).

Awesome thank you!

By the way: Is it possible to controll the number buttons of the Transponder via LINDA/FSUIPC? (in the actions.lua is nothing which may be used for this)

 

Best whishes

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...