Cockpitbuilders.com

Main => General Discussion Board. => Topic started by: Pilotgil on April 28, 2012, 09:46:08 AM

Title: Software development help
Post by: Pilotgil on April 28, 2012, 09:46:08 AM
Hi,

I need to develop a small application that grabs some data from FS9 across WideFS. I need to grab the framerate and display it in a window on my client side of WideFS. I am going to admit my complete lack of understanding on how to do this. However, I do have quite a bit of programming experience but not in C. I can do Visual Basic.

Is there any one who has some small source code that they would not mind sharing that I can use to just understand the process? I have heard of remote buttons programs on the client side to drive FS so this maybe something that I could use as a tool to understand.

Thanks for any help or direction that anyone can provide,

Gil
Title: Re: Software development help
Post by: geneb on April 30, 2012, 06:53:25 AM
If framerate info is available via FSUIPC, it would be easy to cobble together a VB6 app to do the job - The FSUIPC SDK has some good VB6 examples.

g.
Title: Re: Software development help
Post by: Trevor Hale on April 30, 2012, 08:01:39 AM
I am a pretty easy going guy, and I know for a fact that I freak when someone tells me to RTFM, however I have seem many discussions about the LUA Plugin for FSUPC that Peter wrote in there.  I have seen this used (to write a script) that moves auto throttles before and it is nice because it is built right into fsupic.  Get a list of the offsets and find out if the frame rate is listed.

Asside from that, read through Peters Manual, regarding LUA Programming.
Title: Re: Software development help
Post by: rprather on April 30, 2012, 11:23:39 PM
Hi Gil,

Not sure if the links are still functional, but this guy appears to have done something similar to what you are asking, using FSUIPC:

http://forum.avsim.net/topic/224135-any-way-to-monitor-fps-remotely/ (http://forum.avsim.net/topic/224135-any-way-to-monitor-fps-remotely/)

I believe SimConnect can produce that kind of information over a network, but unfortunately it's only usable in FSX.

Regards,
Robert
Title: Re: Software development help
Post by: Pilotgil on May 09, 2012, 11:21:34 AM
Thanks All,

I dusted off my programming skills, bought an old but legal copy of VB6, and banged away at the keyboard. A few hours later....I have a small app running on the client-side of WideFS spitting out the frame rate once a second.

Thanks for the advice!