PDA

View Full Version : Driving the Servo card from software other than FSX



iwik
12-10-2012, 01:47 PM
Hi Guys,
Is there any information out there to drive the USB Servo card from 3rd party software.
The developer of the software asked if there was an API for it.
The software is Ian's Force feedback yoke and i would like to be able to have then OC
servo card indicate Trim. He does not use the Trim thru FSX. So the servo card needs to be able
to be fed with his data.
Hope i havent confused anyone.
Hoping its possible or else i will have to make it mechanical.
Thanks
Les

PaulD
12-10-2012, 03:47 PM
I'm not sure if it is possible to control the servo card directly but an alternative might be for the third party software to write to an unused FSUIPC offset (the FSUIPC SDK has some examples of how to do this with various programming languages) and then use SIOC to read the offset and control the servo.

Paul

IanH1960
12-11-2012, 06:37 AM
Hi Les,

Paul's suggestion sounds like a good one - I can have a look at writing the CL trim values to a custom FSUIPC offset and then let you try and pick it up from there... I could write in the same format as Pete Dowson used for the main trim indications.

I'll need to look see what offsets are available...

Ian

PaulD
12-11-2012, 08:53 AM
Hi Ian,

Offsets in the range 66C0 - 66FF are designated as user offsets available for general use. If your software is a one-off application then using one of these would probably be appropriate. If the software is to be released to a wider audience then it might be better to avoid these as it could cause conflicts if any of your users happend to be using the same offset - in this case the best option might be to contact Peter Dawson (developer of FSUIPC) to request a custom offset for your application.

Paul

iwik
12-11-2012, 01:14 PM
Hi Paul,
Many thanks for your suggestion and it looks like Ian has picked it up which is looking good for me.

Ian,
Thanks also for looking at this thread, it was along shot and Paul came to my rescue.
Dont rush it as you probably have many more important things to do.

Seasons Greeting to you all

Les

IanH1960
12-11-2012, 01:43 PM
Hi Les, Paul,

Thanks again for the input. I should be able to configure things so that the custom offsets are user-specified, with a default in the range you indicated. Then if something does appear to clash it can be easily fixed.

I'll look at this when I get a free moment Les and let you know how it goes.

Ian

iwik
12-12-2012, 12:30 AM
Thanks Ian,
Dont bust a gut.
Les