Jump to content
The simFlight Network Forums

Ross Carlson

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Vermont, USA

Ross Carlson's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Okay, sounds good. I won't do any further troubleshooting unless you request it. Let me know if you need anything.
  2. Okay, will do. I think I have a registered version of FSUIPC4 from back when I used FSX years ago. I'll let you know if not.
  3. You can just download vPilot and run it, no need for a VATSIM account. The website is https://vpilot.rosscarlson.dev You could also just make a test app that writes a zero to byte 17 in the Squawkbox CDA. Let me know if you'd like me to create that test app for you.
  4. That build seems to work fine (I renamed it to FSUIPC4.dll, let me know if I should not have done so) ... I think you're onto something with the VS tooling change ... worrying indeed!
  5. Hi John, I'm the developer of vPilot, and I think I can shed some light on the issue. vPilot does not use FSUIPC directly, but it does rely on FSUIPC in order to allow aircraft to set the transponder mode and trigger transponder ident. vPilot reads bytes from the "SquawkBox Data" SimConnect Client Data Area (CDA). vPilot sets up the CDA as follows: mSimConnect.MapClientDataNameToID("SquawkBox Data", ClientData.SquawkBox); mSimConnect.CreateClientData(ClientData.SquawkBox, 128, MsSimConnect.SIMCONNECT_CREATE_CLIENT_DATA_FLAG.DEFAULT); mSimConnect.AddToClientDataDefinition(DataDefinitions.SquawkBoxRunning, 0, 1, 0.0f, 0); mSimConnect.AddToClientDataDefinition(DataDefinitions.SquawkBoxConnected, 1, 1, 0.0f, 0); mSimConnect.AddToClientDataDefinition(DataDefinitions.SquawkBoxTransponderMode, 17, 1, 0.0f, 0); mSimConnect.AddToClientDataDefinition(DataDefinitions.SquawkBoxTransponderIdent, 19, 1, 0.0f, 0); My understanding is that FSUIPC copies changes to the Squawkbox offsets into this CDA, and it copies changes to the CDA into the associated offsets. As such, vPilot can respond to transponder mode changes and ident button presses for aircraft that support the Squawkbox offsets. This has worked well since vPilot was first released several years ago. Now, based on a few user reports in the VATSIM vPilot subforum, something seems to have changed with FSUIPC v4.976. I just ran a test on my installation of FSX:SE, which had version 4.975a, and the CDA was behaving normally. When I press the Mode C button in vPilot, vPilot writes a zero to byte 17 in the CDA. vPilot then sees the value change, and lights up the button in the vPilot UI as normal. I then installed 4.976, and found that when I press the Mode C button in vPilot, it lights up but then immediately extinguishes. I added some debug output to vPilot, and found that when I press the Mode C button, vPilot writes a zero to byte 17 in the CDA as usual, and I get a value of zero reported by SimConnect as usual (which causes the Mode C button to light up) but then vPilot immediately sees a value of 255 written to byte 17 in the CDA, which causes vPilot to extinguish the Mode C button. (Note that for whatever reason, a value of zero for the transponder mode means Mode C, and a value of 1 means "standby". See: http://squawkbox.ca/doc/sdk/fsuipc.php ) So, it seems that version 4.976 is overwriting the value that vPilot sets with 255. I reverted to 4.975a and the normal behavior returned. I hope this helps, please let me know if you need me to assist with any further troubleshooting. -Ross
  6. Hello all, I develop software to connect FSX and P3D to several online flying networks, using C# as the language, and SimConnect as the protocol for communicating with the sim. In recent years, there has been a push towards supporting 8.33 KHz frequency spacing for the COM radios. Using SimConnect, I have not found a way to set the frequency with all three decimal places, because it appears to only support BCD16 format with only two decimal places. (I can read the current frequency and get all three decimal places, I just can't set a frequency with all three.) So, I'm wondering if this might be possible with FSUIPC. My searching and testing suggests that it is not, and FSUIPC is similarly limited by FSX/P3D internals, but I thought I would ask here before officially giving up. I'm also curious if it might be possible, but only with the P3D version. Thank you for any pointers! -Ross
×
×
  • 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.