Results 11 to 20 of 24
Thread: opencockpits cdu script
-
02-26-2012, 04:58 PM #11
Re: opencockpits cdu script
IOCP_port=8092
IOCPclient0_disable=No
IOCPclient0_port=8092
that port is for my mcp
-
02-26-2012, 06:21 PM #12
Re: opencockpits cdu script
this is the only part that im not happy with what is the source file
PMDG 737-NG Driver Manual CDU B737
OpenCockpits CDU Driver for PMDG 737 NG Written by Michael Delvos
Copyright © 2010 OpenCockpits – http://www.opencockpits.com
Now, paste them into your SIOC source file below the section called ‘Inicialización
variables’
..
// __________________________________________________ ________________
// Inicialización variables
//__________________________________________________ __________________
Var 1010, name CDUKey, Link USB_KEYS, Device 2
{
IF &CDUKey > 0
{
V1011 = &CDUKey
}
}
Var 1011, name LastCDUKey, LINK IOCP, OFFSET 9999, Value 0
..
These inserted lines define two variables; by default they are numbered 1010 and 1011.
Check out whether these numbers are used elsewhere in your script. If so, you’ll have to
change the numbers because they must be unique! The last edit you have to do is to enter
the correct device number (.., Device 2). Now, save your SIOC script, compile it and start
SIOC.
Firewall
-
02-26-2012, 06:33 PM #13
- Join Date
- Jul 2013
- Posts
- 917
Re: opencockpits cdu script
Daz
I assume Michael is talking about inserting his USBkeys code into another sioc script so that it all works together. Provided that your filename, which includes this code, matches the one in sioc.ini then there should not be a problem
One thing I have noticed is that he is using Device 2 in his definition for the CDUKey variable. If you have only one USBKeys card, then try removing the Device argument and also change your sioc.ini line to USBKeys=0,whatever your device number is
Edit: the last para may not work, if his .dll code is referencing a DEVICE 2 somewhere. So if it does not work then change it back again
I assume that your firewall is not blocking the port
David
-
02-26-2012, 06:44 PM #14
Re: opencockpits cdu script
yes my device number is 119 in usbcheck.
i can not see the SIOC source file to put in
// __________________________________________________ ________________
// Inicialización variables
//__________________________________________________ __________________
Var 1010, name CDUKey, Link USB_KEYS, Device 2
{
IF &CDUKey > 0
{
V1011 = &CDUKey
}
}
Var 1011, name LastCDUKey, LINK IOCP, OFFSET 9999, Value 0
-
02-26-2012, 07:32 PM #15
- Join Date
- Aug 2009
- Location
- France
- Posts
- 37
Re: opencockpits cdu script
hi Dazchad if it's for the PMDG FS9 version look at this:
http://www.opencockpits.com/modules....=print&sid=365
hope this helps you.
regards
rakouth
-
02-27-2012, 05:19 AM #16
- Join Date
- Jul 2013
- Posts
- 917
Re: opencockpits cdu script
Rakouth
Daz has that Devlos file and is trying to make it work
Daz
Either add the above sioc lines to an exisiting source file eg your MCP one, or just create a new one with only the above lines. Make certain if you are adding this code to an existing sioc file that you are not already using var 1010 or 1011 The filename must match the name in your sioc.ini file eg CONFIG_FILE = ./???????
For the time being change the your SIOC.ini line saying USBKeys=??? to USBKeys=2,119 (ignore my previous post re device numbers)
Now check that you have precisely followed the manual, (have you now included the missing sioc.ini lines mentioned in a previous post) and check the Manual SIOC screen printout and advise whether yours exactly matches, if not please advise where and the details
David
-
02-27-2012, 05:31 AM #17
- Join Date
- Aug 2009
- Location
- France
- Posts
- 37
Re: opencockpits cdu script
Daz, an alternative is to use something like Prosim737.
I have used it as Prosim beta, it works fine for both FS9 and FSX,PMDG NGX no problem...
The script is provided with the software, setup very easy.
You can use all OC modules:MCP,EFIS,CDU (FMC) ,Throttle with it.
rakouth
-
02-27-2012, 06:27 AM #18
- Join Date
- Jul 2013
- Posts
- 917
-
02-27-2012, 08:28 AM #19
Re: opencockpits cdu script
what is the source file there is it?
-
02-27-2012, 08:42 AM #20
- Join Date
- Jul 2013
- Posts
- 917
Re: opencockpits cdu script
Daz
I cannot put it any simpler. Either
1) Use the above script, call it whatever you like, put it in your sioc directory and amend your sioc.ini file to match the name
or
2) add the script to an existing sioc script and proceed as per post #16
Also read the link I posted earlier where Michael Devlos gave some advice about where to put files
David
Hi...realize this has been a long time, but I'm heading down the path of building my own 777...
B777 Overhead Panel Design