EuroHarmony Community Forums

Community Discussion => Flight Operations => Topic started by: EHM-2097 Andrei on December 08, 2013, 06:36:17 pm

Title: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 08, 2013, 06:36:17 pm
As several good people here (including me, of course) reportedly lost flights for not starting FL4 in due time, I took over again the "EHM Status Gauge" project.

As a reminder, I created that gauge long before the latest FL4 version was out, and at that time it had been tested by myself and other MT members - successfully. Later, I included it in the FL4 release, and from that point on it appears that no one was able to use it any more. Neither could I, actually, but that was on a new FS9 installation on a new windows Version (7 as opposed to XP when I did the first tests).

Now I am trying to remake it from scratch, and the first tests are encouraging (it loads OK on my PC). I cannot tell the difference, but there are many possible causes (for instance, I built the code on a different PC running a different Windows version).

Thus I would like to get some feed-back from pilots using various configurations.

For now it is a VERY PARTIAL version; basically it always shows INOP, but the color changes depending on the parking brake (set/not set) and the on/off push button on the gauge itself. If that works... success!

The opposite scenario is one where you get an error when FS attempts to load the gauge, OR it only shows as a black rectangle.

Anything in-between is less likely, but interesting to know so please report it in as many details as possible.

This partial version of the gauge is attached to this post. Usage (including PANEL.CFG changes) is the same as published within the latest FL4 release. Whatever the results, when reporting these please specify the Windows and FS version (which reminds me to remind you, no X-Plane version of the gauge... yet).

Thanks for your feed-back

Andrei

See below - ZIP attached to a newer post
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2758 Peter on December 09, 2013, 09:23:53 am
Hi Andrei,

I love to be of any help, but since the zip-file only contains the gauge and mentioned documentation cannot be found, I would like some further instructions how to handle!

Peter
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 09, 2013, 02:27:45 pm
Same here; not sure what you mean to reference at, when you say "as published with the last FL4 release". I was gonna wait until home, and see if I could find the answer in my existing install, but looking at Peter's reaction I won't be finding my answer there either ;)
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 09, 2013, 03:58:12 pm
I cannot check the release myself at this time, so I attach an older documet which is actually a PANEL.CFG file showing the required modifications in color.

Andrei

[EDIT] A few more instructions, for whoever is not familiarized at all with the FS aircraft configuration files.

1) Choose an aircraft to test the gauge with. The simpler the better, so I (kind of obviously) choosed a C172. Pay attention to the fact that there may be several variations of the same aircraft!

2) Locate that particular aircraft subfolder in <FS Root>/Aircraft (in this case it's the "C172" subfolder) and open the AIRCRAFT.CFG file within using NOTEPAD or equivalent for viewing (no need to change this file)

3) Within the AIRCRAFT.CFG file, locate the [flightsim.something] section that refers to the EXACT AIRCRAFT VARIATION you plan to use for testing. Within that section, check the corresponding panel folder (blank means the "Panel" subfolder, while any suffix like "ehm" means "Panel.ehm" subfolder)

4) Copy the gauge file EHMGAUGE.GAU into the proper panel subfolder, overwriting any older versions of the file

5) Within the same folder, change the PANEL.CFG file as shown in the attached example. Making a backup copy beforehand is recommended...

6) Ensure there is no other conflicting EHMGAUGE.GAU anywhere else within the FS installation, and particularly in the <FS Root/Gauges> folder.

7) Start FS and hope for the best :)

Notes:
- The above mentioned folders match a FS9 installation, and may be slightly different in FSX
- ANY change to a PANEL.CFG file is ignored until that particular aircraft is "loaded" into the simulation. If it is already loaded, you can select another aircraft (using a different panel!) and then select back the test aircraft whose PANEL.CFG file you just modified
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 09, 2013, 06:24:36 pm
That works pretty well too ;)
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 09, 2013, 06:59:14 pm
All I got it to do is display a line "FL started recording", when the status line was still magenta, and then "FL4: Parked", when the staus changed to "Parked / Ready".

I tested with the Aerosoft Twin Otter, under FSX Acelleration, running Windows 7 Home Premium, 64 bit (but FSX is still 32 bit app, of course)

I did not see a colour changing gauge, just a transparent window top left (or so I thought, the first time I pressed SHIFT-5, which is that window designation in the Twotter) with a status line at times when FL4's status would change. The "Recording started" status line is slightly confusing, because at that time, FL4 still has a not-recording state (Parked / Not ready in magenta)
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 09, 2013, 08:30:16 pm
Wrong turn E-J, this was just a test to see if anything like a gauge shows up, there is no actual connection to FL4 so you don't need to look for state changes. With those panel changes in a C172 I can see the gauge (small blue panel + luminous display + push button) and use the button.

Now the question is who else can, who can not, and why ?

Andrei
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 10, 2013, 06:32:45 am
I could not see it, probably because the Aerosoft Twotter only has a VC???
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 10, 2013, 08:40:46 am
VC is most likely an issue, because the sample PANEL.CFG file was changed for 2D panel only (I do not like VCs myself, so neither am I familiar to the panel configuration specifics).

For testing I use one of the default Cessnas.

Also note that I edited my earlier post with the sample PANEL.CFG attachment, adding more instructions on adding the gauge; hope this helps.

Andrei
 
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2758 Peter on December 10, 2013, 12:34:12 pm
Hi Andrei,

As you've instructed, I installed the EHMgauge in a default C172. From the screenshot below you can read that the window does show on in the menu and on the screen and is sizeable! I gather that's what you wanted to know and see.

config. info:
I5 CP 750 @ 2.67GHz 64it
Windows 7 Home Edition
FSX Acceleration

Hope this will help you to develop the gauge!

Peter
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2589 David on December 10, 2013, 05:29:16 pm
In my case, FS9 no possible to upload the EHMgauge after tried two times. FS9 said not able to load the gauge but you could continue to use FS9  :(

Sorry Andrei :-[
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 10, 2013, 09:15:00 pm
Oh so disappointing... What I actually see on my panel, and I hope someone else will eventually see as well, is this:


For the moment I am stuck, as I don't believe that by some dark magic this piece of software only works for me. Neither is there anything like "the master's voice" in this business. So I think there may be something wrong in my instructions!?

The dark rectangle you got, Peter, is basically the same result as David got, namely FS NOT loading this gauge (it's just the window, without its content).

I hope that with more people in the lopp someone will eventually produce the breakthrough I need to sort this out.

Andrei
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 10, 2013, 10:18:59 pm
I got the same in my Twin Otter VC (did not test any other yet): a blip top left, which could well be a black or translucent window, but no gauge.
Will try with the C172 shortly, but prob not before thursday...
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-1465 Dominic on December 10, 2013, 10:47:02 pm
Sadly, I'm just getting the same message as David in FS2004, it won't load the gauge at all  ???

EDIT - I went back to the original thread (http://www.fly-euroharmony.com/forum/index.php/topic,7000.0.html) on this from the MT Forum and used the gauge you attached on March 10th 2012 Andrei - that version works fine in FS2004, loads ok and appears as expected on the panel. I hope that may help you to trace the current issue?
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 15, 2013, 08:53:56 am
We seem a little bit stuck on this topic, so let's try another approach.

Anyone who tried on FS9+C172, please zip and send me the WHOLE Aircraft\C172 folder, so that I can try the same setup on my PC and FS. Hopefully it will NOT work, allowing me to find out why.

@Dom: that first version gauge working only makes the mystery deeper. I started afresh in the first place because THAT gauge didn't seem to be working anymore  ???

Thanks

Andrei
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-1465 Dominic on December 16, 2013, 05:39:31 am
I've tried the newer version again and I get the same message when the flight is loading - that the gauge cannot be loaded and will be disabled. I cleared out the older version of the gauge from my FS9/Gauges folder to be sure of no conflict. I'm emailing you the entire C182 folder (with new gauge in the panel folder) as tested for you to check, the only change I've made is to alias the sound to the C172 in order to keep the archive size small.

Good luck :)
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 16, 2013, 10:47:14 am
Looks like e-mail doesn't work, servers are quite brutal when they "realize" there is a DLL attached. I think the best choice are temporary storage web sites which allow to upload any content and send the link to recipients.

Andrei
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-1465 Dominic on December 16, 2013, 08:03:09 pm
OK, I've created a Dropbox account for this - you should be able to access my C182 folder (zipped) at:- https://www.dropbox.com/s/1uci6g5xk3tizd9/c182.zip (https://www.dropbox.com/s/1uci6g5xk3tizd9/c182.zip)

Let me know if it works ok?
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 17, 2013, 06:44:04 pm
<censored>%#*&*$%</censored>

Just as I supposed, the devil is in the details... in my detailed instructions to be more precise. One little underscore makes the difference between my original gauge and the new one, and the same underscore makes the new gauge incompatible with the original instructions.

So, just to make sure there is no misunderstanding, you have to make a small correction to the PANEL.CFG file:

THIS IS WRONG: gauge00=ehmgauge!ehm_status,0,0

THIS IS RIGHT: gauge00=ehmgauge!ehmstatus,0,0

That explains of course why using the original gauge with the now deprecated instructions worked for you Dom.

Expecting some good news from you now guys  8)

Andrei
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-1465 Dominic on December 18, 2013, 03:04:15 am
I'm afraid not Andrei - I renamed the gauge entry in the panel.cfg and then tried to load it but got the same dialog box that the gauge would be disabled.

I then redownloaded the gauge and renamed it "ehmgauge1", reinstalled this after deleting the first version and amended the panel.cfg accordingly - all in case there was an entry in the FS9.cfg file identifying the old version as a BAD gauge forever - but when i tried to load the plane I still got the same dialog box that it would be disabled with the new gauge name (ehmgauge1) referred to...

Sorry  :(
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 18, 2013, 05:33:53 am
What's needed then:

- Feedback from more people

- Everyone trying the gauge, please say 32 or 64 bit Windows

- To avoid the same thing happening again, please write or post the EXACT error message you get, do not try to interpret / translate it as information invariably gets lost in this process.

Unfortunately when unable to load a gauge, it seems that MSFS doesn't provide any clue about WHY it is unable to do so. Also, there seem to be differences between installations, because even with the wrong PANEL.CFG file I only got a blank gauge but no error message. That's why I need it tested on as many setups as possible.

Thanks

Andrei
 
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 18, 2013, 07:56:30 am
Will try to combo with tonight's flight for the Aeropostale event :)
Haven't found the time yet to get around to testing, yet. Despite me putting it on my ToDo list twice already. Hope to speak to you on Mumble this evening.
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-1465 Dominic on December 18, 2013, 01:15:32 pm
Mine is Windows XP 32 bit OS, FS 9.1 and the error message as copied down by hand is:-

"ERROR - FS9

Flight Simulator was unable to load some aircraft or software. You can continue to use Flight Simulator but this aircraft or software will be disabled.

File - AIRCRAFT\c182\panel\ehmgauge1.GAU" (as per my last post with the gauge renamed)

I've also just checked the FS9.CFG file and there is no entry in there about the C182 or the gauge being disabled in the [FrameCallNoWarn] section or elsewhere.
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 23, 2013, 04:43:53 pm
Thanks Dom,

My best guess is that the remaining problem is a 32/64 bit issue in my code. Actually that makes even more important to see whether anyone on 64 bit windows manages to make it work (after correcting the PANEL.CFG file as of my preceeding post).

Andrei
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-1328 Willem on December 26, 2013, 01:32:47 pm
Good day,

System:

I5-2,6-upgraded to 3g/16GB
2x 128GB SSD
AT HM5670 Video
OS Win 8.1 /64
FSX

After installating in C172 and BAE146-300 it get both registerd in fsx.cfg but nothing else happens.
also not a dialog/window

Remark:
After step from win7 to win8 fsx was a disaster, with the latets update to win 8.1 and 3 days ago
a video driver update FSX  (not ehmgauge) works oke in dx11 mode and in dx9 mode (before driver update only in dx11 mode).


Regards
Willem EHM1328
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 27, 2013, 07:03:30 am
Thanks Willem,

Just one question to be sure: did you correct the PANEL.CFG entry as shown in my post above (the one with red+green colors)? I think that the "nothing happens" behaviour was related to THAT problem.

Andrei
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 27, 2013, 07:47:01 am
Just re-downloaded and installed on my laptop. After I finish EFRO-KIAH (may take a while), I'll give it a shot in FS9 / W7-64.
Sorry for keeping you waiting for so long; now sitting indoors at the camping with storm and rain outside. Good opportunity to catch up with this kind of "I should have done long ago" stuff  ;D
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 27, 2013, 10:01:00 am
Negative result for FS9 W7-64
Attached a zip file of the current c172 folder, excluding the sound folder (11 MB), and two of the Texture folders (Texture.1 and Texture.2), to make the attachment smaller than 4.5 MB

Error message was the same as Dom's: "could not load ...".
I included a screenshot of the error message inside the zip file.
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on December 28, 2013, 08:38:47 am
Thanks for the feed-back EJ, but that means this (sub)project gets on standby. I cannot understand why it would work on my PC ONLY  :-\

MS doesn't make things easier: I inquired on FsDeveloper forum and there is no way (log, debug mode etc.) to get any precise information from FS itself (why it cannot load the gauge). The only way is to use a C++ debugger, which I could do if I had the problem, but this doesn't help as long as the problem is elsewhere (everywhere else, actually).

Maybe I should switch and develop the gauge for X-Plane!?

Andrei
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on December 28, 2013, 02:05:28 pm
If it works on your PC, and not on anybody else's, then it has probably to do with the fact that you are a programmer, and "the rest of the world" is not. Something with libraries that are not on my PC, but are installed on yours?
On the other hand, if it is all about C++, then I suspect I have more libraries installed over the years  on my laptop than would be considered healthy  ;D (see attachment)
/ Maybe the different versions could be interfering with each other?
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on January 02, 2014, 08:46:55 pm
I POSSIBLY nailed it (but it's hard to be 100% sure as I did not see the problems myself). Finally I don't think it was a 32/64 bit issue but a tiny compiler option that made all the difference.

The new version to test is attached here (and I will delete the previous version just in case)

Andrei

P.S. Just saw your post E-J and if I am right... you were too  ;)
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2387 Eric-Jan on January 03, 2014, 09:08:09 am
Yep, now it worked!
I see the gauge (it is not default on; have to press <SHIFT>-6) with a red INOP field in it. If I press the button, it changed to blue INOP. Works in outside view just the same.

C172 parked at the active at GOOY, for "that other test" ;)
See attachments.
FS9; W7-64
Title: Re: FL4 Gauge - Testing needed
Post by: EHM-2097 Andrei on January 03, 2014, 12:58:17 pm
Great news E-J,

Now I can proceed to writing the actual gauge function :)

Andrei