Switching MCDU without MCP

Forum for the OCP4ABX driver that controls the Aerosoft Airbus A318/A319/A320/A321
Post Reply
cvg
Posts: 3
Joined: Wed Nov 26, 2014 8:48 am

Switching MCDU without MCP

Post by cvg »

Hello,

I got the Airbus drivers working in the Aerosoft Airbus and I'm controlling the right-hand MCDU with my 737CDU vs3.
In the instructions you state you can switch to the left-hand MCDU by using "FD_right switch acts as a Switcher between usage of MCDU left and MCDU right".

However, as I do not have the opencockpits 737MCP (I'm using the CPFlight 737MCP), how can I switch to the left-hand MCDU?

Thanks,
Cyrille
mvr1918
Site Admin
Posts: 1704
Joined: Thu Aug 30, 2012 3:35 pm

Re: Switching MCDU without MCP

Post by mvr1918 »

Hi,

One way to do it is to configure a specific hotkey in FSUIPC and make that initiate the swithing.
The hotkey should then toogle the offset 66C0 bit 0.

You must then edit the script file

part of origninal script:
Var 5 , name MCDU1_ON Link IOCARD_SW Device 15 Input 14 Type I // With this input you select active MCDU

{
IF v5 = 1
{
&SETUP = 0
}
ELSE
{
&SETUP = 1
}
}

to
Var 5 , name MCDU1_ON Link FSUIPC_IN Offset $66C0, Length 1 // With this input you select active MCDU

{
IF v5 = 1
{
&SETUP = 0
}
ELSE
{
&SETUP = 1
}
}

and recompile
cvg
Posts: 3
Joined: Wed Nov 26, 2014 8:48 am

Re: Switching MCDU without MCP

Post by cvg »

Thanks for the guidance Roar. I tried to set it up, but I still cannot control the left MCDU.
i'm testing using F12 as the key to switch MCDU.

Probably there something wrong in my FSUIPC setup, however as I no programming experience can you point out what I'm doing wrong? See my current setup.

Thanks
Cyrille
Attachments
FSUIPC.PNG
FSUIPC.PNG (17.25 KiB) Viewed 7106 times
OCP4ABX_V1.0.PNG
OCP4ABX_V1.0.PNG (3.12 KiB) Viewed 7106 times
mvr1918
Site Admin
Posts: 1704
Joined: Thu Aug 30, 2012 3:35 pm

Re: Switching MCDU without MCP

Post by mvr1918 »

Do it with ToggleBits 66C0 1
Attachments
ScreenHunter_93 Dec. 03 23.45.jpg
ScreenHunter_93 Dec. 03 23.45.jpg (65.05 KiB) Viewed 7103 times
cvg
Posts: 3
Joined: Wed Nov 26, 2014 8:48 am

Re: Switching MCDU without MCP

Post by cvg »

Thanks Roar, works perfectly now!

Cheers,
Cyrille
mvr1918
Site Admin
Posts: 1704
Joined: Thu Aug 30, 2012 3:35 pm

Re: Switching MCDU without MCP(SOLVED)

Post by mvr1918 »

Marked as solved
Post Reply