Just to test a SIOC script I recommend you try the Lights offset. Most aircraft support that. http://www.lekseecon.nl/howto.html#example1
Printable View
Just to test a SIOC script I recommend you try the Lights offset. Most aircraft support that. http://www.lekseecon.nl/howto.html#example1
Hi Nico,
Still no luck. In fact, I used the Type I ON/OFF Switch (Input 7) on the Transponder to keep things simple, so that I wouldn't have to alter the script at all.
Still nothing happens. I even switched aircraft to the Default Cessna and still the Landing Lights Switch is dead. The TESTs.ssi script that I'm using compiles fine and runs okay, the SIOC interface detects FSX and FSUIPC, everything looks okay...
This is a very strange problem is it not?:eek:
EDIT: The SIOC.ini file looks suspicious... Take a look:
If you notice, all the Modules are Disabled=Yes... That is wh yI asked earlier, as I have not personally disabled any of these myself, I wonder if SIOC does it by default or something?Code:[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=Yes
toggle_delay=20
CONFIG_FILE=TESTs.ssi
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[MASTERS]
[USBKEYS]
USBKeys=0,67
[FSUIPC MODULE]
FSUipcdisable=No
[IOCP CLIENTS MODULES]
IOCPini_delay=3000
IOCPclient0_disable=Yes
IOCPclient0_host=localhost
IOCPclient0_port=8090
IOCPclient1_disable=Yes
IOCPclient1_host=localhost
IOCPclient1_port=8099
[SOUND MODULE]
Sound_disable=Yes
Volume=100
Again, SIOC does nothing by default or something. It is YOU who has to set the definitions in sioc.ini right.
Your sioc.ini is not right.
At first sight:
* You miss the FSUIPC refresh statement
* the USBKEYS section should not be present now because you are not using the USBKeys module
* instead you should add the ATC module in the MASTERS section
I have no time now to help you further. Please study the documentation and do not hop from one topic to another.
regards,
Nico
I have studied the documentation many times, and I still do not understand it. I learn through participation and exercises. I have invested many, many, many hours trying to learn SIOC and it is not easy for me.
I will have a go at adding "ATC" under the Masters section, I still don't understand what to add exactly (ATC, MODULE_ATC) but I guess I'll just have to trial and error it out.
" do not hop from one topic to another"
I did not want to hop from one to another, but you said to end the previous discussion so I thought I'd start a new one in its place.
"You miss the FSUIPC refresh statement"
Again, I would love to know what this is. The SIOC documentation is confusing is some aspects. From which manual or guide did you get this information? One of the SIOC tutorials cannot be downloaded from the O/C website, as it is a dead link.
Jack,
Your sioc.ini should be this:
Note:Code:[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=Yes
toggle_delay=20
CONFIG_FILE=TESTs.ssi
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[MASTERS]
MASTER=0,11,1,67
[FSUIPC MODULE]
FSUipcdisable=No
FSUipcRefresh=50
[IOCP CLIENTS MODULES]
IOCPini_delay=3000
IOCPclient0_disable=Yes
IOCPclient0_host=localhost
IOCPclient0_port=8090
IOCPclient1_disable=Yes
IOCPclient1_host=localhost
IOCPclient1_port=8099
[SOUND MODULE]
Sound_disable=Yes
Volume=100
MASTER 0,11,1,67 means:
Logical Device 0 is an ATC module (code 11), it has 1 Master Card (not relevant for a ATC module) and in your system its IDX is 67.
FSUipcRefresh=50 means that every 50 msec SIOC will read/write to FSUIPC offsets (so 20 times per second)
The USBKEYS section is not needed because you are not using a USBKey card in this test.
Try again...
Nico
Thanks Nico!
All is working perfectly now, I managed to get the IDENT working with the A/P MASTER Switch, and then I made a further SIOC entry to control the HDG button with the XPNDR select.
Good to hear Jack! Eventually you will become a SIOC Master :-)
Thanks very much Nico! I can only hope that I do!:p
Also, how are LEDs controlled by FSUIPC Offsets? I assume that they are controlled by something like, for example:
- If AP MASTER is ON, then LED23=1... etc
I must learn how to write that. I looked on your site and found the LED section, but couldn't find the reference to the FSUIPC within it.
Here an example from my site, a led connected to the FSUIPC offset for the state of the parking brake:
http://www.lekseecon.nl/howto.html#readFSUIPC
Jack,
Really, really, surprised that you ask this.
We are obliged not to take time from others here, if it's not nesessary i.m.h.o.
It's ***ALL*** in the Opencockpits documentation !
AND
It's all on ***Nico's "HOW TO"*** page !
http://www.lekseecon.nl/howto.html#readFSUIPC
Hessel