Results 1 to 9 of 9
  1. #1
    10+ Posting Member
    Join Date
    May 2007
    Location
    singapore
    Posts
    23
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    pmSystem sysvar and logic

    Hi, is anyone know what is internal handled variable? For instance, xxxx 2 fs1n1 (offsets length variable). And, one more thing is what is the value stated in the logics of the pmSystem for fs1n1<8, bleedpsi>16, etc? What does these values represent? Thank you

  2. #2
    2000+ Poster - Never Leaves the Sim Trevor Hale's Avatar
    Join Date
    Nov 2005
    Location
    Ontario, Canada
    Posts
    2,221
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Quote Originally Posted by ****sonlee View Post
    Hi, is anyone know what is internal handled variable? For instance, xxxx 2 fs1n1 (offsets length variable). And, one more thing is what is the value stated in the logics of the pmSystem for fs1n1<8, bleedpsi>16, etc? What does these values represent? Thank you
    fsXn1 Representes Flight simulator engine #X N1 Value...

    ie. fs2n1 = engine 2 N1 Value
    fs3n1 = engine 3 N1 Value.

    Therfore in your logic question...... If fs1n1 is less then 8 (in other words
    not running) then ........

    Next line If your bleedair pressure is greater then 16 then .............

    Hope that helps..
    ________________________
    Trevor Hale

  3. #3
    75+ Posting Member PeterH's Avatar
    Join Date
    Dec 2006
    Location
    EDDM
    Posts
    148
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Trevor,

    Quote Originally Posted by Trevor Hale View Post
    fsXn1 Representes Flight simulator engine #X N1 Value...

    ie. fs2n1 = engine 2 N1 Value
    fs3n1 = engine 3 N1 Value.

    Therfore in your logic question...... If fs1n1 is less then 8 (in other words
    not running) then ........

    Next line If your bleedair pressure is greater then 16 then .............

    Hope that helps..


    can you tell where I could find the syntax rules for pmSystems?
    It seems to be somewhat like HP basic but also like C. Is it an own PM language and where can the syntax rules be found?

    Would be great to shed some light on to this.

    Thanks and best rgds

    Peter

  4. #4
    2000+ Poster - Never Leaves the Sim Trevor Hale's Avatar
    Join Date
    Nov 2005
    Location
    Ontario, Canada
    Posts
    2,221
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Peter.

    Pmsystems programming language is a home made kind of breed that I am aware of. I have spent many hours playing with it, as Thomas and the rest of the PM team have not released any tutorials.

    The syntax for the system is quite simple, as PM Smartly named the variables similar to the operation. All I can tell you is what I have taught myself.

    The best intervention the PM made is in their latest release. They separated the graphic file from the logic file. This has made learning the code 1,000,000 % Easier.

    Just breeze through the file and you will understand the logic. For instance... In the Logic file for the Ground power it it quite easy to understand from the logic how they either make it available or not available based on FSAGL variable.

    I wish I could be of more help to you. I am still learning however am further then most. If you run into any questions, please do not hesitate to ask, as If I don't know the answer I will surely look and help you to understand.

    Best regards my friend.

    Trev
    ________________________
    Trevor Hale

  5. #5
    75+ Posting Member PeterH's Avatar
    Join Date
    Dec 2006
    Location
    EDDM
    Posts
    148
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thanks Trevor.

    I almost assumed it was a homebrew kind of language mix.
    PM is great in software however, I´m afraid, the documentation part is not their strength (yet?).
    Since PM decided to not answer to questions in public anymore it has become quite difficult to stay uptodate.
    Just hope that individual questions and results will be made public here in this forum more often.

    Thanks again and best rgds


    Peter

  6. #6
    2000+ Poster - Never Leaves the Sim Trevor Hale's Avatar
    Join Date
    Nov 2005
    Location
    Ontario, Canada
    Posts
    2,221
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Peter,

    I agree 100%. I will try to keep this Thread alive as I learn some new and exciting things.

    Stay Tuned.

    Trev
    ________________________
    Trevor Hale

  7. #7
    150+ Forum Groupie luisgordo's Avatar
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    275
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi folks,

    any news on a possible tutorial or documentation file on pmSystems logic programming and syntax?

    Thanks!
    Luis Gordo
    Instructor StationTM - www.iStationGordo.com

  8. #8
    150+ Forum Groupie michelmvd's Avatar
    Join Date
    Nov 2005
    Location
    Oostende - Belgium
    Posts
    222
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Well guys,
    I'm trying to start learning more of the code too.

    So in the B744 logic file, from Enrico, the fault amber leds of the Korry switches for the left and right utilities were not working

    I wrote following code in order to let them work correctly

    UtilityLOff = (UtilityL = 0) or (bustie1 = 0) //MVD

    UtilityROff = (UtilityR = 0) or (bustie3 = 0) //MVD

    UtilityLOff is the variable for the amber LED and so the rest says if the button isn't on or/and BusTie1 (3) is off, then the amber LED must be on.

    Thomas helped me with the correct syntax and it was all working

    By putting the bustie1=0 in other cases I can provide more correct logic for all systems working under that bus tie.

    It is still very small, but there is progress

    I hope PM can come up in the near futur with some more missing offsets for the B744 logic.

    B. Rgds
    Michel
    _______________________________________________
    Michel VANDAELE
    msn : michelmvd@hotmail.com
    website B744 : users.telenet.be/michel.vandaele/sim1.htm
    general website : users.telenet.be/michel.vandaele
    my spaces: http://michelmvd.spaces.live.com/
    email : michelmvd@hotmail.com

  9. #9
    150+ Forum Groupie
    Join Date
    Sep 2007
    Location
    Northern Italy
    Posts
    160
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Exclamation small wish

    Since not just the .exe, or the .dll, are expected to bring changes from one PM System release to the other, I wish the improvements to the logics file were somewhat highlighted in the accompanying file "changes.txt" ...
    At the moment, you need to browse carefully each part, even each line of the file, with the old one in hand, to spot where the news are !
    Happy landings and always three greens !!

    Eu

Similar Threads

  1. Gear offset sysvar
    By Niben in forum PMSystems
    Replies: 1
    Last Post: 03-12-2011, 05:43 AM
  2. pmsystem logic for fspassanger
    By AchillesP in forum PMSystems-Custom Edits
    Replies: 5
    Last Post: 12-09-2009, 07:23 AM
  3. PM Systems 140 - missing entries in sysvar
    By HauptChr in forum PMSystems
    Replies: 4
    Last Post: 09-03-2009, 01:06 AM
  4. Re: Help with the beta PMSystem 744
    By Peter Parnreiter in forum PM General Q & A
    Replies: 0
    Last Post: 02-05-2005, 04:37 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