Results 1 to 7 of 7
Thread: Seatbelts
-
01-06-2005, 02:26 AM #1David RabinerGuest
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
-
01-06-2005, 01:34 PM #2David RabinerGuest
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?
-
01-06-2005, 01:36 PM #3Enrico SchirattiGuest
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
-
01-06-2005, 03:03 PM #4Enrico SchirattiGuest
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?
>
-
01-06-2005, 07:55 PM #5David RabinerGuest
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?
>>
>
-
01-06-2005, 08:08 PM #6David RabinerGuest
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
-
01-07-2005, 08:38 AM #7Enrico SchirattiGuest
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
-
Re: seatbelts and smoking for 747
By Peter Parnreiter in forum PM General Q & AReplies: 0Last Post: 02-10-2006, 11:05 AM -
Re: seatbelts and smoking for 747
By Enrico Schiratti in forum PM General Q & AReplies: 0Last Post: 02-08-2006, 06:08 AM -
seatbelts and smoking for 747
By Peter Parnreiter in forum PM General Q & AReplies: 3Last Post: 02-05-2006, 07:32 AM
Pretty Girls from your city for night
Generic Analog Gauges