• Please see the most recent updates in the "Where did the .com name go?" thread. Posts number 16 and 17.

    Post 16 Update

    Post 17 Warning old domain name stealing credentials

  • Special Server Maintenance

    Just when you think you have everything running some what better...

    You get a message from the Hosting company. Short story they need to move us to a new server. I have been working with them to plan a good date for all concerned. Here is what we have come up with as a schedule.

    1. November 4th 17:00 -5UTC shut off the forums and start backup proceedures. During this time there will be no access to the forums or the Resource Section.
    2. November 5th Continue with Backups and download same until complete.
    3. November 6th 7:00 turn over server to hosting company to move system to new server
    4. November 7th - 8th restore backups and upgrade forum software.

    If all goes well we should be back online on November 8th.

    To keep you updated we will post updates on AVSIM forums.

    Thank you for your support.

Douglas C47 V3: question regarding (LUA) variables

Guenseli

Members +
Hello,

first, thanks for this great piece of freeware!!!

I'm working on a LINDA module for the C47 and have found most variables I need, but with some I have troubles.
So this questions goes to the devs of this bird.

I can't find a variable of possibility for the starters and for the primers.

I managed to activate the primer with FSUIPC control 66345 (TOGGLE_PRIMER1), but that works just once and I think not as intended.
For the starters I can't find anything.

The variables like Primer switch:1 do just move the knobs without any function.


Would be nice if someone could help me finding these last pieces.
Many thanks,
Guenter
 
Guenseli-

BRILLIANT to see you here! I'm a huge fan of LINDA and excited to know my Boeing MCP II will soon work with our beloved C-47.... Manfred, Jan et al will have you sorted in not time.

Thank-you for what you, Scott and the team do for us all!

Best- Carl
 
Hi, Starter and Primer switches do not execute any K:vars directly. Would the following snippets from the modeldef code give you a clue on what the Starter and Primer switches are doing?

Starter1 mouse code:
<mouserect><callbackcode>
(L:Starter switch:1, enum) 0 !=
if{ 0 (>L:Starter switch:1, enum) 0 (>L:Starterturn1, rpm) quit }
50 (>L:Starter switch:1, enum)
(A:Circuit general panel on, bool) ! if{ quit }
(A:General eng fuel pump switch:1, bool) ! if{ quit }
(A:pROP RPM:1, rpm) 0 > if{ quit }
(L:slowprop, rpm) (>L:Starterturn1, rpm)
</callbackcode></mouserect>
Primer1 mouse code:

(M:Event) 'LeftRelease' scmp 0 == (M:Event) 'RightSingle' scmp 0 == ||
if{ 0 (>L:primer switch:1, enum) quit }
(M:Event) 'LeftSingle' scmp 0 ==
if{ 50 (>L:primer switch:1, enum)
(A:Circuit general panel on, bool) ! if{ quit } }

Sorry, I seem to be unable to get rid of the cleanup routine here.

Starter is clicked once and begins cranking (slow-turning) the prop. Primer is clicked repeatedly or pressed continuously. When the right number of primer clicks has accumulated and several other conditions are satisfied (Magnetos, mixture, throttle etc) the engine will fire.
 
Hello Manfred,

unfortunately I'm not a good programing expert and this code snippet does not help.
But thanks anyways!


Will try my best to find a solution
 
Back
Top