Results 21 to 30 of 38
Thread: SIOC Problems
-
06-25-2010, 09:24 AM #21
Re: SIOC Problems
Hi Hessel,
As previously mentioned I personally do not understand the whole nature of the Opencockpits Manuals, and thus could not deduce what to write.
As I also wrote in the other page, Nico's site is a BIG help to me but I still need a bit of extra assistance to get things working - That's just how I am I'm afraid, and I can't help that until I get tha hang of SIOC.
I also said that I have read through most of the Opencockpits documentation that I could find, including two presentations.
I would not post here if I knew how to do it beforehand.
Thanks,
Jack =)
-
06-25-2010, 10:15 AM #22
- Join Date
- Sep 2006
- Location
- Netherlands
- Posts
- 165
Re: SIOC Problems
Jack,
As mentioned before, on the HOW TO page it is written to the last digit ...
http://www.lekseecon.nl/howto.html#readFSUIPC
Var 1 Link FSUIPC_IN Offset $0BC8 Length 2 // parking brake state
{
IF v1 = 0
{
v2 = 0
}
ELSE
{
v2 = 1
}
}
Var 2 Link IOCARD_OUT Output 91 // led indicating parking brake set
H.767 Level-D
-
06-26-2010, 04:04 PM #23
Re: SIOC Problems
Oh dear... Another problem.
What is wrong with the following script:
Code:Var 9000 Link IOCARD_SW Input 12 Type P { v9001 = V9000 } Var 9001 Link FSUIPC_OUT Offset $07BC Length 4 Var 1 Link FSUIPC_IN Offset $07BC, Length 4 // AP MASTER STATE { IF v1 = 0 { v2 = 0 } ELSE { v2 = 1 } } Var 2 Link IOCARD_OUT Output 23 // AP MASTER LED
Code:[SIOC] IOCP_port=8092 IOCP_timeout=4000 Minimized=Yes toggle_delay=20 CONFIG_FILE=LEDtest.ssi [IOCARDS MODULE] IOCard_disable=No IOCard_LPT=No [MASTERS] MASTER=0,11,1,69 [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
The SIOC file I'm running is obviously LEDtest.ssi
After consulting the SIOC manual I'm still lost, I must've missed something.
Thanks alot, forgive my (potential) ignorance,
Jack
-
06-26-2010, 06:08 PM #24
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: SIOC Problems
Jack,
you've got two definitions for the same FSUIPC offset $7BC: one a FSUIPC_IN link and the other a FSUIPC_OUT link. Change one to FSUIPC_INOUT and delete the other.
FSUIPC_INOUT is not well documented by OC but it is in SIOC tutorial 1
Jim
-
06-26-2010, 06:15 PM #25
Re: SIOC Problems
Jack,
Are you sure that at output 23 there is a led?
Nico
P.S. we should re-phrase the topic of this thread: it is not about problems in or with SIOC but about learning SIOC
-
06-26-2010, 06:18 PM #26
Re: SIOC Problems
-
06-26-2010, 08:10 PM #27
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: SIOC Problems
Right again, Nico.
Thx
-
06-27-2010, 05:50 AM #28
Re: SIOC Problems
Hi Nico,
Yes there is an Output on LED 23.
I think the problem moreover is that the AP MASTER Switch does not come on at all in-sim.
-
06-27-2010, 12:16 PM #29
- Join Date
- Jan 2007
- Location
- Oslo - Norway
- Posts
- 8
Re: SIOC Problems
Hi all!
May I jump in with another SIOC question:
When starting Controlador.exe, an error message about IO.DLL pops up. It says 'Unable to start the IO.SYS service. Error code = 1275'.
Clicking OK to accept the info, closes the error message and opens Controlador application which works just fine, as does SIOC.EXE!
Anyone understanding the implication of this error?
Volante
-
06-28-2010, 12:28 PM #30
Re: SIOC Problems
Hello everyone,
Just wondering has anyone managed to figure out wh ythat SIOC script doesn't work, the push button isn't even detected by the AP Switch.
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
Candid connections: Platform for casual relationships Live Women Prime Š”asual Dating
Super Š”asual Dating - Genuine...