Results 1 to 4 of 4
  1. #1
    300+ Forum Addict luisgordo's Avatar
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    306
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Question FSUIPC offset use in pmSystems

    Hi there folks!

    I am trying to use the following FSUIPC variable in the pmSystems logic code file:

    2EF8

    8


    CG percent, as a double (FLOAT64). This is probably the position of the actual CoG as a % of MAC (?).


    However, it always seems to get the reading '0', when I see per FS Interrogate that the value (Float64) is '-0.37'.

    The 8-bit and 16-bit value is zero, so I may just be defing the variable wrong in the sysvar file?

    The way I am defining it in the SysVar file is:

    2EF8 8 CenterG

    Is this correct? What can I be doing wrong?

    Thanks for your help!!
    Luis Gordo
    Instructor StationTM - www.iStationGordo.com

  2. #2
    300+ Forum Addict
    Join Date
    Dec 2006
    Location
    Ireland
    Posts
    341
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi

    PmSystems doesn't read Floating Point variables.
    Regards
    Thomas

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

    Didn't know about this limitation...

    Is this something that will be changed in future pmSystems versions?
    Luis Gordo
    Instructor StationTM - www.iStationGordo.com

  4. #4
    300+ Forum Addict
    Join Date
    Dec 2006
    Location
    Ireland
    Posts
    341
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    I don't think that this will be changed because it is not really needed. PmSystems is more to handle logic than to do mathematics in those range.
    It depends in any case on Enrico but would not make sense in my point of view.
    Regards
    Thomas

Similar Threads

  1. LCD DISPLAY FSUIPC OFFSET CALCULATIONS
    By shoumi in forum lekseecon Q&A and Discussions
    Replies: 20
    Last Post: 03-31-2011, 12:33 AM
  2. Fsuipc offset problem??
    By spitfire9 in forum Phidgets Interface & Alan Dyers' FS2Phidget
    Replies: 1
    Last Post: 02-23-2011, 02:44 PM
  3. View FSUIPC offset values
    By ChrisKLAS in forum I/O Interfacing Hardware and Software
    Replies: 4
    Last Post: 03-24-2010, 05:15 PM
  4. Help with and FSUIPC offset please
    By TasKiNG in forum General Builder Questions All Aircraft Types
    Replies: 5
    Last Post: 08-31-2008, 12:29 PM
  5. Fsuipc offset
    By Oter3 in forum OpenCockpits General Discussion
    Replies: 1
    Last Post: 07-24-2008, 08:29 AM