PDA

View Full Version : FSUIPC Address for the Test Button on the Overhead Panel



388TH_A
09-07-2009, 12:24 AM
Im looking for the FSUIPC Address for the Test Button on the Overhead Panel if there is one..... Im using the PMDG MD-11 A/C and Its the Test button on the overhead Panel that when you push it, it makes all the lights on the buttons on the Panel light up. If that helps at all!

Peter Dowson
09-07-2009, 04:21 AM
Im looking for the FSUIPC Address for the Test Button on the Overhead Panel if there is one..... Im using the PMDG MD-11 A/C and Its the Test button on the overhead Panel that when you push it, it makes all the lights on the buttons on the Panel light up. If that helps at all!

FSUIPC itself only supplies data relating to things implemented in FS itself.

Many add-ons use private ranges of offsets via FSUIPC as well -- Project Magenta, for instance. Its "pmSystems" package would cover the one you are interested in for aircraft it supports. Some add-on aircraft such as the LevelD 767 also use FSUIPC offsets and sometimes document them for others to use.

PMDG aircraft did use offsets for some things in FS2004, but not in FSX. And even in FS2004, they didn't publish them for others to use. There is no direct way through FSUIPC to access anything specific to add-on aircraft panels which aren't supplied with the means to do so, and the PMDG MD-11 is one of them.

However, if you merely want to assign a real button to the function in the MD-11, you may well be able to do so by making an FSUIPC "mouse macro" to assign to. Generally the PMDG panels have been quite amenable to this technique -- at least the 737NG and 747 has been, but maybe the MD-11 is a departure. I don't know. Someone who has got the aircraft and tried may be able to advise.

Regards

Pete

388TH_A
09-07-2009, 07:44 PM
Well Thanks any ways, i was afraid of that! But i guess i could even also connect all the lights to one master switch that would turn them on when you push it. Although it would be connected to FS.... But thanks any ways

Kennair
09-08-2009, 01:57 AM
HI 388,

Have a look at Ian Sissons' site HERE (http://www.737ng.co.uk/technical.htm). He has lots of very useful information and specifically a tutorial on how to power a LED from more than one source. It explains how to power LED's in a TEST button configuration. Look down the left side of his Technical page for the pdf. This might help in your quest for the holy test button :)

Ken.

kiek
09-08-2009, 02:53 AM
Hi,

Ken describes the hardware solution, which is great.

However for the record, do not forget there is also a software solution for this function, which imo is much easier and cheaper.
In other words: integrate the test functionality in the software that controls your leds and displays. Another advantage of this approach is that you then can also integrate cold and dark support as well.
For examples of this approach, look at my SIOC code for my Level-D 767.

Kennair
09-08-2009, 06:00 AM
Hi,

Ken describes the hardware solution, which is great.

However for the record, do not forget there is also a software solution for this function, which imo is much easier and cheaper.
In other words: integrate the test functionality in the software that controls your leds and displays. Another advantage of this approach is that you then can also integrate cold and dark support as well.
For examples of this approach, look at my SIOC code for my Level-D 767.

Good point Nico and this is the very option I use for the Test function on my pedastal radios. I agree this is certainly the simpler and more cost effective option, however doesn't it depend on the hardware interface and associated software 388 is using? I'm only familiar with SIOC and the Opencockpit hardware.

Ken.

Anderson/SBSP
09-08-2009, 06:11 AM
Hi Peter,

Is possible in the future use mouse macros via offsets?

To use FSBUS cards or another IO card to make a keystroke like the joystick button when use mouse macro.

Maybe i dont has clear in my intention and my english not help!! hehehe

The idea is create offsets to read and write information via SIOC, FSBUS DLL ou CDK, where one offset to left click on mouse, another for right click etc...

With this offsets we are able to set mouse pointer in any position and make a click.

Regards,

kiek
09-08-2009, 06:14 AM
Hi Ken,

You'r right, you should have an interface system (hard- and software) that allows you to program scripts... , such as Opencockpits SIOC or FSBUS CDK.

However, if you are thinking of implementing a test lights switch you are already a quite advanced cockpit builder, imho. And for advanced cockpits you need advanced interface systems. ;-)

kiek
09-08-2009, 06:17 AM
Is possible in the future use mouse macros via offsets?

Don't think there is a need to, in FSUIPC you can select a mouse macro just like any other FSControl.
These FSControls controls can be called from SIOC directly:
http://www.lekseecon.nl/howto.html#fscontrol

Anderson/SBSP
09-08-2009, 06:34 AM
I use FSBUS cards in my project.

You can give more details how i can make this in fsuipc to set a macro in offset address to change his value?

Thanks for your help.

Peter Dowson
09-08-2009, 11:04 AM
Is possible in the future use mouse macros via offsets?
It is already possible now, and since last year, in a couple of different ways.

First there are specific offsets provided for you to write the macro name and parameter. This can also be used to run and control Lua plug-ins. The offset is 0D70 for the macro or Lua invocation string, and 0D6C for the optional parameter.

Second, a way which might be more useful with some hardware interface systems, you can use the "virtual button" offsets 3340-3363, setting. clearing or toggling bits which are detected as button presses by FSUIPC. Then simply program that virtual button to operate the macro as you wish.


The idea is create offsets to read and write information via SIOC, FSBUS DLL ou CDK, where one offset to left click on mouse, another for right click etc...

With this offsets we are able to set mouse pointer in any position and make a click.

Er ... oh, you want a different program altogether, really. Not something to interface to FS but generally to allow you to operate like a mouse but from other hardware?

I think it would be fairly easy for someone to write such a program. I will allocate them offsets for this should someone take this up. But I'm afraid it doesn't interest me and I would rather concentrate on things which i can see would be genuinely useful with FS.

Regards

Pete

Anderson/SBSP
09-08-2009, 11:16 AM
Er ... oh, you want a different program altogether, really. Not something to interface to FS but generally to allow you to operate like a mouse but from other hardware?

I think it would be fairly easy for someone to write such a program. I will allocate them offsets for this should someone take this up. But I'm afraid it doesn't interest me and I would rather concentrate on things which i can see would be genuinely useful with FS.

Regards

Pete

Thanks Pete!!

My intencion to use FSUIPC to move the mouse pointer is because mouse macros dont work with all aircrafts in FS. A friend my have problems with C182 Carenado for example. I try use the options you gave me.

kiek
09-08-2009, 11:51 AM
You can give more details how i can make this in fsuipc to set a macro in offset address to change his value?
No I cannot, I'm sorry. I am an Opencockpits user.

388TH_A
09-08-2009, 07:09 PM
OK WOW THAT was alot of feedback thanks guys!! And im useing FSBUS CDK. I have been told to try FSBUS DLL again but not sure. ok ok so.... where can i find out on how to do a Mouse Micro? and can i use it with FSBUS CDK? Also i would like to have the test button work with Cold and Warm* cockpit also. Instead of hooking up a button that makes the lights work lol. But then again it might be nice to have one that works with FS and then one to work just to make sure the lights work at all. Just in case you run into a problem down the road. And thanks for the links.

Peter Dowson
09-08-2009, 09:05 PM
My intencion to use FSUIPC to move the mouse pointer is because mouse macros dont work with all aircrafts in FS.

Yeah. Best avoid those aircraft in real hardware cockpits. The nasty thing about having to have real mouse movements and clicks is that you have to have the cockpit panel on the FS screen, even though you have a real one too. Ugh!

But if that's all you want to do, then there is Luciano Napolitano's "Key2Mouse" which does exactly what you want except in response to keypresses instead of offsets. All you'd then need to do is send FSUIPC the codes for doing the keypresses for you.

Regards

Pete

388TH_A
09-08-2009, 09:28 PM
Yeah i dont know Pete i wouldnt want the Panel up on the screen if i already have a panel in hand. so im not sure if this key to mouse is what im looking for but not sure. And does anyone know if there is a Web Page that would be like this one http://www.737ng.co.uk/technical.htm but for the MD 11 and or the PMDG MD 11? Or even other Web sights that would be like this one for other A/C? It has SOOO much info on it that i could apply to new ideas that i might would want to do!

amrswy
12-08-2009, 12:12 PM
Can i make a b747 Overhead panel 'swtiches and buttons' and it work by FSUIPC ?