Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

COM1 values from FSUIPC.

Featured Replies

Hi all, (-:I need some help regarding COM and NAV frequencies from FSUIPC.I am currently programming on my homesim, but I got some troubles reading COM and NAV values from FSUIPC.I program i VB (Visual basic) and everytime i read from the offset H034E in FSUIPC I got some strange values.I expect regarding to Peter Dowson

I tried it and it seemed to work as described. I've included the code I used. I am going to assume you are using the FSUIPC.bas module supplied in the FSUIPC SDK for VB.The code assumes you've already 'connected' to flight sim. The code ran off a button called Command1 and put the converted Hex value into a textbox called 'txtCom'.(Sorry the indentations are lost in HTML so it looks messy. Should cut and past OK though...)------------------------------------Private Sub Command1_Click()Dim intComFrequency As IntegerDim dwResult As Long' Set-up the read for the com1 offset (for 2 Bytes)...FSUIPC_Read &H34E, 2, VarPtr(intComFrequency), dwResult' Do the read...If FSUIPC_Process(dwResult) Then ' Convert into a string in hex format and display in text box Me.txtCom = Hex(intComFrequency)else MsgBox "Error " & dwResultend ifEnd Sub-------------------------------------If I tune com1 to 123.45 I get back 0x2345 (9029 in decimal).If you have any more questions, just ask...PaulEGJJ

Thank you Paul,It worked well this time. Now I see the point by using your example.Great :-smile12

  • 5 months later...

Hi PaulI

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.