Results 1 to 1 of 1
-
08-10-2010, 10:41 PM #1
- Join Date
- Feb 2010
- Location
- Costa Rica
- Posts
- 3
SIOC not sending value correctly to FSUIPC
HELLO!
I'm using SIOC and my IOCards to interface with AST A320 experience, but I have some problems. The problem is that SIOC doesn't assign the value of the variable correctly, because it just assign the lower 8 bits and the 8 higher bits never get assign (a variable just takes values from 0 to 253, not higher than that).
Here is my code:
Code:
Var 1100, Link FSUIPC_OUT, Offset $4850, Length 2
Var 2000, name EF_P_CSTR, Link IOCARD_SW, Input 0, Type P // EFIS Piloto CSTR
{
v1100 = 4111
}
Instead of writing a 4111 to v1100 it writes a 15.
I figure it out this problem using the SKD tool, my IOCards work correctly just having trouble reading values higher than 254.
That somebody knows what going on?
Regards!
Luis
Similar Threads
-
Calling a FSUIPC MACRO from SIOC
By STF-DIR in forum OpenCockpits General DiscussionReplies: 6Last Post: 07-14-2010, 01:55 PM -
FSUIPC and SIOC issues
By remcosol in forum General Builder Questions All Aircraft TypesReplies: 1Last Post: 03-05-2010, 04:04 AM -
SIOC and FSUIPC
By Bell209 in forum I/O Interfacing Hardware and SoftwareReplies: 6Last Post: 03-04-2009, 10:50 PM -
FSUIPC/MACRO/Keysend with sioc
By Georg Schneider in forum OpenCockpits General DiscussionReplies: 12Last Post: 05-05-2008, 12:18 PM
Search Prettys Womans from your city for night
5.Sharing an Essay about PIC16F877