Armando Chibante
-
Posts
25 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by Armando Chibante
-
-
Martin,
please try this:
go to FSUIPC, Technical and uncheck 'Discon elev trim axis for AP'.
That worked for me
Bye bye
Armando Chibante
-
Hi Brian,
This is how I read a string in VB6:
Dim acName() As Byte
Dim CraftName As String
Dim dwResult As Long
Dim cnt as Long
If Not FSUIPC_Read(&H3D00, 256, VarPtr(acName(1)), dwResult) Then Exit Sub ' Aircraft name
If FSUIPC_Process(dwResult) Then
cnt = 1
Do While acName(cnt) <> 0
CraftName = CraftName & Chr(acName(cnt))
cnt = cnt + 1
Loop
End If
Hope this helps
Armando Chibante
-
:D Thanks so much Pete,
I was rounding the solution without seeing it, but when you said it was possible, then I read the manual more carefully and there it was!!! it's working.
Thanks again
Armando Chibante
-
Hi Pete,
I've been trying to understand the key trapping process with FSUIPC, but I don't (sorry). What I want is to detect a certain keyboard sequence within FS (let's say CTRL+SHIFT+T) and then do something in my program (external program, written in VB). Is it possible? or am I confusing with Hotkeys, which seems to me, are only used to work with FS Controls.
Thanks in advance for your time.
Armando Chibante
-
Thank you Peter,
yes, I'm writing an external program. I'll try your suggestion.
Best regards
Armando Chibante
-
Hi,
I know how to add an entry to the modules menu, but now I'd like to know if it's possible to add sub menu items to that item, and if yes, how's that done.
Thanks in advance for any help.
Armando Chibante
-
Hi,
in my opinion:
--------------------------------------------------------
Private Sub Timer1_Timer()
Dim ISpeed As Long
Dim dwResult As Long
If FSUIPC_Read(&H2BC, 4, VarPtr(ISpeed), dwResult) Then
If FSUIPC_Process(dwResult) Then
IASpeed.Caption = Format(ISpeed/128,"0")
End If
End If
End Sub
--------------------------------------------------------
Bye bye
Armando chibante
-
Hi Pedro
http://forums.simflight.com/viewtopic.php?t=17185
check this topic and see if this helps; if so, we can talk better about this, just email me at armandochibante@netcabo.pt
Best regards
Armando Chibante
-
I emailed Lee Swordy posting my question and as soon as I get an answer, I'll share it with you guys.
I already have the document from Winfried Orthmann that Ian Box suggested and I'm studying it; it seems to have the information I need, but I need to check it against FS2002 too.
Thank you all for all the suggestions.
Best regards
Armando Chibante
-
You can count on me if I can find something about that.
Best regards
Armando Chibante
-
Thank you Pete,
Doesn't TTools give you that? AFCAD displays them with their orientation, so I assume it must.Yes indeed, AFCAD does it, but the files extracted with TTools only gives airport information; there must be a way to get parking information as well as other facilities information from the BGL files.
I'm going to search on other forums.
Thanks again Pete
Regards
Armando Chibnate
-
Hi Pete,
I suppose this isn't the correct place to post this question, but maybe there's someone who can give me a clue:
I would like to know how to get the list of parking areas for a given airport.
I know I can use TTools to extract the airports information, but I need the list of parkings with coordinates and heading for each one.
Any help will be apreciated.
Best regards
Armando Chibante
-
Hi Wim,
the solution is associated with two main factors:
- with FSUIPC you can load a flight;
- you can open a flight with a text editor and examine its contents;
By examining a flight, you find several sections, but the most important for the moment is one called [Plane.0] with something like this:
[Plane.0]
Aircraft=Beech Baron 58
If you create a file with only those lines and with a different a/c, when you load the flight it will change the a/c without changing anything else.
With this in mind, with your programing language, you can create a temporary file on disk, write those lines to the file, load the flight (aircraft) and then delete the file.
I use this on a program with a big timetable and aircrafts associated wih each flight; after choosing the flight, the user doubleclick the aircraft and load it.
I'm using VB6; if i can help in anything else...
Best regards
Armando Chibante
-
Thank you Pete,
as my solution is working, i'm going to tune it.
Best regards
Armando Chibante
-
I've been tying to find a way of loading an aircraft using FSUIPC, but didn't find anything related with this; I came up with a solution that involves a creation of a file with a fictitious flight situation and then loading it using FSUIPC. It's working but I'd like to know if anybody knows of a different solution?
Best regards
Armando Chibante
-
Hi Pete,
you said that "For FS2004 use only FSUIPC versions 2.983 or later can be used."
How can we get this version?
Thanks in advance
Controlling traffic in FS2004 externally
in FSUIPC Support Pete Dowson Modules
Posted
Hi Olaf,
check this link http://www.fsvpi.com
Using this with FSUIPC can be powerfull.
Regards
Armando Chibante