Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi there!

 

I thought about creating a new topic for questions begin with how can I..? Not for problems, mainly for solutions, which need information and support.

 

My first question is, that how can I make FSX and/or FSUIPC write out the COM1 active and COM1 standby frequencies onto the main screen during simulation? Is this possible?

 

If you think that creating this topic is not a good idea, please delete it and transfer my question to the appropriate topic.

 

Thanks for your help!

Posted

I thought about creating a new topic for questions begin with how can I..? Not for problems, mainly for solutions, which need information and support.

 

That's exactly what the FAQ subforum if for. There's also the User Contributions subforum which is less for problem solving than additions made by users.

 

My first question is, that how can I make FSX and/or FSUIPC write out the COM1 active and COM1 standby frequencies onto the main screen during simulation? Is this possible?
 
Well, depending on how you want them displayed you could either simply use the FSUIPC Logging facilities. On the right-hand side of the Tab there's a "Monitor" section and there you can monitor up to 4 different offsets, to screen or title bar (or both) optionally. You'd need to find the correct offsets in the Offset List (one of your FSUIPC Documents).
 
The other, more sophisticated way is to write a small Lua plug in to act on COM1 and COM2 offset changes (via event.offset) and format and display the results in any desired fashion for display using the ipc.display function.
 
Pete
Posted

Hi Pete!

 

Thanks for your fast reply.

 

Okay, I will search for the User Contributions forum, for my next question. FAQ is OK as well, but these "how can I...?" questions are not frequently asked in my opinion.

 

Anyway, back to the solution. I will check the monitor section, but I'm more interested in the sophisticated way. Unfortunately I'm not so competent in FSUIPC and LUA programming yet, but I'm intented to be. So could you please tell me how exactly to write/make that lua plugin you've mentioned?

 

It would be a big help for me.

 

Thanks a lot!

Posted

It would be a big help for me.

 

The Lua language is well documented on their website and in books. All FSUIPC adds are a set of libraries of functions to handle FS matters. There are lots of examples in your FSUIPC Documents folder as well on in the User Contributions subforum, and I think those are really the best way to learn. The Lua reference documentation for FSUIPC is also provided in your FSUIPC Documents folder.

 

Pete

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.