Results 11 to 20 of 38
Thread: SIOC Problems
-
06-23-2010, 03:35 PM #11
Re: SIOC Problems
Just to test a SIOC script I recommend you try the Lights offset. Most aircraft support that. http://www.lekseecon.nl/howto.html#example1
-
06-23-2010, 04:15 PM #12
Re: SIOC Problems
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?
EDIT: The SIOC.ini file looks suspicious... Take a look:
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
-
06-23-2010, 04:30 PM #13
Re: SIOC Problems
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
-
06-23-2010, 04:49 PM #14
Re: SIOC Problems
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.
-
06-24-2010, 04:17 AM #15
Re: SIOC Problems
Jack,
Your sioc.ini should be this:
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...
NicoLast edited by kiek; 06-24-2010 at 04:20 AM.
-
06-24-2010, 02:45 PM #16
Re: SIOC Problems
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.
-
06-24-2010, 03:22 PM #17
Re: SIOC Problems
Good to hear Jack! Eventually you will become a SIOC Master
-
06-24-2010, 04:05 PM #18
Re: SIOC Problems
Thanks very much Nico! I can only hope that I do!
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.
-
06-24-2010, 05:25 PM #19
Re: SIOC Problems
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
-
06-24-2010, 05:30 PM #20
- Join Date
- Sep 2006
- Location
- Netherlands
- Posts
- 165
Re: SIOC Problems
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
Hessel767 Level-D
Similar Threads
-
USB LCD Sioc Problems
By iwik in forum OpenCockpits General DiscussionReplies: 0Last Post: 02-27-2009, 04:09 AM -
Potential buyer: VNAV problems, A/P problems?
By 737aqua in forum PM General Q & AReplies: 13Last Post: 04-26-2008, 09:21 PM -
Problems with SIOC code for PM MCP-737Ng
By Oter3 in forum I/O Interfacing Hardware and SoftwareReplies: 6Last Post: 09-24-2007, 05:18 PM -
Log-in Problems and others
By Michael Carter in forum General Builder Questions All Aircraft TypesReplies: 11Last Post: 08-26-2007, 11:18 AM -
Problems with 4.13
By Jan Pemöller in forum FS2Phidget UsersReplies: 3Last Post: 12-19-2006, 04:25 PM