Results 1 to 4 of 4
Thread: calling on kiek
-
10-05-2009, 09:36 AM #1
- Join Date
- Mar 2009
- Location
- boston ma
- Posts
- 86
calling on kiek
nico need some help...ok totatly fed up with trying to get pmdg decided to switch permenantly to lvld... im using the dta rotary encoder boards for all rotaries for the mcp when i turn them i see no change on the displays (displays are going thru oc hardware) I took this section of your mcp alt code for you to help me with. what is it that i need to change in order to get the displays to change from either the rotaries or if i change the setting using the mouse? Thanks nico....i know i know i should have made the change sooner
Var 299 Static // read/write ALT from/to level-D panel
{
IF &ALT <> v299 // block a new value coming from the rotary
{
&ALT = v299 // new value coming from panel
}
}
Var 1 name RO_ALT Link IOCARD_ENCODER Device 2 Input 2 Aceleration 2 Type 2
{
L0 = &RO_ALT * -1 // turning right should be plus
&ALT = LIMIT 0 640 L0
v299 = &ALT // to panel
}
Var 2 name ALT
{
Call &OutALT
}
Var 3 name OutALT Link SUBRUTINE
{
IF &ColdAndDark = 1
{
&D_ALT = -999999
&D_ALTL0 = -999999
&D_ALTL00 = -999999
}
ELSE
{
IF &TestMIP = 1
{
&D_ALT = 888
&D_ALTL0 = 8
&D_ALTL00 = 8
}
ELSE
{
L0 = &ALT * 100
IF L0 >= 10000
{
&D_ALTL0 = DIV L0 10000
L1 = MOD L0 10000
&D_ALTL00 = DIV L1 1000
&D_ALT = MOD L0 1000
}
ELSE
{
&D_ALTL0 = -999999
IF L0 >= 1000
{
&D_ALTL00 = DIV L0 1000
&D_ALT = MOD L0 1000
}
ELSE
{
&D_ALTL00 = -999999
&D_ALT = L0
}
}
}
}
}
Var 4 name D_ALT Link IOCARD_DISPLAY Device 2 Digit 9 Numbers 3
Var 5 name D_ALTL00 Link IOCARD_DISPLAY Device 2 Digit 12 Numbers 1
Var 6 name D_ALTL0 Link IOCARD_DISPLAY Device 2 Digit 13 Numbers 1
-
10-05-2009, 10:22 AM #2
- Join Date
- Mar 2009
- Location
- boston ma
- Posts
- 86
Re: calling on kiek
I may have found something...will this work if i write it this way in sioc
Var 299 name Alt
{
v1001 = &Alt
}
Var 1001 Link IOCARD_DISPLAY Digit 0 Numbers 5
-
10-06-2009, 12:57 PM #3
- Join Date
- Mar 2009
- Location
- boston ma
- Posts
- 86
Re: calling on kiek
anyone else know if this will work?
-
10-06-2009, 02:15 PM #4
Re: calling on kiek
http://www.lekseecon.nl/phpbbv2/
Best way to get help and support from Nico
Good luckRan Finkels
Former B763 Builder - FS9 Simvionics. LDS, FDS OC etc.
Similar Threads
-
Calling all GA Pilots
By BlackWidow in forum MyCockpit Online Flying DiscussionReplies: 8Last Post: 11-04-2009, 11:36 AM -
PMSounds calling out minima ...
By eudoniga in forum PM General Q & AReplies: 4Last Post: 04-02-2008, 08:24 AM -
Calling out for some HELP!
By 737NUT in forum General Builder Questions All Aircraft TypesReplies: 13Last Post: 11-07-2007, 08:19 PM -
Vienna is calling ...
By flightdeck in forum Welcome to MyCockpit New here? Introduce Yourself!Replies: 3Last Post: 06-13-2007, 12:40 PM
Explore Local Dating Opportunities in Your Town Super Сasual Dating https://datingnow.site
P3D V4 FMGS B47 Aircraft issue