PDA

View Full Version : pmSystems and PhidgetsLED64



Tony
01-25-2007, 07:28 AM
Hi,
Can you help me with the setting of the LEDS pse,
e.g. the "valve open" annunciator leds of the crossfeed valve:

in software the annunciator is lit when the valve is travelling/moving and changes brightness when on;
in hardware OVH the annunciator is only going on and of.

how to set : led lit during "travelling"
how to set : brightness

The setting MAX2 does NOT work for me.
(I have 2 LEDs in paralel per annunciator)

Kind regards
Tony

Olympic260
01-25-2007, 09:43 AM
Tony,

What exactly mean 2 LED in parallel? At the phidget LED card you should connect in each output 2 LED for example LE00 ApuMain LE01 ApuMaint

So the APU maint will have now two leds.

On my setup using the max2 the led changes brigtness normaly. Have you checked that the MAX4 option is not checked at the PM menu?

Tony
01-25-2007, 10:25 AM
Hi Christos,

I have 2 leds per annunciator, so to every PhidgetLED64 position there are 2 LEDs.

I have no MAX4 in PM menu.
You must be using an old version I think.

Tony

Bob Reed
01-25-2007, 11:21 AM
Hold on a couple minutes I am not at that computer right now but I will be in a short. This is easy and it does work. I hooked them in parallel too. As soon as I get the other computer up I will post it here.

Tony
01-25-2007, 01:24 PM
Standby with all computers running

CocnutAir
01-25-2007, 01:27 PM
Here is what Tony wants to do:
The Fuel valve annunciators on the Boeing 737 overhead have 3 states:
Off, Dim and Bright
Depending on whether valve is open, in transit and closed.
pmSystems' on-screen representation for valve displays 3 states accurately.

The LED-64 entries in the phidgets.txt file have a MAX2 and MAX4 parameter, in the provided examples, to facilitate above scenario.

Appears to not be working:
Only sets LED On and Off without the intervening brightness settings.

Hope this helps.

CocnutAir
01-25-2007, 09:44 PM
Tried on my set-up with latest pmSystems build 98.
Tried SparValve1 and 2 EngValve1 and 2 with both MAX2 and MAX4 parameters. Only get an On and Off brightness output.

Tony
01-26-2007, 12:21 PM
What happened Bob.....

Matt Olieman
01-26-2007, 12:59 PM
I think Bob got lost into his computer :)

Bob Reed
01-26-2007, 01:19 PM
No, sorry about that guys... I realized after I posted you are using FSPhidgets. My overhead does not. So my code would be no good to you. You will have to wait to see what Alan comes up with! Looks like something is broke between FSPhidgets and PMSystems. They will get it sorted out!

Tony
01-26-2007, 01:28 PM
Hi Bob,

I donot use FS2Phidgets.

pmSystems is fully Phidgets supported.

How did you programm the Phidgets.txt file ?

Bob Reed
01-26-2007, 01:36 PM
Oh!!! Ok hold on going to look now... Be back in a few on this!!

CocnutAir
01-26-2007, 01:42 PM
Tony posted on FS2Phidgets forum out of desperation.
Had posted on PM and some other sites.
I have promised him, that no matter what, I will walk beside him until he has satisfaction.

I have requested assistance from Thomas Richter.
100% certain he has solution.
For pmSystems I do not use FS2Phidgets. Kinda pointless.

Bob Reed
01-26-2007, 01:52 PM
Ok here is how mine is programed. I will use an example from my Phidgets.txt file in PMSystems:

10885 LE59 cowlvalve1 15 3

The 3 here is the brigtnes. Add this little number and bingo, should work.

Let me know.....

Tony
01-26-2007, 02:28 PM
Great Bob ! Works !

I wonder if one can adjust the "travelling" time and the brightness.
Are there any fixed values that you know of or is it a question of trial and error.

Bob Reed
01-26-2007, 03:33 PM
Yes to both questions. Change the 3 I think between 1-5 or 1-10 and that will change the brightness. Shoot a message to Thomas at support@projectmagenta.com and he can tell you how to adjust the travel time. That is in the pmsystems txt file I think...

Tony
01-26-2007, 03:37 PM
Thanks for your help.
Making some progress here

Kind regards
Tony

CocnutAir
01-26-2007, 04:39 PM
Also works well on my system.

There is more to Bob than just a handsome face.

I recall the 3 is an indexed brightness as per the the first few examples lines in phidget.txt

What does the 15 represent ?

Olympic260
01-27-2007, 06:39 AM
Form an old post of Thomas regarding PMsystems and Phidjets


// Device Serial# 4371---------------------------

// LEDs (LE) -------------------
// [DeviceSerial] LEXX [VariableName]
// [DeviceSerial] LEXX [VariableName] 70 // User Defined Intensity
// [DeviceSerial] LEXX [VariableName] MAX4 // Value 0 = 0, 1 = 25, 2 = 50, 3
= 75, 4 = Intensity 100
// [DeviceSerial] LEXX [VariableName] MAX2 // Value 0 = 0, 1 = 50, 2 =
Intensity 100
// e.g.: 5678 LE01 light1 50 0
// 5678 LE02 selector MAX4
// 5678 LE03 onofflight
..................................................for LED64

Tony
01-27-2007, 06:56 AM
This is the header of a Phidgets card, as shown in the Phidgets.txt file. Every card (different number) connected to the computer shows in the txt file that way.
As you can see there is quite a differance in values .

Bob has managed to get it working with "15 3" whereby 3 is the intensity and we are still in doubt as to what 15 means.

I am testing different values now.

Peter Nielsen
01-27-2007, 08:01 AM
Hi, I copy bellow the response i had from Jonathan Richardsson, re a question I had in respect of PM systems, when i was adding the Annunciator settings to the Phidget card in Development mode, once i got to the Right Side of the over head, it seems there is no values or entries for the following: at least on my screen they all show as a 0x0</PRE>
Cowl Anti Ice x 2</PRE>
same panel under the Anti Ice switches</PRE>
Overheat x 2</PRE>
then over to the right panel</PRE>
The three Zone Temp (not important)</PRE>
further down</PRE>
Pack x2</PRE>
Wing Body Overheat x2</PRE>
Bleed Trip Off x2</PRE>
and in the middle panel</PRE>
Call</PRE>
They all are a oxo with me, ios it that these are not implemented yet?</PRE>
Any ideas, especially as Jonathan syas he has no problems..</PRE>
Peter</PRE>
</PRE>
</PRE>
</PRE>
</PRE>
Hi I am not aware of any such problem - perhaps it is a build problem orpossibly you need to re-install. RegardsJonathan Richardson -----Original Message-----From: Peter Ingerslev Nielsen [mailto:p.nielsen@terra.es (p.nielsen@terra.es)] Sent: 26 January 2007 22:48To: Enrico Schiratti (Project Magenta)Subject: Overhead Question?Gents,I just finished wiring up all Overhead Annuncitors to the Phidget 64led card.. very easy interface.But, am I right in saying that the entire RIGHT side of the overhead is not interfacable? ie.. Packs, Bleed, wind body overheat, etc they all show on my screen as a 0x0 ??Peter</PRE>

Tony
01-27-2007, 08:23 AM
Hi,

It depends on the build and on what aircraft file you have loaded.

Peter Nielsen
01-27-2007, 09:14 AM
Hi,

It depends on the build and on what aircraft file you have loaded.

Latest beta 99B and PMDG 737-800

Tony
01-27-2007, 09:43 AM
This must be an intermediate build (99B ?) that I donot know.

I use 98 build with the pmsys737.txt file loaded in pmSystems.

With this setup
the Cowl anti Ice
the Overheat
etc
they all also show 0x0

thus they apparently are not implemented (yet).
No worries this does not influence the overall performance.

Peter Nielsen
01-27-2007, 11:24 AM
This must be an intermediate build (99B ?) that I donot know.

I use 98 build with the pmsys737.txt file loaded in pmSystems.

With this setup
the Cowl anti Ice
the Overheat
etc
they all also show 0x0

thus they apparently are not implemented (yet).
No worries this does not influence the overall performance.


Actually using the 737NG 100 file from Thomas Ritcher some of these seem to have been implemented, problem being he renamed others which cease to work LOL!! so this then some work.. Seems though that the Right side (section 5) is yet to be implemented..

if only i could now figure out why in the name of Earth, 2 of the leds seem to light when they should be off and viceversa then ill be happy.
;)

Olympic260
01-27-2007, 11:37 AM
This is the header of a Phidgets card, as shown in the Phidgets.txt file. Every card (different number) connected to the computer shows in the txt file that way.
As you can see there is quite a differance in values .

Bob has managed to get it working with "15 3" whereby 3 is the intensity and we are still in doubt as to what 15 means.

I am testing different values now.


Why this header is never appears on my phidgets.txt is beyond me. None of the cards I have pluges does not create this header...

Tony
01-27-2007, 11:42 AM
Hi Peter,
Thomas Richter informed me that his file is NO LONGER SUPPORTED.
One should use the default 737 file.

I used his file before but changed to the default recently.
Had to check every position again and rename/change the Phidgets.txt accordingly.
The cowl anti ice e.g. was implemented in the Tomas file but is not implemented in the default file.
Therefore you have to change the name, the position and the actual wiring.

Bob Reed
01-27-2007, 11:49 AM
Actually using the 737NG 100 file from Thomas Ritcher some of these seem to have been implemented, problem being he renamed others which cease to work LOL!! so this then some work.. Seems though that the Right side (section 5) is yet to be implemented..

if only i could now figure out why in the name of Earth, 2 of the leds seem to light when they should be off and viceversa then ill be happy.
;)


There are a couple of them you have to "reverse" I can't remember which they are. But try following the ones you are having trouble with, with "off" which force them off. Looks like I need to dig out my entire OH Phidgets code. The OH is not in my sim so I have not looked at it for a while. It was built for someone else! But i do plan on using the Phidgets LED boards on my OH as well. I too am using Thomas's OH file but not the latest one. The one I am using is from Spring. I will dig it out today and see if I can refamiliarize myself with it!

Olympic260
01-27-2007, 12:15 PM
Hi Peter,
Thomas Richter informed me that his file is NO LONGER SUPPORTED.
One should use the default 737 file.



Tony,

When this happend? Thomas file was more close to real than the default. Does anybody knows if teh default would be enhanced with thomas now that he is in the team?

Tony
01-27-2007, 12:25 PM
Abt 10 days ago Christos.
Thats the reason why I changed to the default file.

Tony
01-29-2007, 12:27 PM
Thank you very much Thomas.

This is a great help.
Ive tested the file today and all is working perfectly.

Your special attention in this is very much appreciated.

Kind regards
Tony