Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

Posted

I might not be handling the C# from CALLS incorrectly?!

I might not be handling the loading and closing of forms properly!?

No idea about C# nor "forms" (what are they?), sorry.

It might be that FS9 blocks my .exe from sending data to EPICIO!?

Why would it do that? FS has never blocked anything else. It probably doesn't care anything about your program.

Could there be a conflict between the version of FSUIPC and EPICIO!?

How? Does this EPICIO program have an FSUIPC interface, or is it your program talking to FSUIPC? Sorry, I thought EPICIO.DLL was simply an interface library for EPICUSB, not a program specific to FS and FSUIPC.

The program I produced for EPIC was EPICINFO.

Regards

Pete

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.