FS FORCE Forum Index FS FORCE
Feel What Its Like To Fly!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FSConnect - Request for help

 
Post new topic   Reply to topic    FS FORCE Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
IanH1960



Joined: 21 Apr 2007
Posts: 3

PostPosted: Sat Apr 21, 2007 10:39 pm    Post subject: FSConnect - Request for help Reply with quote

Hi,

Can I ask an FSConnect question here?

I'm trying to read some data from fs9 which does not appear to have a Token variable or Parameter but which I think is available in fs9 memory. The data is the aircraft acceleration components and the FSUIPC SDK lists them as being at "offsets" 0x3060, 0x3068 and 0x3070. Is there a way I can read these data using, for example FSConnect's fscMemRead calls or are these addresses FSUIPC specific?

(I'm having to port the sample code to another language and on trying a memory read for data at 0x3060 I get a "SendMessage" call return of 9 when I think should be getting a -ve value for the string Atom. I think 9 is an error code)

Any help would be much appreciated.

Ian
Back to top
View user's profile Send private message
RussDirks
Site Admin


Joined: 13 Sep 2003
Posts: 369
Location: Chilliwack, Canada

PostPosted: Sat Apr 21, 2007 11:41 pm    Post subject: Reply with quote

Hi Ian,

You can use fscMemRead, but the trick is to know which address to read from. The FSUIPC offsets are just that, offsets into FSUIPC's own memory, not the actually memory address of the data in question. So like I say, if you can find the address of the data, you can read it.

Russ
_________________
Russel Dirks
Forum Moderator
Back to top
View user's profile Send private message
IanH1960



Joined: 21 Apr 2007
Posts: 3

PostPosted: Sun Apr 22, 2007 12:18 am    Post subject: Reply with quote

Thanks Russ

I'll see if I can find any info on fs9 memory addresses in MS's SDK materials.

Ian
Back to top
View user's profile Send private message
IanH1960



Joined: 21 Apr 2007
Posts: 3

PostPosted: Tue May 29, 2007 1:17 am    Post subject: Reply with quote

Hi again Russ,

A quick note to say thanks for making FSConnect available. I didn't manage to find the acceleration components I was looking for but instead read the aircraft velocity components and took it from there.

The application is driver software for a motion cockpit - the project is still under development but I've written up a page or two about it at http://buggies.builtforfun.co.uk/Sim/

A quick question - what's the situation with FSConnect and FSX? I only have fs9 on my machine which simply isn't up to running FSX so I haven't been able to test the software with the new version.

Thanks again,

Ian
Back to top
View user's profile Send private message
RussDirks
Site Admin


Joined: 13 Sep 2003
Posts: 369
Location: Chilliwack, Canada

PostPosted: Wed May 30, 2007 9:17 am    Post subject: Reply with quote

Quote:
A quick question - what's the situation with FSConnect and FSX? I only have fs9 on my machine which simply isn't up to running FSX so I haven't been able to test the software with the new version.


I'm not planning on upgrading FSConnect for FSX, due to the fact that FSX includes SimConnect, which basically does the same thing, but a lot better.
_________________
Russel Dirks
Forum Moderator
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    FS FORCE Forum Index -> General Discussion All times are GMT + 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group