Jump to content
The simFlight Network Forums

SpiekerHoiting

Members
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Nederland

SpiekerHoiting's Achievements

Apprentice

Apprentice (3/14)

  • Dedicated Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Hello John, I now read the values through 105=L:A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE=F0x679C 106=L:A32NX_PNEU_ENG_2_REGULATED_TRANSDUCER_PRESSURE=F0x67A4 But they both show '0', though if I list the LVars, it shows: A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE = 34.836354 A32NX_PNEU_ENG_2_REGULATED_TRANSDUCER_PRESSURE = 33.881522
  2. Hello John, AxA000 is mentioned in the FSUIPC7 user guide.. I'll try different offsets! I attached the .log and .ini files. FSUIPC7.ini FSUIPC7.log
  3. Hello, In VB.Net I'm trying to read L:A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE (and nr2) through FSUIPC. I declared it in FSUIPC7.ini as 105=L:A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE=F0xA350 106=L:A32NX_PNEU_ENG_2_REGULATED_TRANSDUCER_PRESSURE=F0xA358 If I list the Lvars in FSUIPC7 (A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE = 39.017968), I can see they have values of about 40 (PSI). But if I read them in VB.Net, they turn op 0. Also in FSInterrogate. Greetings, Harrie
  4. Hi John, I took a few hours and some help from someone I met on Discord, but I found it! Dim u64Val As ULong = s1.SC_APUEGT Dim u32Val As UInteger = u64Val And &HFFFFFFFFUI Dim rawData = BitConverter.ToSingle(BitConverter.GetBytes(u32Val), 0) LabelAPUEGT.Text = (Int(rawData).ToString) I'm a happy man and can continue! Thanks for your responses! Greetings, Harrie Hoiting
  5. Hi John, I use a registered version of FSUIPC7. I read the value through simconnect (fsx_simconnect.AddToDataDefinition(StructDefinitions.Struct1, "L:A32NX_APU_EGT", "", Microsoft.FlightSimulator.SimConnect.SIMCONNECT_DATATYPE.FLOAT64, 0, 61), but now I have to figure out how to translate that to a 32 bits-Binary. Arinc429 is difficult because only part of the 32 bits are data. Other parts are parity(?)/ssm(?)/labels(?)..
  6. Hello, is there anybody who wrote code to read Arinc429Word in Visual Basic? I'm programming ECAM screens to run on a network computer as an alternative to Project Magenta. All's going well until I encounter Arinc429Word-vars. I can read the values usins FSUIPC; they're LVARs, as integers. But they should be read as 32 bits binaries I believe.. I'm stuck..
  7. Update: I just found out that the value for the COCKPIT-temperature can be read at L:A32NX_OVHD_COND_FWD_SELECTOR_KNOB. The value for the FWDCABIN-knob can be read at L:A32NX_OVHD_COND_AFT_SELECTOR_KNOB. They seem to be shifted.. The A32NX_KNOB_OVHD_AIRCOND_PACKFLOW_Position is always 1, and is not altered when turning the knob in MSFS..
  8. Hi, I'm almost done writing an interface for the overhead panel for an FBW A320. There are however some Custom LVARS I cannot read. fsx_simconnect.AddToDataDefinition(StructDefinitions.Struct1, "L:A32NX_KNOB_OVHD_AIRCOND_PACKFLOW_Position", "", Microsoft.FlightSimulator.SimConnect.SIMCONNECT_DATATYPE.FLOAT64, 0, 87) fsx_simconnect.AddToDataDefinition(StructDefinitions.Struct1, "L:A32NX_OVHD_COND_CKPT_SELECTOR_KNOB", "", Microsoft.FlightSimulator.SimConnect.SIMCONNECT_DATATYPE.FLOAT64, 0, 88) Both declared as double. If I list the LVars in FSUIPC7, i can see the correct values, and can set them too (on my MSFS-PC). But on my remote PC I cannot read both values.. Am I doing something wrong?
  9. Thank you very much John! 'FSUIPCConnection.SendControlToFS(67090, 1)' works!
  10. Hello, I am programming an overhead interface for my soon-to-be A320 cockpit. I program in visual basic because that is the language I know. I can send and read LVARs for the FBWA320 using simconnect and FSUIPC. For instance: I can read the battery's potentials, and switch them on and off. But the only thing that I can't get to work is the "TOGGLE_EXTERNAL_POWER". FSUIPCConnection.WriteLVar("L:A32NX_OVHD_ELEC_BAT_1_PB_IS_AUTO", 1) works, but FSUIPCConnection.WriteLVar("TOGGLE_EXTERNAL_POWER", 1) does not. Am I doing something wrong?
  11. Thanks! I'm sure about the 4-byte shift. I use FSInterrogate to view the FSUIPC-data, unknown byte-align. For any value that I need, I need to look 4 rows down.. Greetings, Harrie
  12. Hi John, Thanks for the quick response! That is exactly what I'm saying! 🙂 The offset should be &H64BB, as mentioned in the offsets in the PDF.. Greetings, Harrie
×
×
  • 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.