Results 1 to 2 of 2

Thread: [LOGIC] Include

  1. #1
    null null
    Guest

    [LOGIC] Include

    Hello Enrico
    I would like to use the include text file function in the [LOGIC]
    section.

    I would like to put the following [LOGIC] code into a include file.

    if (apugen = 2) and (APUPowerGood = 1)
    if (Source1 = 0) and (Source2 = 0)
    ACXFR1 = 2 //BUS POWERED BY BTB1 & APB
    ACXFR2 = 4 //BUS POWERED BY BTB2 & BTB1
    Source1 = 2 //APB
    Source2 = 0 //NO SOURCE
    else
    ACXFR1 = 2 //BUS POWERED BY BTB1 & APB
    Source1 = 2 //APB
    Source2 = Source2
    endif
    endif


    How is the include text file organized?


    David


  2. #2
    Enrico Schiratti
    Guest

    Re: [LOGIC] Include

    Hi,

    > I would like to use the include text file function in the [LOGIC]
    > section.
    >
    > I would like to put the following [LOGIC] code into a include file.


    That is possible, however all the includes will be handled once the main
    file has been processed... so it absolutely needs to have

    [logics]

    at the beginning of it.

    Ciao

    Enrico


Similar Threads

  1. 777 logic file?
    By sbecker777 in forum PMSystems
    Replies: 7
    Last Post: 10-18-2018, 02:07 PM
  2. Opencockpits - Price does not include VAT.
    By notgotaclue in forum General Builder Questions All Aircraft Types
    Replies: 10
    Last Post: 03-16-2011, 05:33 PM
  3. Logic circuit
    By gokhotit in forum FS2Phidget Users
    Replies: 9
    Last Post: 09-23-2007, 11:49 PM
  4. [logics] in Include-file
    By Thomas Richter in forum PM General Q & A
    Replies: 1
    Last Post: 01-06-2005, 01:36 PM
  5. [LOGIC] Center logic 0 Three position toggle switch
    By null null in forum PM General Q & A
    Replies: 2
    Last Post: 11-24-2004, 04:42 PM