Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    25+ Posting Member
    Join Date
    Oct 2007
    Location
    Miami, FLorida. USA
    Posts
    37
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    SIOCards and pmSystems

    Hi to all:

    I have purchased the I/O cards from Opencockpits and
    I need to interface them to pmSystems. Has anybody tried this?

    My goal is to have the electrical Panel, the CRZ ALT and LDG ALT
    displays working. I do have experience in programming. I just need
    to know if anybody has been successful in doing this.

    pmSystems has native interface to SYS cards from FDS and Phidgets
    but not with Opencockpits.

    Thanks.

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

    Hi, if you search in the forum i had already put the code for FLT and LNG altitude display for sioc and PM Sys.

  3. #3
    25+ Posting Member
    Join Date
    Oct 2007
    Location
    Miami, FLorida. USA
    Posts
    37
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    I'll certainly look. I just did not want to duplicate efforts.
    I will start working on the code for the AFDS if none is been written.

    Thanks.

  4. #4
    25+ Posting Member
    Join Date
    Oct 2007
    Location
    Miami, FLorida. USA
    Posts
    37
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thank you. I located the post but I am not able to see the code when I click
    on the attachment. I get a blank page. Also If I save it, it saves it as a .php file.

    Thanks once again

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

    I edited the post so you can see the code! at http://www.mycockpit.org/forums/show...6660#post46660
    Don't know why the attach doesn't work, it seems a problem with the forum board, Admin check please.

  6. #6
    25+ Posting Member
    Join Date
    Oct 2007
    Location
    Miami, FLorida. USA
    Posts
    37
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thank you. Have you had the time to fiddle with the AFDS logic?
    pmSystems does not have it. I am willing to tackle the problem if none has done it.

    I pretty much have evreything working with a mixture of phidgets , SYM cards
    and now SIOC cards. I understand the possibilities of the language allow for some very nice things.

    I will look at your code and try to learn the language.

    Once again, many thanks!!.

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

    I didn't the code for the AFDS 'cause i haven't MIP full, but when i get there i will look.
    I'm currently working on the overhead part, when i finish that i will do other things.
    I did also the SIXPACK code in SIOC for PMsystems if you need that.
    Bye!

  8. Thanks jfuenmay thanked for this post
  9. #8
    25+ Posting Member
    Join Date
    Oct 2007
    Location
    Miami, FLorida. USA
    Posts
    37
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Well , here I am again. Downloaded the code for LDG ALT. Great job.
    It works well, however, I have a little problem which is quite unusual and
    it is not your code.

    When writing to the DISPLAY CARD , the digits
    appear from right to left. I tested it with a very simple SIOC program
    that writes a number to the display. Here it is

    +++++++++++++++++++++++++++++++++++++
    // TEST SIOC program. diplays digits on 7seg LED


    var 1 Value 300
    {
    v3 = v1
    }

    var 3 Link IOCARD_DISPLAY Digit 0 Numbers 3

    ++++++++++++++++++++++++++++++++++++++

    The display should read 300, instead it reads 003.

    If I change the value of v1 to 003 then it displays it correctly, 300
    which is what the original program should do.

    When running the code for FLT LDG on pmSystems
    the altitudes are displayed in reverse. For example FLT ALT
    36000 in pmSystems is displayed as 00063 and
    LDG ALT 240 in pmSystems is displayed as 042. Quite annoying.

    I tested digit by digit with the Controller program, the positions
    and the numbers are displayed correctly.

    Has anybody experienced something like this.

    I am usisng 7seg displays supplied by FDS, white digits
    in a mounting card with a group of 5.


    Regards to all.

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

    As you can see from your simple code the problem is hardware related, so i think you must connect the wire in reverse order, maybe the FDS PCB are different than OC in layout...

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

    Yup! I would agree You have your MSB and your LSB reversed. Take the common wire from your 7 segments and reverse the order that they are wired..

    Trev
    ________________________
    Trevor Hale

Page 1 of 2 12 LastLast

Similar Threads

  1. PMSystems?!
    By coolmanak in forum General Builder Questions All Aircraft Types
    Replies: 17
    Last Post: 10-24-2009, 10:06 AM
  2. MIP in PMSystems??
    By Fuglsang in forum PMSystems
    Replies: 4
    Last Post: 02-11-2009, 03:31 PM
  3. Do I have to have PMsystems?
    By Xanderol in forum FS2Phidget Users
    Replies: 5
    Last Post: 02-22-2008, 06:17 AM
  4. PMSystems
    By Andras in forum FS2Phidget Users
    Replies: 7
    Last Post: 10-22-2004, 04:42 PM