kaelastreet
Members-
Posts
17 -
Joined
-
Last visited
About kaelastreet
- Birthday 01/01/1970
Contact Methods
-
Website URL
http://
Profile Information
-
Location
Cheshire, England
kaelastreet's Achievements
Newbie (1/14)
0
Reputation
-
FSUIPC_Write in Visual Basic
kaelastreet replied to chrieger's topic in FSUIPC Support Pete Dowson Modules
Hi JD. Thank you for your help above. I have been exploring the MSDN pages at Microsoft.com, looking for a method I can adapt to rotate images. 0 degrees, 30 degrees, 60 degrees and 90 degrees I have been trying to find relativly simple VB code to enable me to rotate these images by o - 360 degrees. example: image.rotate(x) One method, would be to have three hundred and sixty five images, selecting each in turn to meet the need, but I think there is a more attractive solution. I understand that you may be able to point me in the right direction. Warmest Regards Kaela -
FSUIPC_Write in Visual Basic
kaelastreet replied to chrieger's topic in FSUIPC Support Pete Dowson Modules
Hi. many thanks JD. wile I was at it, I tried my own version and got it all sideways. You just shed a lot of light on the matter there. Thanks Peter, I will re-read the results I was getting in FS_Interrogate. Could lead to a fruitful evening. I have seena routine somewhere in my stuff for rotating a graphic in VB, now I have been trying to find that, sigh, as we get older we have more answers, just that they seem cluttered up with a lot more 'other stuff'. I have to resist the urge to ask too many questions, but I am reading 'Theif of time' as well, so the two may overlap... One question: I offer this to you with so much more experiance than I, Can any of the existing material used in the Guages folder, be re-used outide of FlightSim, or can they ONLY be interpreted by FlightSim??? In your reply (and it works quite admirabley), h=(x / 65536 / 65536 * 360) - magvar, I think... Kizzie -
FSUIPC_Write in Visual Basic
kaelastreet replied to chrieger's topic in FSUIPC Support Pete Dowson Modules
Hi Could you share that with me please? Kaela -
FSUIPC_Write in Visual Basic
kaelastreet replied to chrieger's topic in FSUIPC Support Pete Dowson Modules
I seem to get -65 when the airplane is on a heading of 270(w) degrees. After the decimal point, I see 8 or so dancing random numbers, so I am ignoring them. Call FSUIPC_Read(&H580, 4, VarPtr(x), dwResult) Call FSUIPC_Process(dwResult) Plane_heading = x / 65536 / 65536 * 360 lbl4.Caption = Plane_heading.. lbl4 is just a text window to show the result. Kaela -
Hi Pete, I am fighting a severe cold at the moment, so my thoughts may not be along the correct lines here but. I have, as above, widefs client up and running on my development pc. I have open, FSUIPC For Programmers, Page 17 offset hex 02BC, size 4, IAS(Indicated Air Speed) I have adapted the freebie Visual Basic thingy (UIPC Hello) to read as follows:- Private Sub Timer1_Timer() Dim dwResult As Long Dim auiTime() As Long ReDim auiTime(4) ' If we wanted additional reads/writes at the same time, we could put them here If FSUIPC_Read(&H2B4, 5, VarPtr(auiTime(1)), dwResult) Then ' "Read" proceeded without any problems If FSUIPC_Process(dwResult) Then ' "Process" proceeded without any problems lbl1.Caption = Format(auiTime(1), "0000.0000") lbl2.Caption = Format(auiTime(2), "0000") lbl3.Caption = Format(auiTime(3), "0000") lbl4.Caption = Format(auiTime(4), "0000") Else ' Unable to "Process" lblClock.Caption = "Processing: " & ResultText(dwResult) End If Else ' Unable to "Read" lblClock.Caption = "Reading: " & ResultText(dwResult) End If End Sub I hoped I would see my Indicated Airspeed, but I see a repeating pattern of numbers that seem to bear no image of the flight sim model that is in progress. It says, size =4, so I guess thats four bytes, 02BD, 02BF, 02C1 AND 02C3 The next offset is 02C4.... (agreed) Someone point me in the right direction please.... Kaela
-
Installed widefs server on main PC in spare room. Installed WideFS Client on development PC in another room. All PC's are on a simple WiFi Network. It works out of the box. Installed FreeFD on development PC, it works too, and it does what it says it should do. Darn, if this gets any easier I will hang up and go paint the forth bridge. Kaela
-
Why is WideFS trying to connect to the Internet??
kaelastreet replied to sgr's topic in FSUIPC Support Pete Dowson Modules
I refuse to respond further in the forum as we are not acheiving anything productive. Kaela Street -
Peter. This conversation is now out of hand and in the wrong place. Neither you nor I can be gaining by anything here. My email address is in my profile and I would more than welcome to hear from you as I beleive, fundementally, your product IS the product that I can adapt to meet my needs. I will terminate the likewise discussion in progress elsewhere with immediate effect. I had no desire to cause you distress, simply wanted to enjoy the solution potential from an application that held promise to engineer a solution.
-
Why is WideFS trying to connect to the Internet??
kaelastreet replied to sgr's topic in FSUIPC Support Pete Dowson Modules
I hope that SGR resolves the issues and will be interested if the solution you provide works. Have a Great Day Kaela Street A pain in the **** often starts with a pain in the **** -
Hi Jon Thank you for replying. So I need WideFS, WIdeView and FSUIPC on the main PC. Do I have to have another copy on the slave PC? Do I do a full install of Flight Sim on BOTH PC's? Sorry for the many questions, but something in my mind trells me that it should not be this difficult. many thanks Kaela