Jump to content
The simFlight Network Forums

forstmeier

Members
  • Posts

    112
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by forstmeier

  1. It is FREEWARE! I will put it into the "User Contributions" At the moment i'm checking a way to overcome the missing IAS-HOLD that should work x Jets, Props etc. I believe it is possible even if it seems to be not possible. Regards Raimund .
  2. Thanks to Fsuipc, Mr. Pete, it was possible to create this utility. Cockpit-Status is not the real Cockpit but a control-program with several features that should help you to get a overview of your aircraft data + instruments. The FUEL, Flight Plan + Airport feature is useful for any aircraft! Transfering a FLP directly into the Cockpit-GPS is very useful; think about the F/18 FSX Acceleration that is reading only FS-Flightplans via the FSX-Menu but not while you are in a session or in 'free flight'. Download here: Fuel the Tanks as less as possible - Get consumption x Hour, calculate from Dep to Arrival. Airport Listing - On click ILS Frequency backup - Rwy Data - copy ILS-Freq into Nav1 standby The special Airport Data Input environment - Calculate Distance between a known ICAO and the new ICAO. CockpitStatus - On top there is a Button [update] - direct Link for updates + download CockpitStatus is sizable. regards, Raimund .
  3. THAT's IT ! Many thanks for your kind help. Regards Raimund - Padova/Italy . The button are reading the InputValue and change the RadioFrequency accordingly. Except the Nav1. When the Input-Field is Empty and the Button pressed then that frequency is replacing the Nav1-Frequency. This in Order to Hold Freq for a VOR flying etc....
  4. Thanks for both your answers. Here the READ Procedure Dim nav2bcdString As String = nav2bcd.Value.ToString("X") nav2bcdString = "1" & nav2bcdString.Substring(0, 2) & "." & nav2bcdString.Substring(2, 2) Me.txtNav2Activ.Text = nav2bcdString Here the WRITE Procedure Private Sub Nav2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Nav2.Click Dim txtInputVal As Short = Val(Me.txtNav1Input.Text) ' MAKING A TEST - Add "0" in Front as TextField value returning "950" not "0950" If txtInputVal < 1000 Then Me.txtNav1Input.Text = ("0" + txtInputVal.ToString()) End If If Me.txtNav1Input.Text > "" Then Try FSUIPCConnection.Process() nav2bcd.Value = Short.Parse(txtNav1Input.Text, Globalization.NumberStyles.AllowHexSpecifier) Catch ex As Exception MessageBox.Show(ex.Message, NavError, MessageBoxButtons.OK, MessageBoxIcon.Error) End Try End If Me.txtNav1Input.Text = "" 'clear Input Field End Sub 1) Meanwhile This change is working ' MAKING A TEST - Add "0" in Front as TextField value returning "950" not "0950" In fact when using the Button the new Value 109.50 is shown on the Cockpit-Radio BUT 2) The READ-PROCEDURE cannot return a VALID string into the separate Txt-Field 'Me.txtNav2Activ.Text' that is showing the Value when Reading (f.e. 110.50). This is happening only for this king of values. NOTA: the inputfield is different from the txtNAV-Fields that are only showing the values. In Sintesi: [ Input Field ] [ Sub Nav2_Click Button] >>InputValue>> in [ Nav2 TextField ] (readonly) [ FSUIPC Read Proc ] >>Return Value>> in [ Nav2 TextField ] (here is the error) Input Field = 1050 - Result in Nav2 TextField = 110.50 when reading offset Input Field = 0950 - Result in Nav2 TextField = "" when reading offset - BUT Freq 109.50 can be copied to the Radio Freq Many thanks for your assistance Raimund .
  5. Example: OFFSET 0350 - NAV1 Frequency FSUIPC stating: Frequency show as BCD (Binary Coded Decimal), however the prefixed "1" is removed We Input and convert with Visual Basic the frequency 110.50 We declare: Dim nav1bcd As Offset(Of Short) = New FSUIPC.Offset(Of Short)(&H350) Text-Field Input = 1050 in txtNav1Input.Text is the Value 1050 VB code = nav1bcd.Value = Short.Parse(Me.txtNav1Input.Text, Globalization.NumberStyles.AllowHexSpecifier) Result: 110.50 = OK FSUIPC Freq is 110.50 - Cockpit-Radio Freq = 110.50 The QUESTION IS how we convert the frequency: 109.50 ??? The Input 0950 is not accepted (0) in front Anyone has the solution ? Thanks in advance for the right formula Raimund .
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.