USBKEYS idx

Forum for the OC4BA v2/v3 and OC4BAConfig including the OCP4NGX driver
Post Reply
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

USBKEYS idx

Post by sky80033 »

Hello,
I have no P&P module.
I work with an usb expansioncard and 4 mastercards,one usbservoscard and one usbkeyscard.
I run oc4bav3 ocp4ngx_253 and ocp4ngx_3.6ssi
edit.ini sioc:master=33,4,4,36
usbservos=36,16
usbkeys=?,32
oc4ba.config:MCP_my IDX33
OVH_Servo1 IDX36
USBKeys IDX?
script:var 0621,name cdu1,link iocards_keys,device "?"
Everything works apart USBKeys that is recognized by sioc but not by oc4ba.
Can you help me?
Thank you
marc belgium
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: USBKEYS idx

Post by mvr1918 »

Hi

The USBKey Card is not implemented in the OC4BAConfig at the moment. This means that you have to manually add it to your sioc.ini.

You can use any IDX number you like as long as it is not already used by another card.

Then you should modify your script part that controls the USBKey card so its Device = IDX number of USBKey Card

If you send me an image of the Device window in SIOC.exe that shows the device string of the USBKey card , I will implement it in the next update of OC4BAConfig.
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: USBKEYS idx

Post by sky80033 »

Hello,
I tried it with several number for idx but not working.
ocp4ngx does not recognize the USBKeys.
oc4ba config:idx0 idx60 idx30 idx50
sioc.ini:USBKeys:0,32 USBKeys60,32 30,32 50,32
script 3.6:var 0621,name cdu1,link iocards_keys,device0
device60
device30
device50
Nothing work
You say the USBKeys card is not implement in the oc4baconfig wat is de iocards-keys var 0621 in the 3.6 script ?
thank you
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: USBKEYS idx

Post by mvr1918 »

I said it was not implemented in OC4BAConfig. The OC4BAConfig is just a configuration tool.

The driver OCP4NGX doesn't care if it it USBKey card or whatever.

Not sure what you want to do.

The Var 0621, name CDU1, Link IOCARD_KEYS, device 13 // FMC/CDU1_CAPT
This is for the FMC/CDU version 3

If you want to use the USBKey card you must have the

Var 11, name CDU1, Link USB_KEYS, device 13 // FMC/CDU1_CAPT
This is for FMC/CDU version 2

You can use any IDX number , but in the script code device number has to be the same as the IDX
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: USBKEYS idx

Post by sky80033 »

Hello,
You gave me the solution.
My error was in my script:link USB_KEYS and not link iocard_keys.

The 737ngx pmdg is the most realistic simulator .Offsets have always been hidden to the public.
Finally,thank to you with the event and variable i can program all the fuction in the 737.
I hope you understand me.
thank you
marc
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: USBKEYS idx

Post by mvr1918 »

Post issue solved
Post Reply