Jump to content
The simFlight Network Forums

mattbauer

Members
  • Posts

    2
  • Joined

  • Last visited

About mattbauer

  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://

Profile Information

  • Location
    Chico CA
  • Interests
    Space Travel, Small Cars, Living Forever

mattbauer's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello. Below, is a sample of code that I am using to get data from a particular offset using FSUIPC3x and FS9. 1) What happens when FSUIPC opens a connection? fsuipc.FSUIPC_Initialization(); result = fsuipc.FSUIPC_Open(dwFSReq, ref dwResult); result = fsuipc.FSUIPC_Read(dwOffset, dwSize, ref token, ref dwResult); result = fsuipc.FSUIPC_Process(ref dwResult); result = fsuipc.FSUIPC_Get(ref token, ref dwResult); fsuipc.FSUIPC_Close(); 2) How long does the sequence from 'Initialization' to 'Close' take? 3) Is a unique connection opened for each FSUIPC_Open? 4) What happens when ten connections to FSUIPC are opened but never closed until the SIM powers down. 5) Is there a recommended strategy for handling many connections to FSUIPC? Thankyou for your time, -Matt B.
  2. Hello All! I am working on a project that uses FSUIPC version 3.7.4.0, EPICIO version 7.0.3, FS9 and EPIC USB. The software is being developed in MS Visual Studio using C#. The purpose of the project is to read the FS9 position values for Engine 1 and 2 Throttles and then display the values on a 7-Segment Display. The electronic interface is R&R Electronics EPIC USB and the Digit Display Controller. Without FS9 running, the executable can send values (from text fields) to the EPIC USB card using the [ _SendPHint ] command. These values update the Display Controller as expected. When FS9 is running, the executable uses FSUIPC commands to continuously read the throttle position values. At this point the .exe displays the values in a text field and sends the data to EPIC USB. The data never gets to EPIC USB. !!!!! The _SendPHint commands are processed, as confirmed with step-through debugging. But the Display is NOT updated with continuous values. UNTIL FS9 IS CLOSED !!! The Display Controller updates with the last known values from FS9 ONLY when FS9 is closed and then my .exe crashes as well. SO ANY IDEAS? I might not be handling the C# from CALLS incorrectly?! I might not be handling the loading and closing of forms properly!? It might be that FS9 blocks my .exe from sending data to EPICIO!? What might cause the EPICIO to only process on termination of FS9!? Could there be a conflict between the version of FSUIPC and EPICIO!? Thankyou for your time. -Matt Bauer
×
×
  • 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.