Flightdeck Solutions Forum Index Flightdeck Solutions
The place to meet and talk with fellow builders
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FC1 and AST axis offsets!

 
Post new topic   Reply to topic    Flightdeck Solutions Forum Index -> FDS - Interface Products
View previous topic :: View next topic  
Author Message
dcutugno



Joined: 17 May 2005
Posts: 60
Location: Italy

PostPosted: Fri Jun 19, 2009 5:22 am    Post subject: FC1 and AST axis offsets! Reply with quote

I posted this also on AST forum following this discussion http://www.airsimtech.com/forum/forum_posts.asp?TID=286&PN=1
After asking for support from dev team and still nothing i struggled myself thinking how i would have solved the probem...

I only tell you that for writing this simple piece of code thanks to FSUIPC and LUA programming i had to learn myself some coding, also P.Dowson is away until 30 june so i can't ask to him even worse?!

Now the good thing i still ask myself how many AST customers managed this?! 'cause the flap logic don't work correct if you use standard offset...

Neither i have FScommunicator or simlar will the FBW module released for us advanced cockpit builder?

Now you have to copy the text below to a file called ipcReady.lua and put it in the modules folder of FS, next you have to assign the required axis to fsuipc direct mixture4 and calibrate it, now you will see the values in the Flaps lever hardware in AST server assign the values for gates and you are done!

ipcReady.lua

Paste the code below:

Code:
--Lua Script done by Davide C. for AST Flap control to offset 4898

function lever(controlnum,param) --called by mixture4 axis
ipc.writeSW(0x4898, param) --Write the axis to AST offset 4898 for flap
end

event.control(65922, 256, "lever") --monitor control axis mixture4


Frans,Steve,Peter how do you use those FC1 with AST?
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Flightdeck Solutions Forum Index -> FDS - Interface Products All times are GMT - 5 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