Hi there,

a few weeks ago a bought a MCDU Airbus (mounted and ready) from opencockpits.

it took me quite some time to get it working.
(tested on win7 and XPpro)

- s-video to composite >> don't forget to put the video card in PAL B
and be sure of the correct s-video to composite adapter you use.
- I had problems mixing ATI and NVidia cards.
- edit the sioc.cfg and add the USBKeys card.
Code:
USBKeys=0,22
- edit the (same) sioc.cfg and turn on IOCP client #0
Code:
[************** IOCP CLIENT MODULE #0 ***************]
  IOCPclient0_disable=No
  IOCPclient0_host=192.168.1.201
  IOCPclient0_port=8090
- add these lines to youre active sioc file:
it does 2 things: it shows the keynr on the first display
and sends that keynr to IOCP.
Code:
  Var 0001, name k, Link IOCP, Offset 5, Value 0     // test
  {
    IF &k > 0
    {
      &keynr = &k    
    }
  }

  Var 0010, name keys, Link USB_KEYS
  {
    &k = &keys    
  }

  Var 0011, name keynr, Link IOCARD_DISPLAY, Digit 1, Numbers 2     // keynr
- Start VASFMC hit the CDU left button, goto mcdu menu/interfaces/
and turn on IOCP server
- Close the VASFMC app, and on windows 7 give youre self edit rights to:
vasfmc-2.0a9/cfg/iocp.cfg
- put this in youre iocp.cfg file:
Code:
tcp_port=8090
5_30=CDU_LEFT:29
5_31=CDU_LEFT:28
5_32=CDU_LEFT:27
5_22=CDU_LEFT:32
5_23=CDU_LEFT:31
5_24=CDU_LEFT:30
5_14=CDU_LEFT:35
5_15=CDU_LEFT:34
5_16=CDU_LEFT:33
5_6=CDU_LEFT:38
5_7=CDU_LEFT:36
5_8=CDU_LEFT:41

5_57=CDU_LEFT:5
5_58=CDU_LEFT:4
5_59=CDU_LEFT:3
5_60=CDU_LEFT:2
5_61=CDU_LEFT:1
5_49=CDU_LEFT:10
5_50=CDU_LEFT:9
5_51=CDU_LEFT:8
5_52=CDU_LEFT:7
5_53=CDU_LEFT:6
5_25=CDU_LEFT:15
5_26=CDU_LEFT:14
5_27=CDU_LEFT:13
5_28=CDU_LEFT:12
5_29=CDU_LEFT:11
5_17=CDU_LEFT:20
5_18=CDU_LEFT:19
5_19=CDU_LEFT:18
5_20=CDU_LEFT:17
5_21=CDU_LEFT:16
5_9=CDU_LEFT:25
5_10=CDU_LEFT:24
5_11=CDU_LEFT:23
5_12=CDU_LEFT:22
5_13=CDU_LEFT:21
5_1=CDU_LEFT:37
5_2=CDU_LEFT:44
5_3=CDU_LEFT:40
5_4=CDU_LEFT:42
5_5=CDU_LEFT:26

5_63=CDU_LEFT:57
5_55=CDU_LEFT:58
5_62=CDU_LEFT:59
5_51=CDU_LEFT:60

5_65=CDU_LEFT:83

5_79=CDU_LEFT:61
5_78=CDU_LEFT:62
5_77=CDU_LEFT:63
5_76=CDU_LEFT:64
5_75=CDU_LEFT:65
5_74=CDU_LEFT:66
5_71=CDU_LEFT:67
5_70=CDU_LEFT:68
5_69=CDU_LEFT:69
5_68=CDU_LEFT:81
5_67=CDU_LEFT:80
5_66=CDU_LEFT:82

5_56=CDU_LEFT:45
5_64=CDU_LEFT:46
5_72=CDU_LEFT:47
5_80=CDU_LEFT:48
5_88=CDU_LEFT:49
5_87=CDU_LEFT:50

5_86=CDU_LEFT:51
5_85=CDU_LEFT:52
5_84=CDU_LEFT:53
5_83=CDU_LEFT:54
5_82=CDU_LEFT:55
5_74=CDU_LEFT:56
- make iocp.cfg read only (only on win7 ?)

Now everything works I'll try to make new keys for the mcdu unit,
I would like to have the text in the center of the buttons.

*VASfmc is so cool, it was worth every minute *