PDA

View Full Version : Phi value only ever showing two values? (Pic inside)



Concorde Rules
12-21-2008, 08:28 PM
Got an issue with a setup:

http://www.thunder-keep.co.uk/site/setup_issue.jpg

The issue is, using IAS as an example:

0-99 it displays correctly, as in goes 1-2-3...89-90-91 etc as it should.

However once passing 100 it only shows "12" of "123".

An altitude of "12345" only displays "12" for the Phi value.

Emulators display correctly.

Any ideas?

smithrb23
12-21-2008, 10:40 PM
This is the exact same problem I have been having, see the message thread "LCD & FS2Phidgets".

As far as I can tell the LCD display is being limited to a only 2 characters although the FS variable appears to be read correctly. I suspect it is a glitch in code.

Alan indicated he would look into this problem over the weekend.

CocnutAir
12-23-2008, 01:28 PM
How important is it that the Phi Value column displays correctly?
I cannot remember when I last looked at that column.

Concorde Rules
12-23-2008, 01:34 PM
Its the value thats being displayed on the cards itself too.

Only ever the first two digits, I assumed that the Phi value is the one it displays?

Can get a photo if you want, but its pretty self explanatory :) :p

Works fine on another system, which suggests its a software issue. I had to reinstall once to solve it not picking the cards up at all.

I can zip up all my files so you can have a dig?

Cheers

CocnutAir
12-24-2008, 03:14 PM
In Texas it is considered polite to introduce oneself.
Hi, My name is Alan.

CocnutAir
12-24-2008, 03:26 PM
Concord,

You seem to be describing 2 issues:

(a) Raw values are being truncated when displayed in the Phi Column.
(b) Values are not cycling correctly thru max and min values when incrementing or decrementing.

Is this correct?

Merry Christmas,
Alan

Concorde Rules
12-24-2008, 04:26 PM
Hi, well im Concorde Rules and Im involved with the Concorde Simulator at Brooklands museum ;)

Problem (b) is not the one I am experiencing, (a) however is.

EG for Altitude:

FS Value shows 0, Phi Value shows 0 and the Phidget display shows 0.
FS Value shows 99, Phi Value shows 99 and the Phidget display shows 99.
FS Value shows 327, Phi Value shows 32 and the Phidget display shows 32.
FS value shows 7419, Phi Value shows 74 and the Phidget display shows 74.
FS value shows 54781, Phi Value shows 54 and the Phidget display shows 54.

I hope that clear up the issue I am having? I shall do a clean install again to see if I can recreate the problem and shall report back.

Merry Christmas :)

Cheers,
Concorde Rules.

smithrb23
12-24-2008, 05:26 PM
Question:

Are you able to input offset values in the configuration dialog?
You describe the same problem I am having.

CocnutAir
12-24-2008, 05:55 PM
...and if you change Altitude from type "Raw" to "Range of Values" ?...

Concorde Rules
12-24-2008, 06:23 PM
Question:

Are you able to input offset values in the configuration dialog?
You describe the same problem I am having.

Nope, another thing i have issues with :(
Eg If I use the emulator, I can get Engine 1, 2 and 3s N1 values displayed from 0 to 110% as they should.

But with the real thing my offset is set at 2 and I cannot change it!!! :(


...and if you change Altitude from type "Raw" to "Range of Values" ?...

Does nothing :cry:

Edit: Ok, that (now deleted) problem fixed itself nicely :D

Edit 2: Just making a small results table for you..


FS IAS - FS ALT - Displayed IAS - Displayed ALT
0 - 0 - 0 - 0
67 - 92 - 67 - 92
0 - 100 - 0 - 10
300 - 3995 - 30 - 39
170 - 498 - 17 - 49
168 - 499 - 16 - 49
325 - 6699 - 32 - 66
325 - 6700 - 32 - 67


Weird thing is it works perfectly on another system :S

smithrb23
12-24-2008, 06:35 PM
It is the exact same problem that I am having.

What version of the Phidget21 lib do you have loaded? (I have Build 2.1.5)
And what is your Phidget TextLCD version Number? (mine is a Version 123)

Alan indicates he is still using Phidget21v Lib 2.1.4 to test the FS2Phidgets

I have found out that my TextLCD unit will not even load up in FS2Phidget with the Phidget21 lib 2.1.4 installed.

What is your PC system configuration?


Rick

Concorde Rules
12-24-2008, 06:51 PM
It is the exact same problem that I am having.

What version of the Phidget21 lib do you have loaded? (I have Build 2.1.5)
And what is your Phidget TextLCD version Number? (mine is a Version 123)

Alan indicates he is still using Phidget21v Lib 2.1.4 to test the FS2Phidgets

I have found out that my TextLCD unit will not even load up in FS2Phidget with the Phidget21 lib 2.1.4 installed.

What is your PC system configuration?


Rick

All latest so 2.1.5 and yes version 123.

2.1.4 doesn't load the cards either, sees they are there just won't allow me to config it.

Such a good thing when it works :(

CocnutAir
12-25-2008, 05:16 PM
Had a few minutes before my daughter and her husband arrive for Christmas dinner. :)

I downloaded 2.1.5 and work ok on my set up.
Rick has an updated FS2Phidget executable to try that I built against 2.1.5.

Merry Christmas,
Alan

CocnutAir
12-26-2008, 01:32 PM
Differences between systems where working and not working?

Hardware - say, 32-bit versus 64-bit?
Operating systems- XP, Vista, SP2 versus SP3 for XP?
FSUIPC versions?
Phidget versions?
FS2Phidget source - Mycockpit.org download versus zip from a buddy?

Concorde mentions incrementing values - how is value being incremented?
Encoder? MS-FS?

Regards,
Alan

Concorde Rules
12-26-2008, 02:45 PM
NEW - NOT WORKING
Hardware - Intel E5200, Abit IP43, 2Gb PC6400C4, 80Gb SATA, HD3650) (all drivers latest)
Operating systems- XP 32 bit SP3 (fully patched)
FSUIPC versions - latest (3.85)
Phidget versions - latest (2.1.5 I believe!) - (2.1.4 does not allow FS2Phidget to pick the cards up.)
FS2Phidget source - Mycockpit.org download

OLD - WORKING
Hardware - Some AMD64 thing,
Operating systems- XP 32 bit SP2/SP3 and probably fully patched
FSUIPC versions - latest (3.85)
Phidget versions - 2.1.4
FS2Phidget source - Mycockpit.org download


Concorde mentions incrementing values - how is value being incremented?
Encoder? MS-FS?

Increasing
FS Value and 'FS Value' column shows 0 displays as 0 on the card.
FS Value and 'FS Value' column shows 9 displays as 9 on the card.
FS Value and 'FS Value' column shows 10 displays as 10 on the card.
FS Value and 'FS Value' column shows 99 displays as 99 on the card.
FS Value and 'FS Value' column shows 100 displays as 10 on the card.
FS Value and 'FS Value' column shows 199 displays as 19 on the card.
FS Value and 'FS Value' column shows 200 displays as 20 on the card.
...
FS Value and 'FS Value' column shows 999 displays as 99 on the card.
FS Value and 'FS Value' column shows 1000 displays as 10 on the card.
FS Value and 'FS Value' column shows 1001 displays as 10 on the card.
FS Value and 'FS Value' column shows 1099 displays as 10 on the card.
FS Value and 'FS Value' column shows 1100 displays as 11 on the card.
FS Value and 'FS Value' column shows 1101 displays as 11 on the card.
...
FS Value and 'FS Value' column shows 99999 displays as 99 on the card.
FS Value and 'FS Value' column shows 100000 displays as 10 on the card.
FS Value and 'FS Value' column shows 100001 displays as 10 on the card.

Decreasing
FS Value and 'FS Value' column shows 100000 displays as 10 on the card.
FS Value and 'FS Value' column shows 99999 displays as 99 on the card.
...
FS Value and 'FS Value' column shows 1101 displays as 11 on the card.
FS Value and 'FS Value' column shows 1100 displays as 11 on the card.
FS Value and 'FS Value' column shows 1099 displays as 10 on the card.
FS Value and 'FS Value' column shows 1001 displays as 10 on the card.
FS Value and 'FS Value' column shows 1000 displays as 10 on the card.
FS Value and 'FS Value' column shows 999 displays as 99 on the card.
FS Value and 'FS Value' column shows 998 displays as 99 on the card.
...
FS Value and 'FS Value' column shows 200 displays as 20 on the card.
FS Value and 'FS Value' column shows 199 displays as 19 on the card.
FS Value and 'FS Value' column shows 100 displays as 10 on the card.
FS Value and 'FS Value' column shows 99 displays as 99 on the card.
FS Value and 'FS Value' column shows 10 displays as 10 on the card.
FS Value and 'FS Value' column shows 9 displays as 9 on the card.
FS Value and 'FS Value' column shows 0 displays as 0 on the card.

FS2Phidget displays the correct FS Value in the 'FS Value' column.

As far as I can see FS2Phidget is getting the correct values from flight sim, but somewhere along the line it drops/looses all but the first two figures as above.

I've also copied across a known good config FSVariable from another machine and that is doing the same thing.

I will later try it on my macbook pro here to see if I can recreate it.

I hope that is clear now? Sorry if my previous attempts haven't been quite clear enough!!

Cheers!

CR

smithrb23
12-26-2008, 09:35 PM
Had a few minutes before my daughter and her husband arrive for Christmas dinner. :)

I downloaded 2.1.5 and work ok on my set up.
Rick has an updated FS2Phidget executable to try that I built against 2.1.5.

Merry Christmas,
Alan

Alan: Have you an updated executable for me to test?

Concorde Rules
12-27-2008, 03:04 PM
Ok, had a bash in Windows XP SP2 on my macbook pro and im afraid its the same story as above with only the first two figures ever showing.

Some more to add tho and that is that:

In the "Configure" line side of things, if I add some text after the # like:

#### Percent N1

It doesn't show anything past the first two ##.

It looks like the software is chopping the lines its receiving. Or maybe the phidget software is doing it, but as it works fine in there test program I dunno *shrug*.

If I could also have the 2.1.5 build that would be smashing, see if we get anywhere :)

Edit: smithrb23, are you having the same issue as I posted above in post #15?

CocnutAir
12-27-2008, 04:56 PM
Concoder,

I am confused.
You list under OLD - WORKING
version 2.1.4 of Phidgets

Then under NEW- NOT WORKING
You add a rider: "2.1.4 does not allow FS2Phidget to pick the cards up"
That doesn't sound like a working solution.
Which implies the OLD was also NOT WORKING.

Regards,
Alleycat

smithrb23
12-27-2008, 06:14 PM
Yes:

I am having the exact same problem you describe in message reply #15

Rick

Concorde Rules
12-27-2008, 06:27 PM
Concoder,

I am confused.
You list under OLD - WORKING
version 2.1.4 of Phidgets

Then under NEW- NOT WORKING
You add a rider: "2.1.4 does not allow FS2Phidget to pick the cards up"
That doesn't sound like a working solution.
Which implies the OLD was also NOT WORKING.

Regards,
Alleycat

Sorry, wasn't really paying attention when I posted that!!!

As far as I know the old machine was running latest phidget installer (2.1.5) and either 4.3.7 or 4.3.8 of FS2Phidget. However I don't have the machine here so I can't tell.

However I *think* it was 4.3.7, although now i've completely confused myself!

Edit: Ok, old machine is running 4.3.7 with the "Phidget 21 - 2.1.4 & Phidget 21.Net - 2.1.4.29" software. However the 2.1.5 and 4.3.7 combination on my machine led to FS2Phidget detecting the presence of the cards but now allowing me to config it.

Concorde Rules
12-30-2008, 06:27 PM
Ok fixed it...

By reinstalling windows and 2.1.4 phidget installer and 4.3.7 (IE one version back of both!)

http://www.thunder-keep.co.uk/site/phidgets/phidget001.jpg

:D

What did you change between those versions?

CocnutAir
12-31-2008, 01:36 AM
Cannot remember, I make a number of changes between versions. Sometimes because Phidgets Inc. have made changes to their software.

For instance, to date, have now made changes:
- for this thread, that Rick has now confirmed works with Phidgets 2.1.5 on version I sent him.
- on another thread, an enhancement for Nat, for his specific pmSystems encoder requirement.
- for myself.
- bug fix with the LED Configure button for another user.

All this while commuting around the country with my job, working long hours, getting stuck in airports, having Christmas dinner with my family, taking care of my wife. Even for anonymous users too uncivil to introduce themselves.

Happy New Year,
Alan.

Concorde Rules
12-31-2008, 08:31 AM
Cannot remember, I make a number of changes between versions. Sometimes because Phidgets Inc. have made changes to their software.

For instance, to date, have now made changes:
- for this thread, that Rick has now confirmed works with Phidgets 2.1.5 on version I sent him.
- on another thread, an enhancement for Nat, for his specific pmSystems encoder requirement.
- for myself.
- bug fix with the LED Configure button for another user.

All this while commuting around the country with my job, working long hours, getting stuck in airports, having Christmas dinner with my family, taking care of my wife. Even for anonymous users too uncivil to introduce themselves.

Happy New Year,
Alan.

Ah, Yes, minefield!!! Even the simple code i've been playing with is a nightmare so I can understand the issues!!! (even if partly!).

I just needed this computer to be up and running correctly by the 3rd so it can be taken back and configured with the rest of the system properly. I shall continue playing here with my laptop to see if I can recreate the problems and get closer to an answer for you and smithrb23 (although without the card myself I can't do alot sadly :() Got two days before it all needs to go back but a reinstall of windows *grr* is on the cards before hand :roll:.

Also well aware of the commitments from other things you need to do, was never expecting you to spend even like more than a minute in a day looking at it :p And sorry for not introducing myself, never had to before on a forums :o :) so its not in my system to do so :)

CocnutAir
12-31-2008, 12:45 PM
There is no requirement to introduce yourself on this web site or any other. It is just common courtesy.
There was a time when the English were a civil and courteous people. I sometimes see this lack of civility with the Scandanavians as well. Maybe its the cold or, I guess, that is what years of English soccer does to a person.
The rest of Europe, Asia and America are still polite. Aussies and Kiwis are always good fellas. Never met an Aussie I didn't like.

If a person extends you the courtesy of offering to assist with a problem you're having, on their time, it is it considered polite to at least extend the courtesy by introducing yourself.

Just the first name your mother gave you. Unless, you're working undercover (in which case "James" will work), are a fugitive from Scotland Yard or dodging alimony payments. Don't want to clean out your bank account, marry your sister or steal your title and land.

I guess I am old fashioned and grew up in a different generation. Where I come from we still open doors for ladies no matter how old.

Now everybody is aware of what my pet peeve is.

gordo
12-31-2008, 12:51 PM
Thanks for everyone help in this one.

I'm Gordon and leading the team at Brooklands Museum in Surrey in the UK on the original Concorde simulator restoration, where we are using FS2Phidget to interface to the Autopilot and warning systems, plus the LCDtext units to give us some data where we don't yet have instrumentation working, such as compass and Altimeters.

"Concorde Rules" (James) was able to take time out from his Christmas collage vacation to build up the PC for this add on to the system.

I been worked on my development PC using 4.37 and 2.14, so it looks like the trouble all came about when we built the new pC with the latest versions.

Anyway, looks like we've got an interim solution to get us up and running.

If anyone is interested, have a look at this clip on you tube of our progress so far.

http://uk.youtube.com/watch?v=ve4o33f9_R4

Happy New year to everyone on here and a big thanks to Alan for a really neat software programme.

Michael Carter
12-31-2008, 12:53 PM
The majority of the English I deal with via e-mail are still of 'The Polite Society' types. And I appreciate that. The Germans too. I still address someone in Germany as Sie instead of Du unless I'm told it isn't neccesary.

And I still hold open doors for any ladies. Unless they beat me to it. :D

CocnutAir
12-31-2008, 01:22 PM
Gordon,

Great project. I have a build that now works on Rick's system.
I can zip it up and send to either yourself or James.
Let me know.

Regards,
Alan.

gordo
12-31-2008, 01:48 PM
Great, you can send it to me or James, it will get on to the system either way!

gordon at concordesst dot com if you need my email.