PDA

View Full Version : FSBUS Potentiometer



Brodhaq
11-22-2010, 12:35 PM
Dear Sirs,
I would like to ask you for some help with my FSBUS. I have one potentiometer connected to port J3 and need to control throttle in FS using this. So I have defined:

C, CThrottlePot, POTI, 31, 79 (CID = 31, RID = 79)

but how to define FThrottle? Something like F, FThrottle,0, 0x088c, but what next? And how to make routing? I tried


SUB OnCThrottlePot
Set("FThrottle", 1)
END SUB

which doesnt work. I am totally lame at C++ and have no experience with this, I am using only simple I/O switches which were easy to do using samples from FSBUS, nothing more. I need only code for this one POTI, I will make next for mixture and prop and it will be done, nothing more.

Thank you in advance,
Pavel Brodsky¨
Czech Republic

Jan737
11-22-2010, 01:47 PM
Hi Pavel,

Look at the manuals who came with the fsbus dll software.
There is a piece of example throttle code included in one of it.

Best regards

Jan Geurtsen

Brodhaq
11-22-2010, 02:16 PM
Thank you Jan for posting. But this is the first time I see FSBUS DLL (I had only installed it before) and I totally dont know it. Is it some alternative to FSBUS CDK (I mean FSBUS CDK can be substituted by FSBUS DLL)? Or, is here any way how to make throotle working with only FSBUS CDK, not DLL (to be more easy for me, as I am no programmer)?

Jan737
11-23-2010, 03:06 AM
Hi,
The fsbus dll is the latest version.

Fsbus CDK and fsbus dll must be used separatly.
So you can install the cdk version and make your throttle working using this software.


Jan