Jump to content
The simFlight Network Forums

kingm56

Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by kingm56

  1. John, Sorry to resurrect a 3-month old thread; however, I have a related question. First, all the HVARs work great with the exception of H:A320_Neo_FCU_HDG_INC and H:A320_Neo_FCU_HDG_DEC. Do you know if these have been tested?
  2. Hey Paul! The updated dll seems to work great, with one exception; specifically, I continue to get crashes (faulty FSUIPC_WAPID.dll module). Interesting enough, the crash only occurs when using the Aerosoft CRJ; plus, the crash happens without initiated an FSUIPC connection; it happens seconds after vs.Start() is called.
  3. Yes sir I am. It's persistent now; I believe it's an access error but I can't nail it down.
  4. Good day, Mr Dowson. When trying to access the WAPID.dll via C# application, the appliction crashes with the error below. I believe this is an access error; howerver, I'd be grateful for your opinion private void Dashboard_Load(object sender, EventArgs e) { try { vs.OnVariablesReadyChanged += VS_OnVariablesReadyChanged; vs.Init(this.Handle); vs.LVARUpdateFrequency = 10; // Get new lvar values 10 times per second (Hz) vs.Start(); } catch (Exception) { } } private void VS_OnVariablesReadyChanged(object sender, EventArgs e) { try { if (vs.VariablesReady) { Forms.Main.AppendMsgCtrText(Environment.NewLine + "WASM Module Started", Color.PaleGreen, true); } else { Forms.Main.AppendMsgCtrText(Environment.NewLine + "WASM Module Stopped", Color.Orange, true); } } catch (Exception) { } } Error Faulting module name: FSUIPC_WAPID.dll, version: 0.0.0.0, time stamp: 0x60e59e60 Exception code: 0xc0000005 Fault offset: 0x000000000000722c Faulting process id: 0x40d4 Faulting application start time: 0x01d77c0232fdc7ce
  5. Afternoon, Paul I get a random error trying to access FSUIPC_WAPID.dll; it happens on occasions when I call VS.Start. Any suggestions? Faulting module name: FSUIPC_WAPID.dll, version: 0.0.0.0, time stamp: 0x60be530f Exception code: 0xc0000005
  6. kingm56

    FBW A320

    Hey Mr. Dowson! I can get all the LVARs and HVAR to work except for the XMLVAR_Momentary* variables. They appear to write only for a second before being written over. Any ideas? Concerning your question, I downloaded the SPAD profile from here: https://github.com/flybywiresim/a32nx/tree/master/docs#mapping-of-events-to-control-autopilot--autothrust Is the user using the development version of the FBW? Wasn't support added for those variables during a recent update?
  7. kingm56

    FBW A320

    I asked this question for the Asobo A320; so, I apologize for asking again for a different aircraft. In regards to the FBW A320, I can bind almost every control with the exception of the batteries. Has anyone found a LVAR, HVAR, Control or Offset that will toggle both batteries to the ON position. As the documentation states, it's possible to toggle off via TOGGLE_MASTER_BATTERY control; however, it does not work in reverse. ANY help would be greatly appreciated as this is the last hurdle to building a solid cockpit for MSFS.
  8. Has anyone found an offset or control to manipulate the MSFS A320s batteries? Offsets 3102 and 281C have no effect; interesting enough, control 66241 (TOGGLE_MASTER_BATTERY) can toggle batteries off, but not on. I've tried all the other controls in the Controls List for MSFS Build 999.txt file too. I've event tried to set the LVAR "A320_Neo_BAT_State" to 2.0000; again no effect. Hoping someone was able to find something that worked...
  9. Worked perfectly; thank you and I apologize for the duplicate post
  10. Evening Paul! With John's latest release, is it now possible read LVARs via old method (e.g. FSUIPCConnection.ReadLvar(".....")?
  11. Afternoon, John I just installed the latest FSUIPC7; however, even though I have selected WASM module for installation, it does not install. It appears FSUIPC cannot find the community folder; however, it's in its default location. Here's the applicable exert from the log: Installing FSUIPC7 WASM module in . Create folder: \fsuipc-lvar-module Output folder: \fsuipc-lvar-module Skipped: layout.json Skipped: manifest.json Skipped: FSUIPC_WASM.ini Create folder: \fsuipc-lvar-module\modules Output folder: \fsuipc-lvar-module\modules Skipped: FSUIPC7_WASM.wasm Skipped: A320.hvar Skipped: TBM.hvar Skipped: DA40-NG.hvar FSUIPC7 WASM module installation completed.
  12. Hey Sir! Is there a link to installing WASM? I just run the exe and it connects. Is there something more?
  13. Hey John! I tried running your WASMClient.exe; the WASM Client connects perfectly, but does not collect any LVARS. Here's the log entry: Sun May 09 2021 17:17:35.385 [INFO]: Connected to MSFS Sun May 09 2021 17:25:24.355 [INFO]: SimConnect_Close done Can you offer suggestions on why that might be the case?
  14. Hey Jaxx! It appears WASMClient isn't collect any LVARs. Any thoughts, my friend?
  15. Hey Paul! I tried running WASMClient.exe; the WASM Client connected, but does not collect any LVARS, which appears to be my culprit. Here's the log entried: Sun May 09 2021 17:17:35.385 [INFO]: Connected to MSFS Sun May 09 2021 17:25:24.355 [INFO]: SimConnect_Close done
  16. Sorry to be nausaunse, Paul; however, I'm still unable to read any LVARS. I continue to get this: public partial class Dashboard : Form { MSFSVariableServices VS = new MSFSVariableServices(); ..... public Dashboard() { try { InitializeComponent(); Connect.Click += Button_Click; VS.OnLogEntryReceived += VS_OnLogEntryReceived; } catch (Exception) { } } private void debugToolStripMenuItem_Click(object sender, EventArgs e) { VS.Init(this.Handle); VS.Start(); Thread.Sleep(5000);//gives a few seconds to collect the data VS.RefreshData(); VS.LogLVars(); Thread.Sleep(2000);//gives a few seconds to collect the data try { MessageBox.Show(log); } catch(Exception ex) { MessageBox.Show(ex.ToString()); } }
  17. Hey Paul! MSFSVariableServices VS = new MSFSVariableServices(); VS.OnLogEntryReceived += VS_OnLogEntryReceived; VS.Init(this.Handle); VS.LogLVars(); VS.Start(); Thread.Sleep(5000);//gives a few seconds to collect the data VS.RefreshData(); try { MessageBox.Show(log); } catch(Exception ex) { MessageBox.Show(ex.ToString()); } Apparently I'm only logging 000 LVARS. Any other ideas, my friend?
  18. Thank you, sir! I'm able to instantiate the object now; however, I'm still getting a object reference not set to an instance error...even when initializing it first. Below is just a simple method to obtain A320 battery state: MSFSVariableServices VS = new MSFSVariableServices(); VS.OnLogEntryReceived += VS_OnLogEntryReceived; VS.Init(this.Handle); VS.Start(); Thread.Sleep(2000);//gives a few seconds to collect the data from wasm module double batt = VS.LVars["A320_Neo_BAT_State"].Value; MessageBox.Show(batt.ToString());
  19. Paul, I continue get a "An attempt was made to load a program with an incorrect format." The FSUIPC_WAPID.dll is located inside the same folder as the .exe and FSUPIC.dll. Any ideas?
  20. Hello, My Friend! Is the beta 3.2.1-Beta available via NuGet package?
  21. Good evening, Mr. Henty! When convenient, would you mind providing a quick demonstration on how to use FsILSInfo class via managed code (c#). Again, thank you for EVERYTHING you do!
  22. Sounds great, Paul! On another note, can you derive the radar altimeter for you dll? Currently, Im just subtracting the acft MSL from grnd alt via background thread.
  23. Hey Paul! Specifically, I'm looking at a mechanism to read LVARs in MSFS via your dll; I know Mr. John Dowson released a WASM module containing header files to accomplish this task. Unfortunately, said header files need to recompiled as dll (library class) vice static library. I didn't know you had the notions of compiling your dll to include these classes (similar to what you did with PMDG). Matt
×
×
  • 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.