PDA

View Full Version : Using GF hardware to control FSUIPC function



Tomlin
11-11-2008, 01:00 PM
Guys, I know it's possible to have a GoFlight switch control an FSUIPC function but I cant remember the program name or a keyword to search for here in the forum.

My issue is 2 fold:

1) I need to have a GF switch to enable a function that's not listed in the GF config software and need to know how to have it connect and be read by FSUIPC,

2) I need to know what the offset is called for switching Nav sources between FMS (which is the FS9 GPS) and NAV.

thanks

Jackpilot
11-11-2008, 01:09 PM
Hi Eric
Was just working on that this morning... Could be like that:call the FSUIPC menu and the switch button tab.
When you press the GF button it shows Joystick XXX button XX from there you can choose an action in the FSUIPC scrolling list....
So far it did not work but I just tried once this morning....Keep me posted
I would like to emulate ADF2 which does not seem possible in the GF config.

Holclo
11-11-2008, 01:56 PM
Hi Eric
Is it GFDisplay.zip? To be found in FSUIPC website
Bill

Peter Dowson
11-11-2008, 02:18 PM
Was just working on that this morning... Could be like that:call the FSUIPC menu and the switch button tab.
When you press the GF button it shows Joystick XXX button XX from there you can choose an action in the FSUIPC scrolling list....
So far it did not work ..

It works fine, just like any other joystick connections, but FSUIPC needs access to the GoFlight third party driver (GFDev.DLL), which is normally installed with the GF software, but may not be. There are versions of it on my Support Forum.

Pete

N242AM
11-11-2008, 02:20 PM
Don't you also have to put the GFxxx.dll in the Modules folder where FSUIPC is located?

Peter Dowson
11-11-2008, 02:20 PM
Is it GFDisplay.zip? To be found in FSUIPC website

No, GFDisplay is a way of programming the LEDs and displays on the assorted GF units, but it has nothing to do with buttons, switches and dials. They are handled by FSUIPC and WideClient directly using the GF third-party driver, GFDev.DLL.

Pete

Peter Dowson
11-11-2008, 02:23 PM
Don't you also have to put the GFxxx.dll in the Modules folder where FSUIPC is located?

GFDev.dll.

Yes, that would work, though if the GF software is correctly installed, FSUIPC is normally able to find the installed GFDev.DLL via the registry pointers. Maybe GF changed the installation methods recently, I don't know. I don't use any GF devices these days.

For WideFs use, GFDev.dll can go into the WideClient folder.

There are versions of GFDev.dll on my Support Forum.

Pete

Tomlin
11-11-2008, 02:24 PM
(Peter posted before I could put my own solution- thanks Peter)

Thanks guys. I just found a simple solution for my particular issue.

My answer to question 1 is still unanswered by myself, although I believe that Holclo might have answered it partially.

My answer to question 2 is the name of the function that switches between the GPS and NAV as nav sources in FS is called 'Nav/GPS On' if I remember correctly from an hour or so ago.

My particular need was to have a GF switch to switch between the NAV/FMS (actually the GPS in FS9) on the EFIS panel of the Friendly Panels LJ45 package. The GF config software allows you to choose a Key Combination function to control an aspect of the sim if your action is not in the GF config list of options. I went in to FS under the Control tab. I noticed 'NAV/GPS On' function and took a stab. Turns out it was the function I needed to control and I just created a key combination and then went into the GF config software and put it in there. Voila, it works great now.

Tomlin
11-11-2008, 02:27 PM
GFDev.dll.

Yes, that would work, though if the GF software is correctly installed, FSUIPC is normally able to find the installed GFDev.DLL via the registry pointers. Maybe GF changed the installation methods recently, I don't know.

Pete

I wonder if this could be an issue, since I too have tried what Jackpilot said- I have opened up FSUIPC within FS9 before, pressed a GF button, and didnt notice it picking up on the motion under the proper tab within FSUIPC. I thought I was doing something wrong since FSUIPC picks up on other hardware attached. I will go and look for the install location as mentioned above.

N242AM
11-11-2008, 02:42 PM
To question 1, couldn't you use the FSUIPC Mouse Macro function?

I'm guessing the panel has a mouse hot spot for that button. Assign the hot spot a keyboard command with Mouse Macro, then assign the keyboard command to a GF button press.

Tomlin
11-11-2008, 02:46 PM
You're right, and I plan to do that with some other functions but in this case my current solution is much simpler/easier since the command exists in FS. I just didnt know what it was called before, or how to get it accomplished via the GF hardware until I realized there was a keyboard combination capability within it.

Still the issue remains for those items that dont have a command where the Macro is needed (and much appreciated too). When I press a GF switch (or FDS, FDT, phidgets, etc.) I want to see that motion being detected within FSUIPC. For some reason I usually dont except for my CH products.

Jackpilot
11-11-2008, 02:55 PM
I am not (really) hijacking that post but as I use GF166 avionics under 737NG skin does anyone know how I could have ADF2 working as it is not an option under GF config, maybe using Pete's soft ?

Tomlin
11-11-2008, 03:12 PM
I am not (really) hijacking that post but as I use GF166 avionics under 737NG skin does anyone know how I could have ADF2 working as it is not an option under GF config, maybe using Pete's soft ?

For some reason I was thinking that ADF2 is only modeled in 3rd party addons, but Im possibly wrong. I dont recall ever seeing it in FS default aircraft, so that might be why it's not an option.

Peter Dowson
11-11-2008, 06:14 PM
For some reason I was thinking that ADF2 is only modeled in 3rd party addons, but Im possibly wrong. I dont recall ever seeing it in FS default aircraft, so that might be why it's not an option.

You can specify one in the Aircraft.CFG file I think. Even if the FS panel doesn't support it you can then use it via FS controls or FSUIPC offsets.

Pete