Results 1 to 7 of 7

Thread: Seatbelts

  1. #1
    David Rabiner
    Guest

    Seatbelts

    Hello.

    The offsets within GC and pmSystems for the Seatbelts signs are different,
    and I can't get the Seatbelts in pmSystems to impact the display on the GC.

    Is there some code I can write in pmSystems to fix that?

    Thanks!

    David


  2. #2
    David Rabiner
    Guest

    Re: Seatbelts

    I'm thinking the workaround here is to have my switch flip the pmGC seatbelt

    offset, and then add a line of code that sets the seatbelt switch in
    pmSystems to the pmGC offset.

    Ideas?


  3. #3
    Enrico Schiratti
    Guest

    Re: Seatbelts

    Hi,

    > The offsets within GC and pmSystems for the Seatbelts signs are

    different,
    > and I can't get the Seatbelts in pmSystems to impact the display on the
    > GC.


    Yes, the old way of doing things is still not linked into the pmSystems part

    for those two offsets.

    > Is there some code I can write in pmSystems to fix that?


    Sure...

    if seatbelts changed
    if seatbelts then
    pm4f4 = 425
    else
    pm4f4 = 426
    endif
    endif

    or even simpler...

    if nosmoking changed
    pm4f4 = 423 - nosmoking
    endif


  4. #4
    Enrico Schiratti
    Guest

    Re: Seatbelts

    Is this in reply to my message or did you post it before my reply?
    (timestamp isn't quite clear here)

    "David Rabiner" wrote in message
    news:281649.55970@wb.onvix.com...
    > I'm thinking the workaround here is to have my switch flip the pmGC
    > seatbelt
    >
    > offset, and then add a line of code that sets the seatbelt switch in
    > pmSystems to the pmGC offset.
    >
    > Ideas?
    >



  5. #5
    David Rabiner
    Guest

    Re: Seatbelts

    No, I was still talking


    "Enrico Schiratti" wrote in message
    news:281691.55970@wb.onvix.com...
    > Is this in reply to my message or did you post it before my reply?
    > (timestamp isn't quite clear here)
    >
    > "David Rabiner" wrote in message
    > news:281649.55970@wb.onvix.com...
    >> I'm thinking the workaround here is to have my switch flip the pmGC
    >> seatbelt
    >>
    >> offset, and then add a line of code that sets the seatbelt switch in
    >> pmSystems to the pmGC offset.
    >>
    >> Ideas?
    >>

    >



  6. #6
    David Rabiner
    Guest

    Re: Seatbelts

    Enrico,

    Tell me how the x04F4 works. I see it's values, not bits. So we load a
    value into the offset, PM acts on the value, and then it zeroes it out
    again?

    So you must have something in GC that says something like:

    if x04F40 then
    case....
    ...
    x04F4 = 425 : seatbelts on, (set 04FE .7)
    ...
    end case
    x04F4 = 0

    Thanks! I've got more, but I'll use different threads.

    Warm regards,
    David


  7. #7
    Enrico Schiratti
    Guest

    Re: Seatbelts

    Hi David,

    > Tell me how the x04F4 works. I see it's values, not bits. So we load a
    > value into the offset, PM acts on the value, and then it zeroes it out
    > again?


    Your answer is here... www.projectmagenta.com/pmoffsets.html

    Ciao

    Enrico


    "David Rabiner" wrote in message
    news:281847.55970@wb.onvix.com...
    > Enrico,
    >
    > Tell me how the x04F4 works. I see it's values, not bits. So we load a
    > value into the offset, PM acts on the value, and then it zeroes it out
    > again?
    >
    > So you must have something in GC that says something like:
    >
    > if x04F40 then
    > case....
    > ...
    > x04F4 = 425 : seatbelts on, (set 04FE .7)
    > ...
    > end case
    > x04F4 = 0
    >
    > Thanks! I've got more, but I'll use different threads.
    >
    > Warm regards,
    > David
    >



Similar Threads

  1. Re: seatbelts and smoking for 747
    By Peter Parnreiter in forum PM General Q & A
    Replies: 0
    Last Post: 02-10-2006, 11:05 AM
  2. Re: seatbelts and smoking for 747
    By Enrico Schiratti in forum PM General Q & A
    Replies: 0
    Last Post: 02-08-2006, 06:08 AM
  3. seatbelts and smoking for 747
    By Peter Parnreiter in forum PM General Q & A
    Replies: 3
    Last Post: 02-05-2006, 07:32 AM